[PATCH v2 0/6] net/nfb: code cleanup
spinler at cesnet.cz
spinler at cesnet.cz
Thu Jan 15 15:40:34 CET 2026
From: Martin Spinler <spinler at cesnet.cz>
This patchset mainly cleans up the code and prepare it for another
quite large rework. Also it resolves some unpleasant behavior.
---
v2:
* Fixed coding style issues
Martin Spinler (6):
net/nfb: use constant values for max Rx/Tx queues count
net/nfb: fix bad pointer access in queue stats
net/nfb: update timestamp calculation to meaningful value
net/nfb: use process private variable for internal data
net/nfb: release allocated resources correctly
net/nfb: stop only started queues in fail path
doc/guides/nics/nfb.rst | 6 +-
drivers/net/nfb/nfb.h | 5 ++
drivers/net/nfb/nfb_ethdev.c | 165 ++++++++++++++++++++---------------
drivers/net/nfb/nfb_rx.c | 2 +-
drivers/net/nfb/nfb_rx.h | 13 +--
drivers/net/nfb/nfb_rxmode.c | 12 +--
drivers/net/nfb/nfb_stats.c | 46 +++++-----
drivers/net/nfb/nfb_tx.c | 2 +-
8 files changed, 142 insertions(+), 109 deletions(-)
--
2.52.0
More information about the dev
mailing list