mbox series

[0/8] make the logic conform the coding style of DPDK

Message ID 20230519025950.1642943-1-chaoyong.he@corigine.com (mailing list archive)
Headers
Series make the logic conform the coding style of DPDK |

Message

Chaoyong He May 19, 2023, 2:59 a.m. UTC
  Modify some logic of nfp PMD, to make it conform the coding style
of DPDK.

Also remove some unnecessary macro and functions which DPDK has
already provided.

Chaoyong He (8):
  net/nfp: reuse the ring buffer struct
  net/nfp: modify the rxq struct
  net/nfp: modify the Rx descriptor struct
  net/nfp: modify the txq struct
  net/nfp: remove the custom round macro
  net/nfp: remove the unneeded comment
  net/nfp: revise cast from void pointer
  net/nfp: revise the logic of MAC address

 drivers/net/nfp/flower/nfp_flower.c           |  42 ++--
 drivers/net/nfp/flower/nfp_flower_ctrl.c      |   8 +-
 .../net/nfp/flower/nfp_flower_representor.c   |  39 ++--
 drivers/net/nfp/nfd3/nfp_nfd3_dp.c            |   7 +-
 drivers/net/nfp/nfdk/nfp_nfdk_dp.c            |  16 +-
 drivers/net/nfp/nfp_common.c                  |  38 +---
 drivers/net/nfp/nfp_common.h                  |  18 +-
 drivers/net/nfp/nfp_cpp_bridge.c              |  14 --
 drivers/net/nfp/nfp_cpp_bridge.h              |  14 --
 drivers/net/nfp/nfp_ctrl.h                    |  11 --
 drivers/net/nfp/nfp_ethdev.c                  |  33 +---
 drivers/net/nfp/nfp_ethdev_vf.c               |  34 +---
 drivers/net/nfp/nfp_flow.c                    |  60 +++---
 drivers/net/nfp/nfp_rxtx.c                    |  44 ++---
 drivers/net/nfp/nfp_rxtx.h                    | 187 ++++++++----------
 drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c    |   2 +-
 drivers/net/nfp/nfpcore/nfp_nsp.h             |   4 +-
 drivers/net/nfp/nfpcore/nfp_nsp_eth.c         |   8 +-
 drivers/net/nfp/nfpcore/nfp_rtsym.c           |   4 +-
 drivers/net/nfp/nfpcore/nfp_rtsym.h           |  19 --
 20 files changed, 200 insertions(+), 402 deletions(-)
  

Comments

Ferruh Yigit May 19, 2023, 1:55 p.m. UTC | #1
On 5/19/2023 3:59 AM, Chaoyong He wrote:
> Modify some logic of nfp PMD, to make it conform the coding style
> of DPDK.
> 
> Also remove some unnecessary macro and functions which DPDK has
> already provided.
> 
> Chaoyong He (8):
>   net/nfp: reuse the ring buffer struct
>   net/nfp: modify the rxq struct
>   net/nfp: modify the Rx descriptor struct
>   net/nfp: modify the txq struct
>   net/nfp: remove the custom round macro
>   net/nfp: remove the unneeded comment
>   net/nfp: revise cast from void pointer
>   net/nfp: revise the logic of MAC address

Series applied to dpdk-next-net/main, thanks.