diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-09-15 09:46:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-16 21:39:27 +0200 |
commit | 58a406def4374c08d063ec9ff97da74a74e1a9bf (patch) | |
tree | 551c051e3986aaaf02cdf0e21af5f7ef3e7a9745 /net/core/drop_monitor.c | |
parent | db539cae12a3456cc710855b345542ccd2946e25 (diff) | |
download | lwn-58a406def4374c08d063ec9ff97da74a74e1a9bf.tar.gz lwn-58a406def4374c08d063ec9ff97da74a74e1a9bf.zip |
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>
Diffstat (limited to 'net/core/drop_monitor.c')
0 files changed, 0 insertions, 0 deletions