Re: [PATCH v2 2/2] net/iavf: rename LLDP Tx devarg

Bruce Richardson <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
On Fri, Aug 14, 2026 at 12:37:53PM +0000, Ciara Loftus wrote:
> Now that the dynamic mbuf field method has been removed, packet type is
> the only mechanism used to detect LLDP packets on the transmit path.
> Using the word 'ptype' in the 'enable_ptype_lldp' devarg is therefore
> unnecessary and an implementation detail that no longer needs to be
> exposed to users.
> 
> Rename the devarg to 'enable_lldp'. The old 'enable_ptype_lldp' name is
> rejected with an error directing the user to the new name. This is
> considered safe because the old devarg name only featured in one
> release.
> 
> Signed-off-by: Ciara Loftus <[email protected]>
> ---
> * Hard fail instead of warning when old devarg is used
> ---
>  doc/guides/nics/intel_vf.rst           |  9 +++++++--
>  doc/guides/rel_notes/release_26_11.rst |  7 ++++++-
>  drivers/net/intel/iavf/iavf.h          |  2 +-
>  drivers/net/intel/iavf/iavf_ethdev.c   | 17 +++++++++++++----
>  drivers/net/intel/iavf/iavf_rxtx.c     |  2 +-
>  5 files changed, 28 insertions(+), 9 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.