On 7/22/2024 8:10 AM, Minggang(Gavin) Li wrote: >> -----Original Message----- >> From: Ferruh Yigit <ferruh.yi...@amd.com> >> Sent: Saturday, July 20, 2024 4:25 AM >> To: Minggang(Gavin) Li <gav...@nvidia.com>; Matan Azrad <ma...@nvidia.com>; >> Slava Ovsiienko <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; NBU- >> Contact-Thomas Monjalon (EXTERNAL) <tho...@monjalon.net>; Aman Singh >> <aman.deep.si...@intel.com> >> Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com> >> Subject: Re: [V1] app/testpmd: restore VXLAN-GPE support >> >> On 7/17/2024 8:11 AM, Gavin Li wrote: >>> VXLAN-GPE support was removed from testpmd recently. Drivers which are >>> not migrated are still using VXLAN-GPE in tests. >>> >>> This commit is to restore the support for VXLAN-GPE in testpmd. >>> >>> Fixes: da118115d95c ("app/testpmd: support matching any VXLAN field") >>> Signed-off-by: Gavin Li <gav...@nvidia.com> >>> >> >> Hi Gavin, >> >> The original patch was from you, right? What went wrong? > The remove of VXLAN-GPE from testpmd is too aggressive since there are > drivers which are not migrated are still using VXLAN-GPE. It's better to > keep it till the day to remove the RTE item of VXLAN-GPE from DPDK. >
Sorry, I was not clear enough maybe, I was asking more details on the problem? With a net/vxlan commit [1] in this release, (this commit is part of -rc1), VXLAN & VXLAN-GPE headers combined and VXLAN-GBP header added to this combined struct. VXLAN-GPE header is marked as deprecated. Testpmd is also updated to use new headers, that is the commit in the fixes tag of this patch. But drivers using old, now depreciated, VXLAN structs won't able to use testpmd to test, so I agree, may be I merged the patch too early. As this patch was part of -rc1, I wonder why we didn't get any complaint about not able to test VXLAN-GPE? Btw, if we revert this patch, is there a way to test VXLAN-GBP? Because it only exists as part of new combined VXLAN struct? Instead of reverting the commit all together, is there way to keep old capability in testpmd, but add feature to test VXLAN-GBP? And another issue is, there can still some users of the VXLAN-GPE header in the net library, perhaps that also deprecated immaturely. Can you please send a deprecation note for combining VXLAN headers and removing VXLAN-GPE in v24.11? Please CC all drivers implementing this flow pattern. This can be way to highlight the issue to driver maintainers and communicate the change with end users. [1] 77cb7b18ad9b ("net: extend VXLAN header to support more extensions")