net/ice/base: fix tunnel type check for PPPoE
authorWei Zhao <wei.zhao1@intel.com>
Tue, 7 Jul 2020 09:40:47 +0000 (17:40 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commitafa8eeffec6998d3313c36ed10484407ae594730
tree125e0bbfe4c9f6e5b0ad78efb7ed1aa5879786b1
parentff46ba738593306df86c7fed5988cd079df35a19
net/ice/base: fix tunnel type check for PPPoE

This patch fix tunnel type check for PPPoE type of recipe
when search for recipe which has been created before, and
also fix a bug of typo.

Fixes: 418d2563d10b ("net/ice/base: get tunnel type for recipe")

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