net/ice/base: update GTPU EH dummy packets for FDIR
Update GTPU EH dummy pkts for FDIR, including EH/DL/UL. Signed-off-by: Junfeng Guo <junfeng.guo@intel.com> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Qiming Yang <qiming.yang@intel.com>
This commit is contained in:
parent
f977165db0
commit
872a654998
@ -100,138 +100,130 @@ static const u8 ice_fdir_tcp4_gtpu4_pkt[] = {
|
||||
static const u8 ice_fdir_ipv4_gtpu4_eh_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x44, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xfb, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x30,
|
||||
0x76, 0x6c, 0x34, 0xff, 0x00, 0x20, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x14, 0x00, 0x01, 0x00, 0x00, 0x40, 0x00,
|
||||
0x3a, 0x3d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x42, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0xa8, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x2e,
|
||||
0xba, 0x1d, 0x34, 0xff, 0x00, 0x1e, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x00,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x16, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x00, 0x7c, 0xe5, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_udp4_gtpu4_eh_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x4c, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xf3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x38,
|
||||
0xb7, 0x1a, 0x34, 0xff, 0x00, 0x28, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x1c, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x3a, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08,
|
||||
0xbe, 0xc7, 0x00, 0x00,
|
||||
0x00, 0x4a, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0xa0, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x36,
|
||||
0xb8, 0x23, 0x34, 0xff, 0x00, 0x26, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x00,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x1e, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x11, 0x7c, 0xcc, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x0a, 0x01, 0xd8, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_tcp4_gtpu4_eh_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x58, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x44,
|
||||
0xb6, 0xf7, 0x34, 0xff, 0x00, 0x34, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x28, 0x00, 0x01, 0x00, 0x00, 0x40, 0x06,
|
||||
0x3a, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x56, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0x94, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x42,
|
||||
0xb8, 0x00, 0x34, 0xff, 0x00, 0x32, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x00,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x2a, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x06, 0x7c, 0xcb, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x02,
|
||||
0x20, 0x00, 0x4e, 0xd2, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x50, 0x02, 0x20, 0x00, 0x91, 0xde,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_ipv4_gtpu4_eh_dw_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x58, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x44,
|
||||
0xb6, 0xf7, 0x34, 0xff, 0x00, 0x34, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x28, 0x00, 0x01, 0x00, 0x00, 0x40, 0x06,
|
||||
0x3a, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x02,
|
||||
0x20, 0x00, 0x4e, 0xd2, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x42, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0xa8, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x2e,
|
||||
0xba, 0x1d, 0x34, 0xff, 0x00, 0x1e, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x00,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x16, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x00, 0x7c, 0xe5, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_udp4_gtpu4_eh_dw_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x4c, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xf3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x38,
|
||||
0xb7, 0x1a, 0x34, 0xff, 0x00, 0x28, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x1c, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x3a, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08,
|
||||
0xbe, 0xc7, 0x00, 0x00,
|
||||
0x00, 0x4a, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0xa0, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x36,
|
||||
0xb8, 0x23, 0x34, 0xff, 0x00, 0x26, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x00,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x1e, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x11, 0x7c, 0xcc, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x0a, 0x01, 0xd8, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_tcp4_gtpu4_eh_dw_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x58, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x44,
|
||||
0xb6, 0xf7, 0x34, 0xff, 0x00, 0x34, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x28, 0x00, 0x01, 0x00, 0x00, 0x40, 0x06,
|
||||
0x3a, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x56, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0x94, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x42,
|
||||
0xb8, 0x00, 0x34, 0xff, 0x00, 0x32, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x00,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x2a, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x06, 0x7c, 0xcb, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x02,
|
||||
0x20, 0x00, 0x4e, 0xd2, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x50, 0x02, 0x20, 0x00, 0x91, 0xde,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_ipv4_gtpu4_eh_up_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x44, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xfb, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x30,
|
||||
0x76, 0x5c, 0x34, 0xff, 0x00, 0x20, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x10,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x14, 0x00, 0x01, 0x00, 0x00, 0x40, 0x00,
|
||||
0x3a, 0x3d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x42, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0xa8, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x2e,
|
||||
0xba, 0x0d, 0x34, 0xff, 0x00, 0x1e, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x10,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x16, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x00, 0x7c, 0xe5, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_udp4_gtpu4_eh_up_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x4c, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xf3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x38,
|
||||
0xb7, 0x0a, 0x34, 0xff, 0x00, 0x28, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x10,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x1c, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x3a, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08,
|
||||
0xbe, 0xc7, 0x00, 0x00,
|
||||
0x00, 0x4a, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0xa0, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x36,
|
||||
0xb8, 0x13, 0x34, 0xff, 0x00, 0x26, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x10,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x1e, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x11, 0x7c, 0xcc, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x0a, 0x01, 0xd8, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_tcp4_gtpu4_eh_up_pkt[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00,
|
||||
0x00, 0x58, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x39, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x08, 0x68, 0x08, 0x68, 0x00, 0x44,
|
||||
0xb6, 0xe7, 0x34, 0xff, 0x00, 0x34, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x02, 0x10,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
|
||||
0x00, 0x28, 0x00, 0x01, 0x00, 0x00, 0x40, 0x06,
|
||||
0x3a, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x56, 0x00, 0x01, 0x00, 0x00, 0x40, 0x11,
|
||||
0x7c, 0x94, 0x7f, 0x00, 0x00, 0x01, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x08, 0x68, 0x08, 0x68, 0x00, 0x42,
|
||||
0xb7, 0xf0, 0x34, 0xff, 0x00, 0x32, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x01, 0x10,
|
||||
0x00, 0x00, 0x45, 0x00, 0x00, 0x2a, 0x00, 0x01,
|
||||
0x00, 0x00, 0x40, 0x06, 0x7c, 0xcb, 0x7f, 0x00,
|
||||
0x00, 0x01, 0x7f, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x02,
|
||||
0x20, 0x00, 0x4e, 0xd2, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x50, 0x02, 0x20, 0x00, 0x91, 0xde,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
static const u8 ice_fdir_icmp4_gtpu4_pkt[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user