[PATCH v3 0/6] net/nfb: code cleanup
Stephen Hemminger
stephen at networkplumber.org
Wed Jan 21 05:57:39 CET 2026
On Fri, 16 Jan 2026 16:22:51 +0100
spinler at cesnet.cz wrote:
> 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.
>
> ---
> v3:
> * Changed type of queue count variable to uint16_t.
> * Fixed wrong queue count variable usage in log.
> * Fixed another coding style issues.
>
> 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 | 164 ++++++++++++++++++++---------------
> 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, 141 insertions(+), 109 deletions(-)
>
> --
> 2.52.0
>
Send v4 with fixes and release note please.
More information about the dev
mailing list