diff options
author | David S. Miller <davem@davemloft.net> | 2020-06-30 18:34:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-30 18:35:00 -0700 |
commit | 2b04a66156159592156a97553057e8c36de2ee70 (patch) | |
tree | c8203985b1b346954e2bd482e450283814834004 /drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c | |
parent | 75603a3112664cb1f6b1508e2b489f16863bf153 (diff) | |
parent | 696c278fdfd8dd852af286fcebaacc11adbf20f0 (diff) |
Merge branch 'cxgb4-add-mirror-action-support-for-TC-MATCHALL'
Rahul Lakkireddy says:
====================
cxgb4: add mirror action support for TC-MATCHALL
This series of patches add support to mirror all ingress traffic
for TC-MATCHALL ingress offload.
Patch 1 adds support to dynamically create a mirror Virtual Interface
(VI) that accepts all mirror ingress traffic when mirror action is
set in TC-MATCHALL offload.
Patch 2 adds support to allocate mirror Rxqs and setup RSS for the
mirror VI.
Patch 3 adds support to replicate all the main VI configuration to
mirror VI. This includes replicating MTU, promiscuous mode,
all-multicast mode, and enabled netdev Rx feature offloads.
v3:
- Replace mirror VI refcount_t with normal u32 variable in all patches.
- Add back calling cxgb4_port_mirror_start() in cxgb_open(), which
was there in v1, but got missed in v2 during refactoring, in patch
3.
v2:
- Add mutex to protect all mirror VI data, instead of just
mirror Rxqs, in patch 1 and 2.
- Remove the un-needed mirror Rxq mutex in patch 2.
- Simplify the replication code by refactoring t4_set_rxmode()
to handle mirror VI, instead of duplicating the t4_set_rxmode()
calls in multiple places in patch 3.
====================
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c')
0 files changed, 0 insertions, 0 deletions