net/ice/base: clean duplicate in finding GTPU dummy packet
authorYuying Zhang <yuying.zhang@intel.com>
Mon, 26 Apr 2021 07:17:49 +0000 (07:17 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 28 Apr 2021 01:52:53 +0000 (03:52 +0200)
commit82fc1ea8e33a76dcd7dc09b50f875e1cfa611f5a
tree34c0611a61ef862866776c091a92b4773c14d037
parent6705a69cee1db95a2ddf49e48b215da60f258174
net/ice/base: clean duplicate in finding GTPU dummy packet

Four GTPU tunnel types are used twice to find GTPU dummy packets
(ipv4_gtpu_ipv4/ipv6, ipv6_gtpu_ipv4/ipv6). Clean redundant code.

Signed-off-by: Yuying Zhang <yuying.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_switch.c