Searched full:psample (Results 1 – 22 of 22) sorted by relevance
13 #include <net/psample.h>81 static void nsim_dev_psample_md_prepare(const struct nsim_dev_psample *psample, in nsim_dev_psample_md_prepare() argument85 md->trunc_size = psample->trunc_size ? psample->trunc_size : len; in nsim_dev_psample_md_prepare()86 md->in_ifindex = psample->in_ifindex; in nsim_dev_psample_md_prepare()87 md->out_ifindex = psample->out_ifindex; in nsim_dev_psample_md_prepare()89 if (psample->out_tc != NSIM_PSAMPLE_INVALID_TC) { in nsim_dev_psample_md_prepare()90 md->out_tc = psample->out_tc; in nsim_dev_psample_md_prepare()94 if (psample->out_tc_occ_max) { in nsim_dev_psample_md_prepare()98 md->out_tc_occ = out_tc_occ & (psample->out_tc_occ_max - 1); in nsim_dev_psample_md_prepare()102 if (psample->latency_max) { in nsim_dev_psample_md_prepare()[all …]
4 # This test is for checking the psample module. It makes use of netdevsim18 PSAMPLE_DIR=/sys/kernel/debug/netdevsim/$DEV/psample/28 require_command psample34 timeout 2 ip netns exec testns1 psample &> $CAPTURE_FILE63 log_test "psample enable / disable"90 log_test "psample group number"148 log_test "psample metadata"
17 psample.sh \
30 psample psample: Sampling packets with psample"246 # psample test247 # - use psample to observe packets252 ovs_add_dp "test_psample" psample -V 2:1 || return 1255 ovs_add_netns_and_veths "test_psample" "psample" \257 ovs_add_netns_and_veths "test_psample" "psample" \260 # Check if psample actions can be configured.261 ovs_add_flow "test_psample" psample \262 'in_port(1),eth(),eth_type(0x0806),arp()' 'psample(group=1)' &> /dev/null264 info "no support for psample - skipping"[all …]
394 ("OVS_ACTION_ATTR_PSAMPLE", "psample"),397 class psample(nla): class in ovsactions 414 return "psample(%s)" % args856 elif parse_starts_block(actstr, "psample(", False):857 psampleact = self.psample()858 actstr = psampleact.parse(actstr[len("psample(") : ])2518 genl_family = "psample"2523 print("listening for psample events", flush=True)2671 subparsers.add_parser("psample-events")2687 if args.subcommand == "psample[all...]
3 # psample packet sampling configuration6 menuconfig PSAMPLE config15 be called psample.
3 # Makefile for the psample netlink channel6 obj-$(CONFIG_PSAMPLE) += psample.o
3 * net/psample/psample.c - Netlink channel for packet sampling16 #include <net/psample.h>513 pr_err_ratelimited("Could not create psample log message\n"); in psample_sample_packet()
13 depends on PSAMPLE || !PSAMPLE
29 #include <net/psample.h>
57 depends on PSAMPLE || PSAMPLE=n
284 /* The psample module expects skb->data to point to the start of the in mlxsw_sp_rx_sample_listener()334 /* The psample module expects skb->data to point to the start of the in mlxsw_sp_rx_sample_tx_listener()370 /* The psample module expects skb->data to point to the start of the in mlxsw_sp_rx_sample_acl_listener()
7 #include <net/psample.h>
5 #include <uapi/linux/psample.h>
4 #include <net/psample.h>
68 #define PSAMPLE_GENL_NAME "psample"
935 * Sends the packet to the psample multicast group with the specified group and1002 * via psample.
618 depends on PSAMPLE || PSAMPLE=n
755 select PSAMPLE759 them using the psample module.
21 #include <net/psample.h>
5 #include <net/psample.h>
20929 PSAMPLE PACKET SAMPLING SUPPORT20932 F: include/net/psample.h20933 F: include/uapi/linux/psample.h20934 F: net/psample