linux/drivers/net/netdevsim
Ido Schimmel 48bb9eb47b netdevsim: fib: Add dummy implementation for FIB offload
Implement dummy IPv4 and IPv6 FIB "offload" in the driver by storing
currently "programmed" routes in a hash table. Each route in the hash
table is marked with "trap" indication. The indication is cleared when
the route is replaced or when the netdevsim instance is deleted.

This will later allow us to test the route offload API on top of
netdevsim.

v2:
* Convert to new fib_alias_hw_flags_set() interface

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-14 18:53:35 -08:00
..
bpf.c netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
bus.c netdevsim: create devlink and netdev instances in namespace 2019-10-05 16:34:15 -07:00
dev.c devlink: rename and expand devlink-trap-netdevsim.rst 2020-01-10 17:07:00 -08:00
fib.c netdevsim: fib: Add dummy implementation for FIB offload 2020-01-14 18:53:35 -08:00
health.c netdevsim: Update dummy reporter's devlink binary interface 2019-11-12 11:25:44 -08:00
ipsec.c netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
Makefile netdevsim: implement couple of testing devlink health reporters 2019-10-11 21:02:30 -07:00
netdev.c netdevsim: register port netdevices into net of device 2019-10-04 11:10:56 -07:00
netdevsim.h netdevsim: implement couple of testing devlink health reporters 2019-10-11 21:02:30 -07:00
sdev.c netdevsim: move shared dev creation and destruction into separate file 2019-04-12 16:49:54 -07:00