From: Qi Zhang Date: Thu, 29 Aug 2019 02:36:32 +0000 (+0800) Subject: net/ice/base: update UDP tunnel switch training packets X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8b6e6e4024ae5c1fc11f9dfdaa8848b4583ff03f;p=dpdk.git net/ice/base: update UDP tunnel switch training packets Change UDP tunnel training packets for the switch to work for both Geneve and VXLAN cases. Signed-off-by: Dan Nowlin Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Xiaolong Ye --- diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c index bc7caf1a8e..65ec1bb930 100644 --- a/drivers/net/ice/base/ice_switch.c +++ b/drivers/net/ice/base/ice_switch.c @@ -179,7 +179,7 @@ u8 dummy_udp_tun_tcp_packet[] = { 0x00, 0x00, 0x12, 0xb5, /* ICE_UDP_OF 34 */ 0x00, 0x46, 0x00, 0x00, - 0x04, 0x00, 0x00, 0x03, /* ICE_VXLAN 42 */ + 0x00, 0x00, 0x65, 0x58, /* ICE_VXLAN 42 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ICE_MAC_IL 50 */ @@ -230,7 +230,7 @@ u8 dummy_udp_tun_udp_packet[] = { 0x00, 0x00, 0x12, 0xb5, /* ICE_UDP_OF 34 */ 0x00, 0x3a, 0x00, 0x00, - 0x0c, 0x00, 0x00, 0x03, /* ICE_VXLAN 42 */ + 0x00, 0x00, 0x65, 0x58, /* ICE_VXLAN 42 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ICE_MAC_IL 50 */