Re: [PATCH bpf-next v2 2/4] selftests/bpf: Monitor traffic for tc_redirect/tc_redirect_dtime.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 7/24/24 08:26, Stanislav Fomichev wrote:
On 07/23, Kui-Feng Lee wrote:
Enable traffic monitoring for the test case tc_redirect/tc_redirect_dtime.

Alternatively, we might extend test_progs to have some new generic
arg to enable trafficmon for a given set of tests (and then pass this
flag in the CI):

./test_progs --traffic_monitor=t1,t2,t3...

Might be useful in case we need to debug some other test in the future.

We run a few test cases with network namespaces. So we need to
specify namespaces to monitor. And, these namespaces are not created
yet when a test starts. To adapt this approach, these test cases should
be changed to use a generic way that create network namespaces when
a test starts.

Or, we just monitor default network namespace. For test cases with
network namespaces, they need to call these functions.

WDYT?




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux