Home
last modified time | relevance | path

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

/linux-6.12.1/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.h337 struct nsim_dev_psample *psample; member
/linux-6.12.1/tools/testing/selftests/net/openvswitch/
Dopenvswitch.sh249 ovs_add_dp "test_psample" psample -V 2:1 || return 1
258 ovs_add_flow "test_psample" psample \
266 ovs_del_flows "test_psample" psample
278 ovs_test_flow_fails "test_psample" psample $min_key $2
286 ovs_del_flows "test_psample" psample
288 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
Dovs-dpctl.py397 class psample(nla): class in ovsactions
857 psampleact = self.psample()
/linux-6.12.1/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
DMakefile14 psample.sh \
/linux-6.12.1/net/psample/
DKconfig3 # psample packet sampling configuration
15 be called psample.
DMakefile6 obj-$(CONFIG_PSAMPLE) += psample.o
/linux-6.12.1/net/
DMakefile67 obj-$(CONFIG_PSAMPLE) += psample/
DKconfig437 source "net/psample/Kconfig"
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
Dtc_sample.sh57 require_command psample
214 psample &> $CAPTURE_FILE &
/linux-6.12.1/net/sched/
DKconfig735 them using the psample module.
/linux-6.12.1/
DMAINTAINERS18571 F: include/net/psample.h
18572 F: include/uapi/linux/psample.h
18573 F: net/psample