net/ice/base: fix RSS removal for GTP-U
authorJunfeng Guo <junfeng.guo@intel.com>
Mon, 13 Jul 2020 11:05:40 +0000 (19:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jul 2020 16:21:21 +0000 (18:21 +0200)
commit27dc00646f54c5fd885ecbd7498d3158ed2fc458
tree37f1cbfca17df586d3fd1add82c5d51251082d6e
parent1c22df86bb50be879458ed7a714a26d0e18766ee
net/ice/base: fix RSS removal for GTP-U

Previous logic in removing RSS for GTPU was added in incorrect lines.
The adjustment in this patch will correct the code order so that RSS
for GTPU can be removed successfully.

We also delete the redundant print statement and cleanup the coding
style in this patch.

Fixes: bed9bb3139ef ("net/ice/base: fix GTP-U inner RSS IPv4 IPv6 co-exist")
Cc: stable@dpdk.org
Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/ice/base/ice_flow.c