linux/drivers/net/ethernet
Ido Schimmel 58312125da mlxsw: spectrum_router: Correctly remove nexthop groups
At the end of the nexthop initialization process we determine whether
the nexthop should be offloaded or not based on the NUD state of the
neighbour representing it. After all the nexthops were initialized we
refresh the nexthop group and potentially offload it to the device, in
case some of the nexthops were resolved.

Make the destruction of a nexthop group symmetric with its creation by
marking all nexthops as invalid and then refresh the nexthop group to
make sure it was removed from the device's tables.

Fixes: b2157149b0 ("mlxsw: spectrum_router: Add the nexthop neigh activity update")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-23 12:31:19 -05:00
..
3com net/3com/3c515: Fix timer handling, prevent leaks and crashes 2016-12-16 13:25:06 -05:00
8390
adaptec
adi Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
aeroflex
agere
alacritech Staging/IIO patches for 4.10-rc1 2016-12-13 11:35:00 -08:00
allwinner
alteon
altera Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
amazon
amd Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
apm net: xgene: avoid bogus maybe-uninitialized warning 2016-12-08 21:30:54 -05:00
apple
arc
atheros Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
aurora
broadcom Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2016-12-14 11:12:25 -08:00
brocade bna: use designated initializers 2016-12-17 11:56:57 -05:00
cadence net: macb: Added PCI wrapper for Platform Driver. 2016-12-17 10:24:33 -05:00
calxeda
cavium net: ethernet: cavium: octeon: octeon_mgmt: Handle return NULL error from devm_ioremap 2016-12-19 11:03:34 -05:00
chelsio net: chelsio: cxgb3: use new api ethtool_{get|set}_link_ksettings 2016-12-17 21:31:41 -05:00
cirrus net: cirrus: ep93xx: use new api ethtool_{get|set}_link_ksettings 2016-12-17 21:31:41 -05:00
cisco
davicom net: davicom: dm9000: use new api ethtool_{get|set}_link_ksettings 2016-12-17 21:31:41 -05:00
dec
dlink
emulex be2net: Increase skb headroom size to 256 bytes 2016-12-21 13:23:05 -05:00
ezchip
faraday
freescale fsl/fman: enable compilation on ARM64 2016-12-20 13:55:35 -05:00
fujitsu
hisilicon net: hix5hd2_gmac: fix compatible strings name 2016-12-20 14:12:29 -05:00
hp
i825xx
ibm ibmveth: calculate gso_segs for large packets 2016-12-17 10:23:28 -05:00
intel igb: update code to better handle incrementing page count 2016-12-14 16:04:08 -08:00
marvell net: mvpp2: fix dma unmapping of TX buffers for fragments 2016-12-21 13:38:21 -05:00
mediatek
mellanox mlxsw: spectrum_router: Correctly remove nexthop groups 2016-12-23 12:31:19 -05:00
micrel
microchip encx24j600: Fix some checkstyle warnings 2016-12-16 13:31:47 -05:00
moxa
myricom
natsemi
neterion
netronome bpf: xdp: Allow head adjustment in XDP prog 2016-12-08 14:25:13 -05:00
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-12-17 20:17:04 -08:00
qualcomm net: qcom/emac: don't try to claim clocks on ACPI systems 2016-12-17 10:22:14 -05:00
rdc r6040: move spinlock in r6040_close as SOFTIRQ-unsafe lock order detected 2016-12-17 21:35:12 -05:00
realtek
renesas Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
rocker
samsung Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
seeq
sfc ethernet: sfc: Add Kconfig entry for vendor Solarflare 2016-12-20 14:19:38 -05:00
sgi
silan
sis
smsc Power management material for v4.10-rc1 2016-12-13 10:41:53 -08:00
stmicro stmmac: CSR clock configuration fix 2016-12-23 11:46:37 -05:00
sun linux: drop __bitwise__ everywhere 2016-12-16 00:13:41 +02:00
synopsys
tehuti
ti net: netcp: ethss: fix 10gbe host port tx pri map configuration 2016-12-20 14:07:17 -05:00
tile Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig ethernet: sfc: Add Kconfig entry for vendor Solarflare 2016-12-20 14:19:38 -05:00
korina.c
lantiq_etop.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-12-10 16:21:55 -05:00
Makefile
netx-eth.c