net/enic: fix supported packet types
authorHyong Youb Kim <hyonkim@cisco.com>
Sat, 20 Oct 2018 08:32:47 +0000 (01:32 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:05 +0000 (22:14 +0200)
commit432ed10d817167007dee7ae81f0ee849dde5d7d2
tree76940eebe79f5656013e32cf86eb9054b1fba455
parent21c3c433f37e02a69ea05932d9021c2478086622
net/enic: fix supported packet types

The handler for dev_supported_ptypes_get currently returns null when
the vectorized Rx handler is used. It is also missing tunnel packet
types. Add the missing packet types to the supported list, and return
the right list for the vectorized Rx handler.

Fixes: 8a6ff33d6d36 ("net/enic: add AVX2 based vectorized Rx handler")
Fixes: 93fb21fdbe23 ("net/enic: enable overlay offload for VXLAN and GENEVE")
Cc: stable@dpdk.org
Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_ethdev.c