diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2020-06-30 15:11:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-01 03:34:34 +0200 |
commit | 696c278fdfd8dd852af286fcebaacc11adbf20f0 (patch) | |
tree | c8203985b1b346954e2bd482e450283814834004 /drivers/net/ethernet/intel | |
parent | cxgb4: add support for mirror Rxqs (diff) | |
download | linux-696c278fdfd8dd852af286fcebaacc11adbf20f0.tar.xz linux-696c278fdfd8dd852af286fcebaacc11adbf20f0.zip |
cxgb4: add main VI to mirror VI config replication
When mirror VI is enabled, replicate various VI config params
enabled on main VI to mirror VI. These include replicating MTU,
promiscuous mode, all-multicast mode, and enabled netdev Rx
feature offloads.
v3:
- Replace mirror VI refcount_t with normal u32 variable.
- Add back calling cxgb4_port_mirror_start() in cxgb_open(), which
was there in v1, but got missed in v2 during refactoring.
v2:
- Simplify the replication code by refactoring t4_set_rxmode()
to handle mirror VI, instead of duplicating the t4_set_rxmode()
calls in multiple places.
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')
0 files changed, 0 insertions, 0 deletions