linux/drivers/net
Ido Schimmel af658b6a0e mlxsw: spectrum_router: Align multipath hash parameters with kernel's
Up until now we used the hardware's defaults for multipath hash
computation. This patch aligns the hardware's multipath parameters with
the kernel's.

For IPv4 packets, the parameters are determined according to the
'fib_multipath_hash_policy' sysctl during module initialization. In case
L3-mode is requested, only the source and destination IP addresses are
used. There is no special handling of ICMP error packets.

In case L4-mode is requested, a 5-tuple is used: source and destination
IP addresses, source and destination ports and IP protocol. Note that
the layer 4 fields are not considered for fragmented packets.

For IPv6 packets, the source and destination IP addresses are used, as
well as the flow label and the next header fields.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-03 15:40:41 +09:00
..
appletalk drivers/net: appletalk/cops: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
arcnet drivers/net: arcnet: Convert timers to use timer_setup() 2017-10-27 12:09:16 +09:00
bonding bonding: remove rtmsg_ifinfo called in bond_master_upper_dev_link 2017-10-25 10:54:39 +09:00
caif
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-30 21:09:24 +09:00
cris
dsa net: dsa: lan9303: Add STP ALR entry on port 0 2017-11-01 21:30:24 +09:00
ethernet mlxsw: spectrum_router: Align multipath hash parameters with kernel's 2017-11-03 15:40:41 +09:00
fddi
fjes
hamradio mkiss: remove redundant assignment of len to ax->mtu 2017-11-01 12:09:45 +09:00
hippi drivers/net: hippi: Convert timers to use timer_setup() 2017-10-27 12:09:15 +09:00
hyperv hv_netvsc: Set tx_table to equal weight after subchannels open 2017-10-29 12:09:23 +09:00
ieee802154
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-30 21:09:24 +09:00
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
plip
ppp ppp: Destroy the mutex when cleanup 2017-11-01 21:21:02 +09:00
slip
team
usb net: hso: remove redundant unused variable dev 2017-11-01 21:23:56 +09:00
vmxnet3
wan wan: wanxl: remove redundant assignment to stat 2017-11-02 15:48:16 +09:00
wimax
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
xen-netback Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-22 13:39:14 +01:00
dummy.c
eql.c
geneve.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-22 13:39:14 +01:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-22 13:39:14 +01:00
macvlan.c
macvtap.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-30 21:09:24 +09:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c drivers/net: ntb_netdev: Convert timers to use timer_setup() 2017-11-01 12:38:45 +09:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c tun/tap: sanitize TUNSETSNDBUF input 2017-11-01 20:52:36 +09:00
thunderbolt.c
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
veth.c
virtio_net.
virtio_net.c
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c