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 <dan.nowlin@intel.com>
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: Xiaolong Ye <xiaolong.ye@intel.com>
This commit is contained in:
Qi Zhang 2019-08-29 10:36:32 +08:00 committed by Ferruh Yigit
parent aa6ff47ad8
commit 8b6e6e4024

View File

@ -179,7 +179,7 @@ u8 dummy_udp_tun_tcp_packet[] = {
0x00, 0x00, 0x12, 0xb5, /* ICE_UDP_OF 34 */ 0x00, 0x00, 0x12, 0xb5, /* ICE_UDP_OF 34 */
0x00, 0x46, 0x00, 0x00, 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,
0x00, 0x00, 0x00, 0x00, /* ICE_MAC_IL 50 */ 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, 0x00, 0x12, 0xb5, /* ICE_UDP_OF 34 */
0x00, 0x3a, 0x00, 0x00, 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,
0x00, 0x00, 0x00, 0x00, /* ICE_MAC_IL 50 */ 0x00, 0x00, 0x00, 0x00, /* ICE_MAC_IL 50 */