netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/4] cxgb4: Reference count MPS TCAM entries within a PF
@ 2019-06-24  8:50 Raju Rangoju
  2019-06-24  8:50 ` [PATCH v2 net-next 1/4] cxgb4: Re-work the logic for mps refcounting Raju Rangoju
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Raju Rangoju @ 2019-06-24  8:50 UTC (permalink / raw)
  To: netdev, davem; +Cc: nirranjan, dt, rajur

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.

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    | 242 ++++++++++++++++++++++
 5 files changed, 313 insertions(+), 32 deletions(-)
 create mode 100644 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c

-- 
2.12.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-06-24 18:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-24  8:50 [PATCH v2 net-next 0/4] cxgb4: Reference count MPS TCAM entries within a PF Raju Rangoju
2019-06-24  8:50 ` [PATCH v2 net-next 1/4] cxgb4: Re-work the logic for mps refcounting Raju Rangoju
2019-06-24  8:50 ` [PATCH v2 net-next 2/4] cxgb4: Add MPS TCAM refcounting for raw mac filters Raju Rangoju
2019-06-24  8:50 ` [PATCH v2 net-next 3/4] cxgb4: Add MPS TCAM refcounting for cxgb4 change mac Raju Rangoju
2019-06-24  8:50 ` [PATCH v2 net-next 4/4] cxgb4: Add MPS refcounting for alloc/free mac filters Raju Rangoju
2019-06-24 15:51   ` kbuild test robot
2019-06-24 16:59   ` kbuild test robot
2019-06-24 17:16   ` kbuild test robot
2019-06-24 18:24   ` kbuild test robot
2019-06-24 14:51 ` [PATCH v2 net-next 0/4] cxgb4: Reference count MPS TCAM entries within a PF David Miller
2019-06-24 14:53   ` David Miller
2019-06-24 14:54     ` David Miller
2019-06-24 17:06     ` Raju Rangoju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).