]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'octeontx2-dmasc-filtering'
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 20:02:38 +0000 (13:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 20:02:38 +0000 (13:02 -0700)
commitfeb428331e3aadaf158d529dd3706340b72eb7e5
tree6f5d91c517f6d78b884506ac9bb0d409ef7ea966
parentb425d9c98db5617da077403437b9ba0438cbb803
parent54d1f8f330ecba2d96cf6a425738f230b8eae85b
Merge branch 'octeontx2-dmasc-filtering'

Hariprasad Kelam says:

====================
DMAC based packet filtering

Each MAC block supports 32 DMAC filters which can be configured to accept
or drop packets based on address match This patch series adds mbox
handlers and extends ntuple filter callbacks to accomdate DMAC filters
such that user can install DMAC based filters on interface from ethtool.

Patch1 adds necessary mbox handlers such that mbox consumers like PF netdev
can add/delete/update DMAC filters and Patch2 adds debugfs support to dump
current list of installed filters. Patch3 adds support to call mbox
handlers upon receiving DMAC filters from ethtool ntuple commands.

Change-log:
v2 -
   - fixed indentation issues.
v3 -
   - fixed kdoc warnings
====================

Signed-off-by: David S. Miller <davem@davemloft.net>