net/qede: remove IPv4/IPv6 as valid ntuple flows
authorHarish Patil <harish.patil@cavium.com>
Tue, 25 Apr 2017 07:28:41 +0000 (00:28 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Apr 2017 12:46:18 +0000 (14:46 +0200)
commite82b275b3217d67cd570e0564af480f34fd860cc
tree12cc3d4fc5e1c806c31a2b5eb9fd68aa5dc68a9c
parenta8ebf42f5620e69292b76d89becfae711cacce2f
net/qede: remove IPv4/IPv6 as valid ntuple flows

Firmware supports ntuple configuration which is always based on 4-tuples.
So remove RTE_ETH_FLOW_FRAG_IPV4 and RTE_ETH_FLOW_FRAG_IPV6 as valid flows.
Also merge the two switch statements into one.

Fixes: 622075356e8f ("net/qede: support ntuple and flow director filter")

Signed-off-by: Harish Patil <harish.patil@cavium.com>
drivers/net/qede/qede_fdir.c