netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, kumaras@chelsio.com, ganeshgr@chelsio.com,
	nirranjan@chelsio.com, indranil@chelsio.com,
	Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Subject: [PATCH net-next 0/7] cxgb4: add hash-filter support to tc-flower offload
Date: Wed,  1 Nov 2017 08:52:58 +0530	[thread overview]
Message-ID: <cover.1509505160.git.rahul.lakkireddy@chelsio.com> (raw)

This series of patches add support to create hash-filters; a.k.a
exact-match filters, to tc-flower offload.  T6 supports creating
~500K hash-filters in hw and can theoretically be expanded up to
~1 million.

Patch 1 fetches and saves the configured hw filter tuple field shifts
and filter mask.

Patch 2 initializes the driver to use hash-filter configuration.

Patch 3 adds support to create hash filters in hw.

Patch 4 adds support to delete hash filters in hw.

Patch 5 adds support to retrieve filter stats for hash filters.

Patch 6 converts the flower table to use rhashtable instead of
static hlist.

Patch 7 finally adds support to create hash filters via tc-flower
offload.

Thanks,
Rahul

Kumar Sanghvi (7):
  cxgb4: save additional filter tuple field shifts in tp_params
  cxgb4: initialize hash-filter configuration
  cxgb4: add support to create hash filters
  cxgb4: add support to delete hash filter
  cxgb4: add support to retrieve stats for hash filters
  cxgb4: convert flower table to use rhashtable
  cxgb4: add support to create hash-filters via tc-flower offload

 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h         |  32 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c  | 928 +++++++++++++++++++--
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.h  |   8 +
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c    |  26 +-
 .../net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c   | 126 ++-
 .../net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h   |   4 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c  |   4 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h     |   6 +-
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c         |  18 +-
 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h        |   5 +
 drivers/net/ethernet/chelsio/cxgb4/t4_regs.h       |  17 +
 drivers/net/ethernet/chelsio/cxgb4/t4_tcb.h        |  22 +
 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h      |   1 +
 13 files changed, 1082 insertions(+), 115 deletions(-)

-- 
2.14.1

             reply	other threads:[~2017-11-01  3:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01  3:22 Rahul Lakkireddy [this message]
2017-11-01  3:22 ` [PATCH net-next 1/7] cxgb4: save additional filter tuple field shifts in tp_params Rahul Lakkireddy
2017-11-01  3:23 ` [PATCH net-next 2/7] cxgb4: initialize hash-filter configuration Rahul Lakkireddy
2017-11-01  3:23 ` [PATCH net-next 3/7] cxgb4: add support to create hash filters Rahul Lakkireddy
2017-11-01  3:23 ` [PATCH net-next 4/7] cxgb4: add support to delete hash filter Rahul Lakkireddy
2017-11-01  3:23 ` [PATCH net-next 5/7] cxgb4: add support to retrieve stats for hash filters Rahul Lakkireddy
2017-11-01  3:23 ` [PATCH net-next 6/7] cxgb4: convert flower table to use rhashtable Rahul Lakkireddy
2017-11-01  3:23 ` [PATCH net-next 7/7] cxgb4: add support to create hash-filters via tc-flower offload Rahul Lakkireddy
2017-11-01 13:06 ` [PATCH net-next 0/7] cxgb4: add hash-filter support to " David Miller

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=cover.1509505160.git.rahul.lakkireddy@chelsio.com \
    --to=rahul.lakkireddy@chelsio.com \
    --cc=davem@davemloft.net \
    --cc=ganeshgr@chelsio.com \
    --cc=indranil@chelsio.com \
    --cc=kumaras@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).