ironcore-dev / dpservice

DPDK based fast Dataplane / L3 router / SDN enabler, installable on compute nodes / SmartNICs
Apache License 2.0
7 stars 1 forks source link

Rework pytest mellanox support #597

Open PlagueCZ opened 1 month ago

PlagueCZ commented 1 month ago

The current implementation of pytest --hw relies on a cross-wiring PF0 and PF1 together.

This not only removes the ability to test WCMP but also requires manual access to the NIC to switch cables.

It would be better to use a simple reflector on the "other side" to send packets from PFs back for pytest to be able to intercept them (as for Mellanox, packets emitted by PFs are not interceptable).