Skip to content

cxgb4: Reference count MPS TCAM entries within a PF

Raju Rangoju netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 4 repliesSuperseded
  3. v14 patches 2 repliesSuperseded

Changes in v3 from the cover letter

Fixed the compiler errors due to incorrect patch Also, removed the new blank line at EOF

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cxgb4: Re-work the logic for mps refcountingdrivers/net/ethernet/chelsio/cxgb4/Makefile drivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c +2 more+134 -220 replies
2/4cxgb4: Add MPS TCAM refcounting for raw mac filtersdrivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c+62 -00 replies
3/4cxgb4: Add MPS TCAM refcounting for cxgb4 change macdrivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c+29 -70 replies
4/4cxgb4: Add MPS refcounting for alloc/free mac filtersdrivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c+87 -30 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 net-next 0/4] cxgb4: Reference count MPS TCAM entries within a PF

Firmware reference counts the MPS TCAM entries by PF and VF, but it does not do it for usage within a PF or VF. This patch adds the support to track MPS TCAM entries within a PF.

v2->v3:
Fixed the compiler errors due to incorrect patch Also, removed the new blank line at EOF
v1->v2:
Use refcount_t type instead of atomic_t for mps reference count

Raju Rangoju (4):
cxgb4: Re-work the logic for mps refcounting
cxgb4: Add MPS TCAM refcounting for raw mac filters
cxgb4: Add MPS TCAM refcounting for cxgb4 change mac
cxgb4: Add MPS refcounting for alloc/free mac filters

 drivers/net/ethernet/chelsio/cxgb4/Makefile       |   2 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h        |  53 ++++-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c |   8 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c   |  40 ++--
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c    | 241 ++++++++++++++++++++++
 5 files changed, 312 insertions(+), 32 deletions(-)
 create mode 100644 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c
Signature · 1 line
2.12.0