net/qede: check tunnel L3 header
authorHarish Patil <harish.patil@cavium.com>
Sat, 27 Jan 2018 21:15:27 +0000 (13:15 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:47:38 +0000 (10:47 +0100)
commit3f72dd780e1078191305e6ed4268f82ff3cf1e02
tree77bfbb803c13c1a465e61a07d495875cc25e8371
parentc8b34b7e9af93017747d758c64777450368384f7
net/qede: check tunnel L3 header

- Add a check to verify tunnel IP header checksum is valid and mark MBUF
flag as appropriate.
- Bit of refactoring so that inner frame handling for tunneled packets can
be made common as regular (non-tunneled) packets.
- make qede_tunn_exist() as inline.
- remove RTE_PTYPE_L2_ETHER as default L2 pkt_type.

Fixes: 3d4bb4411683 ("net/qede: add fastpath support for VXLAN tunneling")
Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@cavium.com>
drivers/net/qede/qede_rxtx.c