OpenCloudOS-Kernel/drivers/net/netdevsim
Ido Schimmel 58a406def4 netdevsim: Set offsets to various protocol layers
The driver periodically generates "trapped" UDP packets that it then
passes on to devlink. Set the offsets to the various protocol layers.

This is a prerequisite to the next patch, where drop monitor is taught
to check that the offset to the MAC header was set.

Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-16 21:39:27 +02:00
..
Makefile netdevsim: merge sdev into dev 2019-04-26 01:52:02 -04:00
bpf.c netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
bus.c netdevsim: Make nsim_num_vf static 2019-05-05 10:48:45 -07:00
dev.c netdevsim: Set offsets to various protocol layers 2019-09-16 21:39:27 +02:00
fib.c netdevsim: Restore per-network namespace accounting for fib entries 2019-08-11 20:59:19 -07:00
ipsec.c netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
netdev.c netdevsim: Restore per-network namespace accounting for fib entries 2019-08-11 20:59:19 -07:00
netdevsim.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-19 11:54:03 -07:00
sdev.c netdevsim: move shared dev creation and destruction into separate file 2019-04-12 16:49:54 -07:00