Home
last modified time | relevance | path

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

/linux-5.19.10/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.h301 struct nsim_dev_psample *psample; member
/linux-5.19.10/net/psample/
DKconfig3 # psample packet sampling configuration
15 be called psample.
DMakefile6 obj-$(CONFIG_PSAMPLE) += psample.o
/linux-5.19.10/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-5.19.10/net/
DMakefile68 obj-$(CONFIG_PSAMPLE) += psample/
DKconfig388 source "net/psample/Kconfig"
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/
Dtc_sample.sh57 require_command psample
214 psample &> $CAPTURE_FILE &
/linux-5.19.10/net/sched/
DKconfig809 them using the psample module.
/linux-5.19.10/
DMAINTAINERS16224 F: include/net/psample.h
16225 F: include/uapi/linux/psample.h
16226 F: net/psample