net/ice/base: fix inner TCP and UDP support for GRE
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 23 Jul 2019 03:51:10 +0000 (11:51 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 24 Jul 2019 14:00:57 +0000 (16:00 +0200)
commitb83a0c2903223f3b26838e75ab6ff0afeb653dc3
tree6407c68b84d5ff9511da4dde136eecf0c243de83
parent1fc9701238edcf0541289b9ae15565b6d9d7ab30
net/ice/base: fix inner TCP and UDP support for GRE

The dummy packets for GRE were set up for IP, but not inner
TCP or UDP. There are some applications that want to be
able to parse on those inner L4 headers so add them to
the dummy packets.

Also, the GRE dummy packet was formatted differently from
the other dummy packets so change the formatting to match
all the other dummy packets.

Fixes: 839c0a4b77e6 ("net/ice/base: enable additional switch rules")

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_switch.c