Home
last modified time | relevance | path

Searched refs:psample (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/net/netdevsim/
Dpsample.c81 static void nsim_dev_psample_md_prepare(const struct nsim_dev_psample *psample, in nsim_dev_psample_md_prepare() argument
85 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 …]
DMakefile18 netdevsim-objs += psample.o
Dnetdevsim.h324 struct nsim_dev_psample *psample; member
/linux-6.6.21/net/psample/
DKconfig3 # psample packet sampling configuration
15 be called psample.
DMakefile6 obj-$(CONFIG_PSAMPLE) += psample.o
/linux-6.6.21/tools/testing/selftests/drivers/net/netdevsim/
Dpsample.sh18 PSAMPLE_DIR=/sys/kernel/debug/netdevsim/$DEV/psample/
28 require_command psample
34 timeout 2 ip netns exec testns1 psample &> $CAPTURE_FILE
/linux-6.6.21/net/
DMakefile68 obj-$(CONFIG_PSAMPLE) += psample/
DKconfig423 source "net/psample/Kconfig"
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
Dtc_sample.sh57 require_command psample
214 psample &> $CAPTURE_FILE &
/linux-6.6.21/net/sched/
DKconfig735 them using the psample module.
/linux-6.6.21/
DMAINTAINERS17271 F: include/net/psample.h
17272 F: include/uapi/linux/psample.h
17273 F: net/psample