[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210310120351.542292-1-vladimir.oltean@nxp.com>
Date: Wed, 10 Mar 2021 14:03:39 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org
Cc: Alex Marginean <alexandru.marginean@....com>,
Claudiu Manoil <claudiu.manoil@....com>
Subject: [PATCH net-next 00/12] Refactoring/cleanup for NXP ENETC
This series performs the following:
- makes the API for Control Buffer Descriptor Rings in enetc_cbdr.c a
bit more tightly knit.
- moves more logic into enetc_rxbd_next to make the callers simpler
- moves more logic into enetc_refill_rx_ring to make the callers simpler
- removes forward declarations
- simplifies the probe path to unify probing for used and unused PFs.
Nothing radical.
Vladimir Oltean (12):
net: enetc: move the CBDR API to enetc_cbdr.c
net: enetc: save the DMA device for enetc_free_cbdr
net: enetc: squash enetc_alloc_cbdr and enetc_setup_cbdr
net: enetc: save the mode register address inside struct enetc_cbdr
net: enetc: squash clear_cbdr and free_cbdr into teardown_cbdr
net: enetc: pass bd_count as an argument to enetc_setup_cbdr
net: enetc: don't initialize unused ports from a separate code path
net: enetc: simplify callers of enetc_rxbd_next
net: enetc: use enum enetc_active_offloads
net: enetc: remove forward-declarations of enetc_clean_{rx,tx}_ring
net: enetc: remove forward declaration for enetc_map_tx_buffs
net: enetc: make enetc_refill_rx_ring update the consumer index
drivers/net/ethernet/freescale/enetc/enetc.c | 284 ++++++------------
drivers/net/ethernet/freescale/enetc/enetc.h | 34 ++-
.../net/ethernet/freescale/enetc/enetc_cbdr.c | 82 ++++-
.../net/ethernet/freescale/enetc/enetc_pf.c | 56 ++--
.../net/ethernet/freescale/enetc/enetc_vf.c | 7 +
5 files changed, 212 insertions(+), 251 deletions(-)
--
2.25.1
Powered by blists - more mailing lists