From: Qi Zhang Date: Mon, 23 Sep 2019 07:44:42 +0000 (+0800) Subject: net/ice/base: fix 4 bytes alignment for PPPoE dummy packet X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4831259477f00a367816963376ad56dc76cbe488;hp=2ed5eb0caabb67577efaac5b32050d81b5e907f9;p=dpdk.git net/ice/base: fix 4 bytes alignment for PPPoE dummy packet Add two bytes to meet the requirement of 4 bytes alignment for dummy packet for creating switch rule for PPPoE. Fixes: d1c2f76b440a ("net/ice/base: support GTP and PPPoE protocols") Signed-off-by: Junfeng Guo Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c index 9681d95900..7681ba38b6 100644 --- a/drivers/net/ice/base/ice_switch.c +++ b/drivers/net/ice/base/ice_switch.c @@ -441,6 +441,8 @@ dummy_pppoe_packet[] = { 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + + 0x00, 0x00, /* 2 bytes for 4 byte alignment */ }; /* this is a recipe to profile association bitmap */