bf3785fbd8
SW VLAN insertion relies on Ethernet addresses location in contiguous memory (do not split across mbuf segments). There is no any formal requirements on data location and mbuf structure which guarantee it. So, check it explicitly to avoid corrupted packets if the condition is violated. Typically software VLAN insertion is done on Tx prepare stage and application will get indication that the packet is invalid and cannot be transmitted. Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> |
||
---|---|---|
.. | ||
meson.build | ||
net_crc_neon.h | ||
net_crc_sse.h | ||
rte_arp.c | ||
rte_arp.h | ||
rte_ecpri.h | ||
rte_esp.h | ||
rte_ether.c | ||
rte_ether.h | ||
rte_gre.h | ||
rte_gtp.h | ||
rte_higig.h | ||
rte_icmp.h | ||
rte_ip.h | ||
rte_mpls.h | ||
rte_net_crc.c | ||
rte_net_crc.h | ||
rte_net_version.map | ||
rte_net.c | ||
rte_net.h | ||
rte_sctp.h | ||
rte_tcp.h | ||
rte_udp.h | ||
rte_vxlan.h |