linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlx4
Davide Caratti 91c6bfb831 mlx4/en_netdev: allow offloading VXLAN over VLAN
ConnectX-3 Pro can offload transmission of VLAN packets with VXLAN inside:
enable tunnel offloads in dev->vlan_features, like it's done with other
NIC drivers (e.g. be2net and ixgbe).

It's no more necessary to change dev->hw_enc_features when VXLAN are added
or removed, since .ndo_features_check() already checks for VXLAN packet
where the UDP destination port matches the configured value. Just set
dev->hw_enc_features when the NIC is initialized, so that overlying VLAN
can correctly inherit the tunnel offload capabilities.

Changes since v1:
- avoid flipping hw_enc_features, instead of calling netdev notifiers,
  thanks to Saeed Mahameed
- squash two patches into a single one

CC: Paolo Abeni <pabeni@redhat.com>
CC: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-27 14:22:32 -07:00
..
alloc.c
catas.c
cmd.c
cq.c
crdump.c
en_clock.c
en_cq.c
en_dcb_nl.c
en_ethtool.c
en_main.c
en_netdev.c mlx4/en_netdev: allow offloading VXLAN over VLAN 2019-07-27 14:22:32 -07:00
en_port.c
en_port.h
en_resources.c
en_rx.c
en_selftest.c
en_tx.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
eq.c
fw_qos.c
fw_qos.h
fw.c
fw.h
icm.c
icm.h
intf.c
Kconfig
main.c mlx4: avoid large stack usage in mlx4_init_hca() 2019-07-24 15:46:49 -07:00
Makefile
mcg.c
mlx4_en.h
mlx4_stats.h
mlx4.h
mr.c
pd.c
port.c
profile.c
qp.c
reset.c
resource_tracker.c
sense.c
srq.c