Skip to content

net/nfb: code cleanup

[email protected] dpdk-dev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 4 repliesIn review
  2. v46 patches 5 repliesApplied
  3. v36 patches 10 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/20 of 6 patches0 repliesSuperseded
v2 posting 1/26 patches3 repliesSuperseded
v16 patches0 repliesSuperseded

Changes in v5 from the cover letter

* Rebased to next-net-main

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net/nfb: use constant values for max Rx/Tx queues countdrivers/net/nfb/nfb.h drivers/net/nfb/nfb_ethdev.c+10 -50 replies
2/6net/nfb: fix bad pointer access in queue statsdrivers/net/nfb/nfb_stats.c+23 -231 reply
3/6net/nfb: update timestamp calculation to meaningful valuedoc/guides/nics/nfb.rst drivers/net/nfb/nfb_rx.h+9 -100 replies
4/6net/nfb: use process private variable for internal datadrivers/net/nfb/nfb.h drivers/net/nfb/nfb_ethdev.c drivers/net/nfb/nfb_rx.c +2 more+79 -510 replies
5/6net/nfb: release allocated resources correctlydrivers/net/nfb/nfb_ethdev.c+42 -321 reply
6/6net/nfb: stop only started queues in fail pathdrivers/net/nfb/nfb_ethdev.c+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/6] net/nfb: code cleanup

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.

---
v5:
* Rebased to next-net-main

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        |  14 ++-
 drivers/net/nfb/nfb_ethdev.c | 166 +++++++++++++++++++++--------------
 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, 152 insertions(+), 109 deletions(-)
Signature · 1 line
2.52.0