linux-stable/drivers/net/ethernet
Ido Schimmel e26772f056 mlxsw: spectrum_switchdev: Do not treat static FDB entries as sticky
[ Upstream commit 64254a2054 ]

The driver currently treats static FDB entries as both static and
sticky. This is incorrect and prevents such entries from being roamed to
a different port via learning.

Fix this by configuring static entries with ageing disabled and roaming
enabled.

In net-next we can add proper support for the newly introduced 'sticky'
flag.

Fixes: 56ade8fe3f ("mlxsw: spectrum: Add initial support for Spectrum ASIC")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Alexander Petrovskiy <alexpe@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-27 10:08:57 +01:00
..
3com
8390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
adaptec net: adaptec: Replace mdelay() with msleep() in starfire_init_one() 2018-07-26 21:24:23 -07:00
aeroflex
agere
alacritech
allwinner
alteon alteon: acenic: mark expected switch fall-through 2018-08-07 17:54:19 -07:00
altera
amazon net: ena: fix crash during failed resume from hibernation 2018-12-13 09:16:13 +01:00
amd amd-xgbe: Fix mdio access for non-zero ports and clause 45 PHYs 2019-01-31 08:14:30 +01:00
apm drivers: net: xgene: Remove unnecessary forward declarations 2019-01-13 09:51:00 +01:00
apple net: apple: fix return type of ndo_start_xmit function 2018-09-21 19:15:15 -07:00
aquantia net: aquantia: return 'err' if set MPI_DEINIT state fails 2019-02-12 19:47:03 +01:00
arc
atheros
aurora
broadcom net: systemport: Fix WoL with password after deep sleep 2019-02-12 19:47:22 +01:00
brocade
cadence net: macb: add missing barriers when reading descriptors 2019-01-13 09:51:02 +01:00
calxeda
cavium liquidio: read sc->iq_no before release sc 2018-12-21 14:15:17 +01:00
chelsio net: cxgb3_main: fix a missing-check bug 2018-10-05 11:47:19 -07:00
cirrus net: cirrus: fix return type of ndo_start_xmit function 2018-09-21 19:15:14 -07:00
cisco enic: fix checksum validation for IPv6 2019-02-12 19:47:21 +01:00
cortina net: gemini: Fix copy/paste error 2018-12-05 19:31:58 +01:00
davicom
dec net: tulip: de4x5: mark expected switch fall-throughs 2018-08-07 17:54:19 -07:00
dlink
emulex Revert "be2net: remove desc field from be_eq_obj" 2018-11-04 14:50:53 +01:00
ezchip
faraday net: faraday: ftmac100: remove netif_running(netdev) check before disabling interrupts 2018-12-13 09:16:14 +01:00
freescale dpaa_eth: NETIF_F_LLTX requires to do our own update of trans_start 2019-02-27 10:08:57 +01:00
fujitsu
hisilicon net: hns: Fix use after free identified by SLUB debug 2019-02-27 10:08:52 +01:00
hp net: hp100: fix always-true check for link up state 2018-09-17 07:55:19 -07:00
huawei hinic: remove ndo_poll_controller 2018-09-28 11:12:28 -07:00
i825xx net: i825xx: fix return type of ndo_start_xmit function 2018-09-21 19:15:15 -07:00
ibm ibmvnic: Fix non-atomic memory allocation in IRQ context 2019-01-13 09:50:58 +01:00
intel igb: Fix an issue that PME is not enabled during runtime suspend 2019-02-12 19:47:15 +01:00
marvell sky2: Increase D3 delay again 2019-02-23 09:07:25 +01:00
mediatek net-next: mediatek: cleanup unnecessary get chip id and its user 2018-07-29 13:15:57 -07:00
mellanox mlxsw: spectrum_switchdev: Do not treat static FDB entries as sticky 2019-02-27 10:08:57 +01:00
micrel Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-15 16:01:47 -07:00
microchip lan743x: Remove phy_read from link status change function 2019-01-22 21:40:31 +01:00
moxa
mscc mscc: Configured MAC entries should be locked. 2019-01-09 17:38:35 +01:00
myricom
natsemi
neterion vxge: ensure data0 is initialized in when fetching firmware version information 2019-01-13 09:51:02 +01:00
netronome nfp: flower: ensure TCP flags can be placed in IPv6 frame 2019-01-09 17:38:35 +01:00
ni net: nixge: Don't store skb in app4 field of descriptor 2018-08-13 08:49:37 -07:00
nuvoton w90p910_ether: remove incorrect __init annotation 2019-01-13 09:51:00 +01:00
nvidia net: nvidia: forcedeth: Replace GFP_ATOMIC with GFP_KERNEL in nv_probe() 2018-07-27 13:45:14 -07:00
nxp
oki-semi
packetengines
pasemi
qlogic qed: Fix qed_ll2_post_rx_buffer_notify_fw() by adding a write memory barrier 2019-02-27 10:08:52 +01:00
qualcomm net: qualcomm: rmnet: Fix incorrect assignment of real_dev 2018-11-23 08:17:06 +01:00
rdc
realtek r8169: Add support for new Realtek Ethernet 2019-01-26 09:32:33 +01:00
renesas ravb: expand rx descriptor data to accommodate hw checksum 2019-02-06 17:30:07 +01:00
rocker
samsung net: ethernet: sxgbe: mark expected switch fall-throughs 2018-08-07 17:54:20 -07:00
seeq net: seeq: fix return type of ndo_start_xmit function 2018-09-21 19:15:14 -07:00
sfc sfc-falcon: remove ndo_poll_controller 2018-09-28 11:12:29 -07:00
sgi net: sgi: fix return type of ndo_start_xmit function 2018-09-21 19:15:14 -07:00
silan
sis
smsc ARM: 32-bit SoC platform updates 2018-08-23 13:44:43 -07:00
socionext net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM 2018-12-21 14:15:14 +01:00
stmicro net: stmmac: Prevent RX starvation in stmmac_napi_poll() 2019-02-27 10:08:54 +01:00
sun niu: fix missing checks of niu_pci_eeprom_read 2019-02-12 19:47:17 +01:00
synopsys net: ethernet: Use existing define with polynomial 2018-07-27 19:16:37 +08:00
tehuti
ti net: ethernet: ti: add missing GENERIC_ALLOCATOR dependency 2018-09-17 07:49:33 -07:00
toshiba
tundra
via
wiznet net: wiznet: fix return type of ndo_start_xmit function 2018-09-21 19:15:15 -07:00
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c net: jme: Replace mdelay() with msleep() and usleep_range() in jme_wait_link() 2018-07-27 13:45:14 -07:00
jme.h
Kconfig net: change Exar/Neterion menu items to be alphabetical 2018-08-01 09:49:02 -07:00
korina.c
lantiq_etop.c MIPS: lantiq: dma: add dev pointer 2018-09-11 23:33:19 -07:00
Makefile net: change Exar/Neterion menu items to be alphabetical 2018-08-01 09:49:02 -07:00
netx-eth.c