net/vmxnet3: return unknown IPv4 extension len ptype
authorDidier Pallard <didier.pallard@6wind.com>
Wed, 28 Mar 2018 15:43:43 +0000 (17:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:41 +0000 (17:34 +0100)
commit0fbb05bbe3f13b0fae4e0bd6e7a1f0f82038ec8a
treef2f2154984c7ade40ca21a051066e45283069077
parent8f0e4d6a78a52e929aa4852bf94601ce7dc2199f
net/vmxnet3: return unknown IPv4 extension len ptype

Rather than parsing IP header to get proper ptype to return, just return
RTE_PTYPE_L3_IPV4_EXT_UNKNOWN, that tells application that we have an IP
packet with unknown header length.

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Yong Wang <yongwang@vmware.com>
drivers/net/vmxnet3/vmxnet3_rxtx.c