Netdev List
 help / color / mirror / Atom feed
From: Igor Russkikh <Igor.Russkikh@aquantia.com>
To: "David S . Miller" <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Igor Russkikh <Igor.Russkikh@aquantia.com>
Subject: [PATCH net-next 0/6] net: aquantia: add rx-flow filter support
Date: Mon, 12 Nov 2018 15:02:55 +0000	[thread overview]
Message-ID: <cover.1542034379.git.igor.russkikh@aquantia.com> (raw)

In this patchset the rx-flow filters functionality and vlan filter offloads
are implemented.

The rules in NIC hardware have fixed order and priorities.
To support this, the locations of filters from ethtool perspective are also fixed:

* Locations 0 - 15 for VLAN ID filters
* Locations 16 - 31 for L2 EtherType and PCP filters
* Locations 32 - 39 for L3/L4 5-tuple filters (locations 32, 36 for IPv6)

Dmitry Bogdanov (6):
  net: aquantia: add rx-flow filter definitions
  net: aquantia: add infrastructure for ntuple rules
  net: aquantia: add support of L3/L4 ntuple filters
  net: aquantia: add vlan id to rx flow filters
  net: aquantia: add ethertype and PCP to rx flow filters
  net: aquantia: add support of rx-vlan-filter offload

 drivers/net/ethernet/aquantia/atlantic/Makefile    |   1 +
 drivers/net/ethernet/aquantia/atlantic/aq_common.h |   2 +-
 .../net/ethernet/aquantia/atlantic/aq_ethtool.c    |  31 +
 .../net/ethernet/aquantia/atlantic/aq_filters.c    | 876 +++++++++++++++++++++
 .../net/ethernet/aquantia/atlantic/aq_filters.h    |  36 +
 drivers/net/ethernet/aquantia/atlantic/aq_hw.h     |  29 +
 drivers/net/ethernet/aquantia/atlantic/aq_main.c   |  58 +-
 drivers/net/ethernet/aquantia/atlantic/aq_nic.c    |   2 -
 drivers/net/ethernet/aquantia/atlantic/aq_nic.h    |  21 +-
 .../net/ethernet/aquantia/atlantic/aq_pci_func.c   |   2 +
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c  | 162 +++-
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c | 109 +++
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h |  48 ++
 .../aquantia/atlantic/hw_atl/hw_atl_llh_internal.h | 135 +++-
 .../aquantia/atlantic/hw_atl/hw_atl_utils.h        |  58 ++
 15 files changed, 1533 insertions(+), 37 deletions(-)
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_filters.c
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_filters.h

-- 
2.7.4

             reply	other threads:[~2018-11-13  0:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-12 15:02 Igor Russkikh [this message]
2018-11-12 15:02 ` [PATCH net-next 1/6] net: aquantia: add rx-flow filter definitions Igor Russkikh
2018-11-12 15:03 ` [PATCH net-next 2/6] net: aquantia: add infrastructure for ntuple rules Igor Russkikh
2018-11-12 15:03 ` [PATCH net-next 3/6] net: aquantia: add support of L3/L4 ntuple filters Igor Russkikh
2018-11-12 15:03 ` [PATCH net-next 4/6] net: aquantia: add vlan id to rx flow filters Igor Russkikh
2018-11-12 15:03 ` [PATCH net-next 5/6] net: aquantia: add ethertype and PCP " Igor Russkikh
2018-11-12 15:03 ` [PATCH net-next 6/6] net: aquantia: add support of rx-vlan-filter offload Igor Russkikh
2018-11-12 15:19 ` [PATCH net-next 0/6] net: aquantia: add rx-flow filter support Igor Russkikh

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.1542034379.git.igor.russkikh@aquantia.com \
    --to=igor.russkikh@aquantia.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /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