During the process of writing these changes and testing virtual functions on multiple environments, I came across some notable behaviors. On Mellanox devices, the current test suites in DTS run without issue, receiving and forwarding packets as expected. However, this is not the case on Broadcom and Intel devices, both of which do not receive or forward packets as expected while running on our current test suites. While looking into this, I found that Intel VFs do not receive packets unless they have a destination MAC address that either matches the VF address, or is broadcast. Additionally, the testpmd forwarding mode must be set to MAC rather than IO. As for Broadcom, packet reception and forwarding behaves as expected while running a testpmd session manually, but requires a broadcast address when sending a packet through DTS (though I'm not quite sure why yet.) In summary, virtual function runs only pass DTS suites on Mellanox devices.
- [PATCH v1] dts: add virtual functions to framework Dean Marx
- [PATCH v2 1/4] dts: add virtual functions to framework Dean Marx
- [PATCH v2 3/4] dts: modify existing suites to work w... Dean Marx
- [PATCH v3 1/4] dts: add virtual functions to fra... Dean Marx
- [PATCH v3 2/4] dts: remove unnecessary testp... Dean Marx
- Re: [PATCH v3 2/4] dts: remove unnecess... Patrick Robb
- [PATCH v3 3/4] dts: add physical function ca... Dean Marx
- Re: [PATCH v3 3/4] dts: add physical fu... Patrick Robb
- [PATCH v3 4/4] dts: add sr-iov section to do... Dean Marx
- Re: [PATCH v3 4/4] dts: add sr-iov sect... Patrick Robb
- Re: [PATCH v3 1/4] dts: add virtual function... Dean Marx
- Re: [PATCH v3 1/4] dts: add virtual function... Patrick Robb
- Re: [PATCH v3 1/4] dts: add virtual fun... Patrick Robb
- Re: [PATCH v3 1/4] dts: add virtual... Patrick Robb
- Re: [PATCH v3 1/4] dts: add vir... Patrick Robb
- [PATCH v2 4/4] dts: add physical function capability... Dean Marx
- [PATCH v2 2/4] dts: remove unnecessary testpmd verif... Dean Marx