netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/12] Refactoring/cleanup for NXP ENETC
@ 2021-03-10 12:03 Vladimir Oltean
  2021-03-10 12:03 ` [PATCH net-next 01/12] net: enetc: move the CBDR API to enetc_cbdr.c Vladimir Oltean
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Vladimir Oltean @ 2021-03-10 12:03 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, netdev; +Cc: Alex Marginean, Claudiu Manoil

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-03-10 21:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10 12:03 [PATCH net-next 00/12] Refactoring/cleanup for NXP ENETC Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 01/12] net: enetc: move the CBDR API to enetc_cbdr.c Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 02/12] net: enetc: save the DMA device for enetc_free_cbdr Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 03/12] net: enetc: squash enetc_alloc_cbdr and enetc_setup_cbdr Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 04/12] net: enetc: save the mode register address inside struct enetc_cbdr Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 05/12] net: enetc: squash clear_cbdr and free_cbdr into teardown_cbdr Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 06/12] net: enetc: pass bd_count as an argument to enetc_setup_cbdr Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 07/12] net: enetc: don't initialize unused ports from a separate code path Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 08/12] net: enetc: simplify callers of enetc_rxbd_next Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 09/12] net: enetc: use enum enetc_active_offloads Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 10/12] net: enetc: remove forward-declarations of enetc_clean_{rx,tx}_ring Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 11/12] net: enetc: remove forward declaration for enetc_map_tx_buffs Vladimir Oltean
2021-03-10 12:03 ` [PATCH net-next 12/12] net: enetc: make enetc_refill_rx_ring update the consumer index Vladimir Oltean
2021-03-10 13:33 ` [PATCH net-next 00/12] Refactoring/cleanup for NXP ENETC Claudiu Manoil
2021-03-10 21:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).