selftests: fdb_flush: Add test cases for FDB flush with bridge device
authorAmit Cohen <amcohen@nvidia.com>
Mon, 9 Oct 2023 10:06:18 +0000 (13:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2023 09:00:32 +0000 (10:00 +0100)
commitf826f2a2ee1ed648c59b792f93bb4466bfe367a1
treea3d7abd589f0cdba77afd026fa25b453c6c99cd4
parent96eece6933304b09af6849a66f123a00c5a53313
selftests: fdb_flush: Add test cases for FDB flush with bridge device

Extend the test to check flushing with bridge device, test flush by device
and by VID.

Add test case for flushing with "self" and "master" and attributes that are
supported only in one driver, this is unrecommended configuration, check it
to verify that user gets an error.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fdb_flush.sh