netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Raju Rangoju <rajur@chelsio.com>
To: netdev@vger.kernel.org, davem@davemloft.net
Cc: nirranjan@chelsio.com, dt@chelsio.com, rajur@chelsio.com
Subject: [PATCH v2 net-next 0/4] cxgb4: Reference count MPS TCAM entries within a PF
Date: Mon, 24 Jun 2019 14:20:33 +0530	[thread overview]
Message-ID: <20190624085037.2358-1-rajur@chelsio.com> (raw)

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


             reply	other threads:[~2019-06-24  8:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24  8:50 Raju Rangoju [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190624085037.2358-1-rajur@chelsio.com \
    --to=rajur@chelsio.com \
    --cc=davem@davemloft.net \
    --cc=dt@chelsio.com \
    --cc=netdev@vger.kernel.org \
    --cc=nirranjan@chelsio.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).