diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2020-06-30 18:41:28 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-30 18:34:34 -0700 |
commit | fd2261d8ed6f1375f18341e959d4bbcd94d748a3 (patch) | |
tree | 35e1845ff9bb91335fe7236ae194f7978ec7f7b6 /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | 75603a3112664cb1f6b1508e2b489f16863bf153 (diff) |
cxgb4: add mirror action to TC-MATCHALL offload
Add mirror Virtual Interface (VI) support to receive all ingress
mirror traffic from the underlying device. The mirror VI is
created dynamically, if the TC-MATCHALL rule has a corresponding
mirror action. Also request MSI-X vectors needed for the mirror VI
Rxqs. If no vectors are available, then disable mirror VI support.
v3:
- Replace mirror VI refcount_t with normal u32 variable.
v2:
- Add mutex to protect all mirror VI data, instead of just
mirror Rxqs.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions