Skip to content

tg3: Link IRQs, NAPIs, and queues

Joe Damato lkml netdev 5 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesApplied 2/2
  2. v32 patches 4 repliesSuperseded
  3. v2 posting 2/22 patches 3 repliesApplied 2/2
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/22 patches2 repliesApplied 2/2
v12 patches6 repliesSuperseded

Changes in v4 from the cover letter

- Upgraded from RFC to official submission
- Patch 1:
- Updated commit message to test more cases, no code or functional changes, so I retained the Reviewed-by
- Patch 2:
- Switched the if ... else if ... to two ifs as per Michael Chan's suggestion when tg3 uses combined tx and rx queues
- Updated commit message to test more cases, including combined tx and rx queues

Patches in v4 All 2 applied

#Subject and filesSizeRepliesApplied
1/2tg3: Link IRQs to NAPI instancesdrivers/net/ethernet/broadcom/tg3.c+5 -31 replyApplied
2/2tg3: Link queues to NAPIsdrivers/net/ethernet/broadcom/tg3.c+35 -41 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPavan ChebbiMichael Chan
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [net-next v4 0/2] tg3: Link IRQs, NAPIs, and queues

Greetings:

Welcome to v4, now an actual submission instead of an RFC.

This follows from a previous RFC (wherein I botched the subject lines of all the messages) [1].

I've taken Michael Chan's suggestion on modifying patch 2 and I've updated the commit messages of both patches to test and show the output for the default 1 TX 4 RX queues and the 4 TX and 4 RX queues cases.

Reviewers: please check the commit messages carefully to ensure the output is correct (or on your own systems to verify, if you like). I am not a tg3 expert and it's possible that I got something wrong.

Thanks,
Joe

[1]: https://lore.kernel.org/all/[email protected]/T/

v4:
- Upgraded from RFC to official submission
- Patch 1:
- Updated commit message to test more cases, no code or functional changes, so I retained the Reviewed-by
- Patch 2:
- Switched the if ... else if ... to two ifs as per Michael Chan's suggestion when tg3 uses combined tx and rx queues
- Updated commit message to test more cases, including combined tx and rx queues

rfcv3:
- Patch 1:
- Line wrap to 80 characters, no functional changes
- Added Pavan Chebbi's Reviewed-by
- Patch 2:
- changed tg3_napi_enable and tg3_napi_disable to use running counters to number the queues as there is no explicit queue index assigned in tg3

Joe Damato (2):
tg3: Link IRQs to NAPI instances
tg3: Link queues to NAPIs

 drivers/net/ethernet/broadcom/tg3.c | 47 ++++++++++++++++++++++++-----
 1 file changed, 40 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1