[PATCH v2 00/11] Clean up NFP PMD
Chaoyong He
chaoyong.he at corigine.com
Sat Oct 28 08:53:04 CEST 2023
This patch series clean up the NFP PMD, by:
- Using the DPDK macro and API to replace the user defined ones.
- Remove the unneeded macro and logic.
- Remove the duplicated logic.
---
v2:
* Fix the compile error.
* Fix one check script warning.
---
Chaoyong He (11):
net/nfp: use the suitable helper macro
net/nfp: remove the unneeded call of underlying API
net/nfp: remove the unneeded check of process type
net/nfp: remove the unneeded data abstraction
net/nfp: remove the redundancy macro
net/nfp: remove redundancy logic of init control BAR
net/nfp: use the DPDK defined function
net/nfp: replace hard coded value
net/nfp: unify the PMD name with macro
net/nfp: extract a helper function
net/nfp: remove the redundancy logic of representor port
drivers/common/nfp/nfp_common_ctrl.h | 17 --
drivers/net/nfp/flower/nfp_flower.c | 111 +-------
drivers/net/nfp/flower/nfp_flower.h | 4 +-
drivers/net/nfp/flower/nfp_flower_cmsg.c | 3 +-
drivers/net/nfp/flower/nfp_flower_ctrl.c | 6 +-
.../net/nfp/flower/nfp_flower_representor.c | 253 +-----------------
drivers/net/nfp/nfd3/nfp_nfd3_dp.c | 2 +-
drivers/net/nfp/nfdk/nfp_nfdk_dp.c | 2 +-
drivers/net/nfp/nfp_ethdev.c | 88 +++---
drivers/net/nfp/nfp_ethdev_vf.c | 28 +-
drivers/net/nfp/nfp_ipsec.c | 18 +-
drivers/net/nfp/nfp_net_common.c | 204 +++++++-------
drivers/net/nfp/nfp_net_common.h | 13 +-
drivers/net/nfp/nfp_net_ctrl.c | 2 +-
drivers/net/nfp/nfp_rxtx.c | 11 +-
drivers/net/nfp/nfp_rxtx.h | 6 -
16 files changed, 203 insertions(+), 565 deletions(-)
--
2.39.1
More information about the dev
mailing list