diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-10-16 12:04:51 +0200 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-10-20 15:14:05 +0000 |
commit | 270055a41accbb421d9016eb972fcd4ea0343671 (patch) | |
tree | d87dbae56099b6b5231ca763f19e175fe53db095 /src/vnet/devices/netmap/netmap.h | |
parent | cef69caf1dcd3a2452d38c5fa516d0b61b56c34a (diff) |
pipes: fix the l2.l2_len and the l[23]_hdr_offset setting behavior of pipe-rx node to match that of ethernet-input node
Since pipe-rx is a sibling node of ethernet-input, it ought to perform similarly: set l2/l3 header offsets,
and l2.l2_len value if the interface is in the l2 mode.
The use cases of pipes do not assume the tagged traffic, so
assume the simple ethernet header.
Change-Id: I7c9b5f4f2b1402cfbd10513f76cdd59b2db7a7a6
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet/devices/netmap/netmap.h')
0 files changed, 0 insertions, 0 deletions