linux/drivers/net
Ido Schimmel c6385c0b67 netdevsim: Allow reporting activity on nexthop buckets
A key component of the resilient hashing algorithm is the hash buckets'
activity. If a bucket is active, it will not be populated with a new
nexthop in order not to break existing flows. Therefore, in order to
easily and thoroughly test the algorithm, we need to be in full control
over the reported activity.

Add a debugfs interface that allows user space to have netdevsim report
a nexthop bucket within a resilient nexthop group as active. For
example:

 # echo 10 23 > /sys/kernel/debug/netdevsim/netdevsim10/fib/nexthop_bucket_activity

Will mark bucket 23 in nexthop group 10 as active.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-12 17:44:10 -08:00
..
appletalk
arcnet
bonding net: bonding: fix error return code of bond_neigh_init() 2021-03-08 12:05:36 -08:00
caif
can can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode 2021-03-01 11:45:15 +01:00
dsa net: dsa: bcm_sf2: setup BCM4908 internal crossbar 2021-03-12 17:06:37 -08:00
ethernet ptp_pch: Move 'pch_*()' prototypes to shared header 2021-03-12 17:09:34 -08:00
fddi net: fddi: skfp: Mundane typo fixes throughout the file smt.h 2021-03-10 15:42:22 -08:00
fjes
hamradio net/hamradio/6pack: remove redundant check in sp_encaps() 2021-03-05 13:00:38 -08:00
hippi
hyperv hv_netvsc: Fix validation in netvsc_linkstatus_callback() 2021-03-01 15:30:52 -08:00
ieee802154
ipa
ipvlan
mdio
mhi
netdevsim netdevsim: Allow reporting activity on nexthop buckets 2021-03-12 17:44:10 -08:00
pcs
phy net: phy: Expose phydev::dev_flags through sysfs 2021-03-11 12:47:27 -08:00
plip net: plip: Fix fall-through warnings for Clang 2021-03-10 12:45:15 -08:00
ppp
slip
team
usb net: usb: log errors to dmesg/syslog 2021-03-08 11:54:32 -08:00
vmxnet3
wan net: lapbether: Remove netif_start_queue / netif_stop_queue 2021-03-09 11:03:09 -08:00
wireguard
wireless wireless-drivers fixes for v5.12 2021-03-03 16:35:24 -08:00
xen-netback Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net 2021-03-09 17:15:56 -08:00
Kconfig crypto: mips/poly1305 - enable for all MIPS processors 2021-03-08 11:52:17 +01:00
LICENSE.SRC
Makefile
Space.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c virtio-net: support XDP when not more queues 2021-03-10 12:45:14 -08:00
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c