[PATCH v1 0/3] dts: add test suite for dual VLANs
jspewock at iol.unh.edu
jspewock at iol.unh.edu
Mon Jul 15 21:58:49 CEST 2024
From: Jeremy Spewock <jspewock at iol.unh.edu>
This series ports over the implementation of the dual_vlan test suite in
old DTS and refactors it, dropping some duplicated functionality as well
as some features that are specific to certain NICs.
One thing to note about this series is that it is tested and fully
working on a Mellanox NIC running the mlx5_core driver, but in testing I
did notice some stranger behavior on a NIC running the bnxt_en driver.
The broadcom NIC worked for all test cases except for those involving
VLAN insertion. In the presence of 2 VLAN headers it seems that the
bnxt_en NIC drops the packet completely if you attempt to insert a 3rd.
I originally thought this might be an MTU issue, but with MTUs of 2000
on the DUT and 9000 on the traffic generator the packet was still
dropped. I believe VLAN insertion in the presence of no other VLAN
headers works on this same NIC was tested by Dean Marx.
Jeremy Spewock (3):
dts: fix Testpmd function for resetting VLAN insertion
dts: add dual_vlan testing suite
dts: add dual_vlan test suite to the yaml schema
dts/framework/config/conf_yaml_schema.json | 3 +-
dts/framework/remote_session/testpmd_shell.py | 2 +-
dts/tests/TestSuite_dual_vlan.py | 281 ++++++++++++++++++
3 files changed, 284 insertions(+), 2 deletions(-)
create mode 100644 dts/tests/TestSuite_dual_vlan.py
--
2.45.2
More information about the dev
mailing list