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: fix debugging errors
drivers/net/zxdh/zxdh_ethdev.c | 89 +-
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_ethdev_ops.c | 15 +-
drivers/net/zxdh/zxdh_msg.c | 20 +-
drivers/net/zxdh/zxdh_msg.h | 12 +-
drivers/net/zxdh/zxdh_mtr.c | 8 +-
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 | 11 +-
drivers/net/zxdh/zxdh_tables.c | 42 +-
drivers/net/zxdh/zxdh_tables.h | 68 +-
13 files changed, 11464 insertions(+), 1702 deletions(-)
--
2.27.0