Searched refs:psample (Results 1 – 14 of 14) sorted by relevance
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()106 md->latency = latency & (psample->latency_max - 1); in nsim_dev_psample_md_prepare()[all …]
18 netdevsim-objs += psample.o
337 struct nsim_dev_psample *psample; member
249 ovs_add_dp "test_psample" psample -V 2:1 || return 1258 ovs_add_flow "test_psample" psample \266 ovs_del_flows "test_psample" psample278 ovs_test_flow_fails "test_psample" psample $min_key $2286 ovs_del_flows "test_psample" psample288 ovs_add_flow "test_psample" psample \290 ovs_add_flow "test_psample" psample \294 ovs_add_flow "test_psample" psample \304 ovs_add_flow "test_psample" psample \309 ovs_spawn_daemon "test_psample" python3 $ovs_base/ovs-dpctl.py psample-events
397 class psample(nla): class in ovsactions857 psampleact = self.psample()
18 PSAMPLE_DIR=/sys/kernel/debug/netdevsim/$DEV/psample/28 require_command psample34 timeout 2 ip netns exec testns1 psample &> $CAPTURE_FILE
14 psample.sh \
3 # psample packet sampling configuration15 be called psample.
6 obj-$(CONFIG_PSAMPLE) += psample.o
67 obj-$(CONFIG_PSAMPLE) += psample/
437 source "net/psample/Kconfig"
57 require_command psample214 psample &> $CAPTURE_FILE &
735 them using the psample module.
18571 F: include/net/psample.h18572 F: include/uapi/linux/psample.h18573 F: net/psample