Searched full:psample (Results 1 – 25 of 31) sorted by relevance
12
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 …]
18 netdevsim-objs += psample.o
347 struct nsim_dev_psample *psample; member
29 psample psample: Sampling packets with psample"245 # psample test246 # - use psample to observe packets251 ovs_add_dp "test_psample" psample -V 2:1 || return 1254 ovs_add_netns_and_veths "test_psample" "psample" \256 ovs_add_netns_and_veths "test_psample" "psample" \259 # Check if psample actions can be configured.260 ovs_add_flow "test_psample" psample \261 'in_port(1),eth(),eth_type(0x0806),arp()' 'psample(group=1)' &> /dev/null263 info "no support for psample - skipping"[all …]
394 ("OVS_ACTION_ATTR_PSAMPLE", "psample"),397 class psample(nla): class in ovsactions414 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-events":
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 \
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
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()
731 name: psample733 nested-attributes: psample-attrs735 Sends a packet sample to psample for external observation.948 name: psample-attrs949 enum-name: ovs-psample-attr950 name-prefix: ovs-psample-attr-
116 depends on PSAMPLE=y || PSAMPLE=n || MLX5_CORE=m
7 #include <net/psample.h>
5 #include <uapi/linux/psample.h>
4 #include <net/psample.h>
68 #define PSAMPLE_GENL_NAME "psample"
67 obj-$(CONFIG_PSAMPLE) += psample/
440 source "net/psample/Kconfig"
616 depends on PSAMPLE || PSAMPLE=n
57 require_command psample214 psample &> $CAPTURE_FILE &
731 select PSAMPLE735 them using the psample module.
21 #include <net/psample.h>