From: Martin Spinler <[email protected]> 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

