[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190624173535.12572-1-rajur@chelsio.com>
Date: Mon, 24 Jun 2019 23:05:31 +0530
From: Raju Rangoju <rajur@...lsio.com>
To: netdev@...r.kernel.org, davem@...emloft.net
Cc: nirranjan@...lsio.com, dt@...lsio.com, rajur@...lsio.com
Subject: [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
--
2.12.0
Powered by blists - more mailing lists