forked from Minki/linux
da58f90f11
Have netdevsim register its trap groups and traps with devlink during initialization and periodically report trapped packets to devlink core. Since netdevsim is not a real device, the trapped packets are emulated using a workqueue that periodically reports a UDP packet with a random 5-tuple from each active packet trap and from each running netdev. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bpf.c | ||
bus.c | ||
dev.c | ||
fib.c | ||
ipsec.c | ||
Makefile | ||
netdev.c | ||
netdevsim.h | ||
sdev.c |