linux_dsm_epyc7002/drivers/net/ethernet/chelsio/cxgb4
Rahul Lakkireddy 696c278fdf 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>
2020-06-30 18:34:34 -07:00
..
clip_tbl.c
clip_tbl.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
cudbg_common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_entity.h cxgb4: move device dump arrays in header to C file 2020-06-23 20:55:44 -07:00
cudbg_if.h cxgb4: add support to read serial flash 2020-06-18 20:49:55 -07:00
cudbg_lib_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_lib.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-25 19:29:51 -07:00
cudbg_lib.h cxgb4: move device dump arrays in header to C file 2020-06-23 20:55:44 -07:00
cudbg_zlib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_zlib.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_cudbg.c cxgb4: move device dump arrays in header to C file 2020-06-23 20:55:44 -07:00
cxgb4_cudbg.h cxgb4: add support to read serial flash 2020-06-18 20:49:55 -07:00
cxgb4_dcb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_dcb.h cxgb4: move DCB version extern to header file 2020-06-23 15:18:48 -07:00
cxgb4_debugfs.c cxgb4: add support for mirror Rxqs 2020-06-30 18:34:34 -07:00
cxgb4_debugfs.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
cxgb4_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-25 19:29:51 -07:00
cxgb4_fcoe.c
cxgb4_fcoe.h
cxgb4_filter.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-25 19:29:51 -07:00
cxgb4_filter.h cxgb4: add skeleton for ethtool n-tuple filters 2020-06-19 13:17:31 -07:00
cxgb4_main.c cxgb4: add main VI to mirror VI config replication 2020-06-30 18:34:34 -07:00
cxgb4_mps.c cxgb4: Add MPS refcounting for alloc/free mac filters 2019-06-24 14:54:06 -07:00
cxgb4_ptp.c cxgb4: update kernel-doc line comments 2020-06-23 15:18:48 -07:00
cxgb4_ptp.h
cxgb4_tc_flower.c cxgb4: add mirror action to TC-MATCHALL offload 2020-06-30 18:34:34 -07:00
cxgb4_tc_flower.h cxgb4: add mirror action to TC-MATCHALL offload 2020-06-30 18:34:34 -07:00
cxgb4_tc_matchall.c cxgb4: add mirror action to TC-MATCHALL offload 2020-06-30 18:34:34 -07:00
cxgb4_tc_matchall.h cxgb4: add mirror action to TC-MATCHALL offload 2020-06-30 18:34:34 -07:00
cxgb4_tc_mqprio.c cxgb4: add EOTID tracking and software context dump 2020-05-15 10:54:07 -07:00
cxgb4_tc_mqprio.h cxgb4: add EOTID tracking and software context dump 2020-05-15 10:54:07 -07:00
cxgb4_tc_u32_parse.h cxgb4: parse TC-U32 key values and masks natively 2020-06-23 15:18:47 -07:00
cxgb4_tc_u32.c cxgb4: parse TC-U32 key values and masks natively 2020-06-23 15:18:47 -07:00
cxgb4_tc_u32.h
cxgb4_thermal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_uld.c crypto/chcr: error seen if CONFIG_CHELSIO_TLS_DEVICE isn't set 2020-06-04 15:31:47 -07:00
cxgb4_uld.h cxgb4: add skeleton for ethtool n-tuple filters 2020-06-19 13:17:31 -07:00
cxgb4.h cxgb4: add main VI to mirror VI config replication 2020-06-30 18:34:34 -07:00
l2t.c cxgb4: update kernel-doc line comments 2020-06-23 15:18:48 -07:00
l2t.h cxgb4/chcr: Save tx keys and handle HW response 2020-03-08 21:16:23 -07:00
Makefile cxgb4: add TC-MATCHALL classifier egress offload 2019-11-20 12:05:23 -08:00
sched.c cxgb4: update kernel-doc line comments 2020-06-23 15:18:48 -07:00
sched.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
sge.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-25 19:29:51 -07:00
smt.c cxgb4: update kernel-doc line comments 2020-06-23 15:18:48 -07:00
smt.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
srq.c
srq.h
t4_chip_type.h
t4_hw.c cxgb4: add main VI to mirror VI config replication 2020-06-30 18:34:34 -07:00
t4_hw.h
t4_msg.h cxgb4/chcr: complete record tx handling 2020-03-08 21:16:23 -07:00
t4_pci_id_tbl.h
t4_regs.h cxgb4: add skeleton for ethtool n-tuple filters 2020-06-19 13:17:31 -07:00
t4_tcb.h cxgb4/chcr: complete record tx handling 2020-03-08 21:16:23 -07:00
t4_values.h
t4fw_api.h cxgb4/chcr: Enable ktls settings at run time 2020-06-01 15:48:18 -07:00
t4fw_version.h