linux-bl808/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
bus.c
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
ipsec.c
Makefile
netdev.c
netdevsim.h
sdev.c