Searched refs:psample (Results 1 – 11 of 11) 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
324 struct nsim_dev_psample *psample; member
3 # psample packet sampling configuration15 be called psample.
6 obj-$(CONFIG_PSAMPLE) += psample.o
18 PSAMPLE_DIR=/sys/kernel/debug/netdevsim/$DEV/psample/28 require_command psample34 timeout 2 ip netns exec testns1 psample &> $CAPTURE_FILE
68 obj-$(CONFIG_PSAMPLE) += psample/
423 source "net/psample/Kconfig"
57 require_command psample214 psample &> $CAPTURE_FILE &
735 them using the psample module.
17271 F: include/net/psample.h17272 F: include/uapi/linux/psample.h17273 F: net/psample