[PATCH v6 00/14] net/zxdh: add network processor ops
Stephen Hemminger
stephen at networkplumber.org
Thu Mar 27 19:12:05 CET 2025
On Fri, 21 Mar 2025 15:31:46 +0800
Bingbin Chen <chen.bingbin at zte.com.cn> wrote:
> v6:
> - Use byte stream to process bar channel return messages
> and modify some issues to ensure proper functionality.
>
> v5:
> - the VF read/write table function is fixed.
>
> v4:
> - change some tables to const.
> - use %u instead of %d.
> - delete cast of ret_zmalloc() return.
> - resolve code functionality issues.
>
> V3:
> - resolve code style.
> - resolve spin lock build issue.
> - rebase code baseline.
> - modify parameters of the plcr function.
>
> V2:
> - resolve code style and github-robot build issue.
> - eliminate commit warning.
> - remove unnecessary initialization, which first usage will set.
> - replace mutex lock with spinlock.
>
> V1:
> - updated network processor driver.
> - improve insert/delete/get table code funcs.
>
> Bingbin Chen (14):
> net/zxdh: add network processor registers ops
> net/zxdh: support compatibility check
> net/zxdh: add agent channel
> net/zxdh: modify dtb queue ops
> net/zxdh: add tables dump address ops
> net/zxdh: add eram tables ops
> net/zxdh: get flow tables resources
> net/zxdh: support hash resources configuration
> net/zxdh: implement tables initialization
> net/zxdh: support hash tables write and delete ops
> net/zxdh: get hash table entry result
> net/zxdh: delete all hash entries
> net/zxdh: add acl tables ops
> net/zxdh: optimize msg processing ops and modify some issues
>
> drivers/net/zxdh/zxdh_common.h | 100 +
> drivers/net/zxdh/zxdh_ethdev.c | 88 +-
> drivers/net/zxdh/zxdh_ethdev.h | 1 +
> drivers/net/zxdh/zxdh_ethdev_ops.c | 109 +-
> drivers/net/zxdh/zxdh_ethdev_ops.h | 35 +
> drivers/net/zxdh/zxdh_msg.c | 381 +-
> drivers/net/zxdh/zxdh_msg.h | 99 +-
> drivers/net/zxdh/zxdh_mtr.c | 50 +-
> drivers/net/zxdh/zxdh_mtr.h | 5 +
> drivers/net/zxdh/zxdh_np.c | 11631 +++++++++++++++++++++++----
> drivers/net/zxdh/zxdh_np.h | 1243 ++-
> drivers/net/zxdh/zxdh_pci.c | 24 +-
> drivers/net/zxdh/zxdh_pci.h | 2 +-
> drivers/net/zxdh/zxdh_rxtx.c | 12 +-
> drivers/net/zxdh/zxdh_tables.c | 67 +-
> drivers/net/zxdh/zxdh_tables.h | 68 +-
> 16 files changed, 11983 insertions(+), 1932 deletions(-)
>
Applied to next-net with a couple of small additions:
1. Added Bingbing Chen to mailmap
2. Removed unnecessary usage of VLA and enabled warning
More information about the dev
mailing list