linux/drivers/net/ethernet
Chris Mi 2f8ec867b6 net/mlx5e: Specify out ifindex when looking up encap route
There is a use case that the local and remote VTEPs are in the same
host. Currently, the out ifindex is not specified when looking up the
encap route for offloads. So in this case, a local route is returned
and the route dev is lo.

Actual tunnel interface can be created with a parameter "dev" [1],
which specifies the physical device to use for tunnel endpoint
communication. Pass this parameter to driver when looking up encap
route for offloads. So that a unicast route will be returned.

[1] ip link add name vxlan1 type vxlan id 100 dev enp4s0f0 remote 1.1.1.1 dstport 4789

Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2021-10-04 18:10:54 -07:00
..
3com ethernet: use eth_hw_addr_set() - casts 2021-10-02 14:18:26 +01:00
8390 ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
actions net: ethernet: actions: Add helper dependency on COMPILE_TEST 2021-08-25 12:06:53 +01:00
adaptec dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
aeroflex
agere ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
alacritech ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
allwinner ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
alteon
altera
amazon ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
amd ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
apm xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()' 2021-08-23 11:23:48 +01:00
apple
aquantia ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
arc net: arc_emac: Make use of the helper function dev_err_probe() 2021-09-16 13:35:35 +01:00
atheros ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
broadcom ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
brocade ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
cadence net: ethernet: use phylink_set_10g_modes() 2021-10-04 13:50:05 +01:00
calxeda
cavium ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
chelsio ethernet: chelsio: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
cirrus ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
cisco net: cisco: Fix a function name in comments 2021-09-27 13:19:36 +01:00
cortina ethernet: use eth_hw_addr_set() - casts 2021-10-02 14:18:26 +01:00
davicom ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
dec ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
dlink ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
emulex ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
ezchip ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
faraday ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
freescale net: ethernet: use phylink_set_10g_modes() 2021-10-04 13:50:05 +01:00
fujitsu
google ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
hisilicon ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
huawei ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
i825xx net: i825xx: Use absolute_pointer for memcpy from fixed memory location 2021-09-15 12:04:28 -07:00
ibm ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
intel ethernet: use eth_hw_addr_set() - casts 2021-10-02 14:18:26 +01:00
litex net: Add depends on OF_NET for LiteX's LiteETH 2021-08-31 08:36:38 -07:00
marvell net: ethernet: use phylink_set_10g_modes() 2021-10-04 13:50:05 +01:00
mediatek net: ethernet: mtk_eth_soc: avoid creating duplicate offload entries 2021-09-23 13:14:19 +01:00
mellanox net/mlx5e: Specify out ifindex when looking up encap route 2021-10-04 18:10:54 -07:00
micrel ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
microchip ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
microsoft ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
moxa
mscc ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
myricom ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
natsemi Driver core update for 5.15-rc1 2021-09-01 08:44:42 -07:00
neterion ethernet: s2io: use eth_hw_addr_set() 2021-10-02 14:18:26 +01:00
netronome ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
ni ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
nvidia ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
nxp ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
oki-semi net: pch_gbe: remove mii_ethtool_gset() error handling 2021-08-19 13:06:53 +01:00
packetengines dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
pasemi net: pasemi: Remove usage of the deprecated "pci-dma-compat.h" API 2021-08-30 20:30:51 -07:00
pensando ionic: add lif param to ionic_qcq_disable 2021-10-02 14:00:22 +01:00
qlogic qed: fix ll2 establishment during load of RDMA driver 2021-10-04 12:55:49 +01:00
qualcomm ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
rdc r6040: Restore MDIO clock frequency after MAC reset 2021-09-10 10:00:08 +01:00
realtek r8169: remove support for chip version RTL_GIGA_MAC_VER_27 2021-09-14 14:13:58 +01:00
renesas ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
rocker Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-13 06:41:22 -07:00
samsung ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
seeq ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
sfc ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
sgi ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
silan
sis net: sis: Fix a function name in comments 2021-09-27 12:44:33 +01:00
smsc ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
socionext ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
stmicro ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
sun ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
synopsys ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
tehuti ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
ti ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
toshiba ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
tundra dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
via ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
wiznet ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
xilinx ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
xircom dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
xscale ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
dnet.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
dnet.h
ec_bhf.c net: ec_bhf: switch from 'pci_' to 'dma_' API 2021-08-23 11:56:57 +01:00
ethoc.c ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
fealnx.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
jme.c ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
jme.h
Kconfig net: Add driver for LiteX's LiteETH network interface 2021-08-26 12:13:52 +01:00
korina.c ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
lantiq_etop.c net: lantiq: configure the burst length in ethernet drivers 2021-09-15 11:02:01 +01:00
lantiq_xrx200.c net: lantiq: add support for jumbo frames 2021-09-20 10:07:52 +01:00
Makefile net: Add driver for LiteX's LiteETH network interface 2021-08-26 12:13:52 +01:00