net/ice/base: fix PPPoE-IPv6 dummy packet
authorWei Zhao <wei.zhao1@intel.com>
Thu, 7 May 2020 01:15:41 +0000 (09:15 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
The dummy packet for pppoe-ipv6 has an error, we should
use 0x3b for next header in ipv6 header in the dummy packet,
or some case can not be download, such as:

"eth / pppoes seid is 3 / pppoe_proto_id is 0x0057 /
end actions vf id 1 / end"

Fixes: 55d61fb27a5e ("net/ice/base: add PPPoE IPv6 dummy packet")

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

index f3d52d2..17fbd26 100644 (file)
@@ -577,7 +577,7 @@ static const u8 dummy_pppoe_ipv6_packet[] = {
        0x00, 0x57,             /* PPP Link Layer 24 */
 
        0x60, 0x00, 0x00, 0x00, /* ICE_IPV6_OFOS 26 */
-       0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x3b, 0x00,
        0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00,