[PATCH v4 3/3] net/iavf: add Tx LLDP command

2023-12-24 Thread Zhichao Zeng
This patch adds an IAVF testpmd command "set tx lldp on|off" which will register an mbuf dynfield IAVF_TX_LLDP_DYNFIELD to indicate the need to send LLDP packet. Currently, it only supports turning on. For avx512, need to close the Tx port first, then "set tx lldp on", and reopen the port to selec

[PATCH v4 3/3] net/iavf: add Tx LLDP command

2023-12-20 Thread Zhichao Zeng
This patch adds an IAVF testpmd command "set tx lldp on|off" which will register an mbuf dynfield IAVF_TX_LLDP_DYNFIELD to indicate the need to send LLDP packet. Currently, it only supports turning on. For avx512, need to close the Tx port first, then "set tx lldp on", and reopen the port to selec