[00/11] Clean up NFP PMD

Message ID 20231028061558.1842855-1-chaoyong.he@corigine.com (mailing list archive)
Headers
Series Clean up NFP PMD |

Message

Chaoyong He Oct. 28, 2023, 6:15 a.m. UTC
  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.

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              | 203 ++++++++------
 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(+), 564 deletions(-)