On Tue, 25 Feb 2025 18:42:52 +0800 Junlong Wang <wang.junlo...@zte.com.cn> wrote:
> V3: > - fix warning enable asserts compile. > - fix warning enable address sanitizer for undefined checks. > - modify extra memset and cast. > - remove __rte_unused from function prototypes. > - fix indentation in mtr get and use assign. > - make callback table const and static. > > V2: > - modify CI some error results(checkpatches warnings、Wrong headline format) > - fix warnings when enable extra warnings. > - modify apply memcpy script for coccinelle and unnecessary init and > unneccessary cast of void when use malloc. > > V1: > - updated net zxdh driver. > optimize init and some ops. > provided csum/lro/tso 、extend stats、fw_version、module_info 、meter, etc. > > Junlong Wang (16): > net/zxdh: optimize np dtb channel initialization > net/zxdh: optimize queue res alloc/free process > net/zxdh: optimize link update process > net/zxdh: update Rx/Tx to latest > net/zxdh: provided PF/VF msg intr callback > net/zxdh: optimize MAC ops > net/zxdh: optimize promisc ops > net/zxdh: optimize VLAN filter/offload ops > net/zxdh: optimize RSS/RETA hash config/update/get > net/zxdh: optimize MTU set ops > net/zxdh: optimize basic stats ops > net/zxdh: provided CSUM/TSO/LRO config > net/zxdh: provided rxq/txq info get implementations > net/zxdh: provide extended stats ops implementations > net/zxdh: provide ptypes FW version EEPROM ops > net/zxdh: provide meter ops implementations > > doc/guides/nics/features/zxdh.ini | 11 + > doc/guides/nics/zxdh.rst | 5 + > drivers/net/zxdh/meson.build | 1 + > drivers/net/zxdh/zxdh_common.c | 49 +- > drivers/net/zxdh/zxdh_common.h | 3 + > drivers/net/zxdh/zxdh_ethdev.c | 725 ++++++++++++++--- > drivers/net/zxdh/zxdh_ethdev.h | 67 +- > drivers/net/zxdh/zxdh_ethdev_ops.c | 918 ++++++++++++++++++--- > drivers/net/zxdh/zxdh_ethdev_ops.h | 52 +- > drivers/net/zxdh/zxdh_msg.c | 982 +++++++++++++++++++++- > drivers/net/zxdh/zxdh_msg.h | 174 +++- > drivers/net/zxdh/zxdh_mtr.c | 1223 ++++++++++++++++++++++++++++ > drivers/net/zxdh/zxdh_mtr.h | 114 +++ > drivers/net/zxdh/zxdh_np.c | 791 ++++++++++++++++-- > drivers/net/zxdh/zxdh_np.h | 264 ++++++ > drivers/net/zxdh/zxdh_pci.c | 10 - > drivers/net/zxdh/zxdh_queue.c | 132 +-- > drivers/net/zxdh/zxdh_queue.h | 122 +-- > drivers/net/zxdh/zxdh_rxtx.c | 695 +++++++++------- > drivers/net/zxdh/zxdh_rxtx.h | 33 +- > drivers/net/zxdh/zxdh_tables.c | 378 +++++++-- > drivers/net/zxdh/zxdh_tables.h | 219 +++-- > 22 files changed, 6018 insertions(+), 950 deletions(-) > create mode 100644 drivers/net/zxdh/zxdh_mtr.c > create mode 100644 drivers/net/zxdh/zxdh_mtr.h > Applied to next-net and updated release note.