net/mlx5: update GENEVE TLV option exist bit
PATCH 1/1 net/mlx5: update GENEVE TLV option exist bit
The GENEVE TLV option matching is done using a flex parser.
Recent update in firmware, requires that in order to match on the GENEVE TLV option the "geneve_tlv_option_0_exist" bit should be set.
Add the new "geneve_tlv_option_0_exist" setting when translating the GENEVE TLV option item.
--- drivers/common/mlx5/mlx5_prm.h | 3 ++- drivers/net/mlx5/mlx5_flow_dv.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-)
drivers/common/mlx5/mlx5_prm.h +2 -1
@@ -853,7 +853,8 @@ struct mlx5_ifc_fte_match_set_misc_bits {u8 vxlan_vni[0x18 ];u8 reserved_at_b8[0x8 ];u8 geneve_vni[0x18 ]; -u8 reserved_at_e4[0x7 ]; +u8 reserved_at_e4[0x6 ]; +u8 geneve_tlv_option_0_exist[0x1 ];u8 geneve_oam[0x1 ];u8 reserved_at_e0[0xc ];u8 outer_ipv6_flow_label[0x14 ];
drivers/net/mlx5/mlx5_flow_dv.c +2 -0
@@ -8939,6 +8939,8 @@ flow_dv_translate_item_geneve_opt(struct rte_eth_dev *dev, void *matcher,MLX5_SET (fte_match_set_misc, misc_v, geneve_opt_len, geneve_opt_v->option_len +1 ); } +MLX5_SET (fte_match_set_misc, misc_m, geneve_tlv_option_0_exist,1 ); +MLX5_SET (fte_match_set_misc, misc_v, geneve_tlv_option_0_exist,1 );/* Set the data. */ if (geneve_opt_v->data) { memcpy(&opt_data_key, geneve_opt_v->data,
Signature · 1 line
2.27.0
Hi Shiri,
Quoted 13 lines
-----Original Message-----
From: Shiri Kuzin <[email protected]>
Sent: Monday, May 31, 2021 2:46 PM
To: [email protected]
Cc: Matan Azrad <[email protected]>; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>
Subject: [PATCH] net/mlx5: update GENEVE TLV option exist bitThe GENEVE TLV option matching is done using a flex parser.
Recent update in firmware, requires that in order to match on the GENEVE TLV option the "
geneve_tlv_option_0_exist" bit should be set.
Quoted 6 lines
Add the new "
geneve_tlv_option_0_exist" setting when translating the GENEVE TLV option item.Signed-off-by Shiri Kuzin <[email protected]>---
This is a valid Patch for Stable, so I'll add it during integration Cc:[email protected]
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
This patch will be removed for now until FW support is fully done and be added when the support is completed.
Regards,
Shiri
Quoted 37 lines
-----Original Message-----
From: Raslan Darawsheh <[email protected]>
Sent: Sunday, June 6, 2021 2:32 PM
To: Shiri Kuzin <[email protected]>; [email protected]
Cc: Matan Azrad <[email protected]>; Slava Ovsiienko <[email protected]>; [email protected]
Subject: RE: [PATCH] net/mlx5: update GENEVE TLV option exist bitHi Shiri,
Quoted 13 lines
-----Original Message-----
From: Shiri Kuzin <[email protected]>
Sent: Monday, May 31, 2021 2:46 PM
To: [email protected]
Cc: Matan Azrad <[email protected]>; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>
Subject: [PATCH] net/mlx5: update GENEVE TLV option exist bitThe GENEVE TLV option matching is done using a flex parser.
Recent update in firmware, requires that in order to match on the GENEVE TLV option the "
geneve_tlv_option_0_exist" bit should be set.Quoted 6 lines
Add the new "
geneve_tlv_option_0_exist" setting when translating the GENEVE TLV option item.Signed-off-by Shiri Kuzin <[email protected]>---
This is a valid Patch for Stable, so I'll add it during integration Cc:[email protected]
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
Ok dropping this patch from next-net-mlx,
Kindest regards,
Raslan Darawsheh
Quoted 50 lines
-----Original Message-----
From: Shiri Kuzin <[email protected]>
Sent: Thursday, June 24, 2021 11:55 AM
To: Raslan Darawsheh <[email protected]>; [email protected]
Cc: [email protected]
Subject: RE: [PATCH] net/mlx5: update GENEVE TLV option exist bitThis patch will be removed for now until FW support is fully done and be added when the support is completed.
Regards,
ShiriQuoted 37 lines
-----Original Message-----
From: Raslan Darawsheh <[email protected]>
Sent: Sunday, June 6, 2021 2:32 PM
To: Shiri Kuzin <[email protected]>; [email protected]
Cc: Matan Azrad <[email protected]>; Slava Ovsiienko <[email protected]>; [email protected]
Subject: RE: [PATCH] net/mlx5: update GENEVE TLV option exist bitHi Shiri,
Quoted 13 lines
-----Original Message-----
From: Shiri Kuzin <[email protected]>
Sent: Monday, May 31, 2021 2:46 PM
To: [email protected]
Cc: Matan Azrad <[email protected]>; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>
Subject: [PATCH] net/mlx5: update GENEVE TLV option exist bitThe GENEVE TLV option matching is done using a flex parser.
Recent update in firmware, requires that in order to match on the GENEVE TLV option the "
geneve_tlv_option_0_exist" bit should be set.Quoted 6 lines
Add the new "
geneve_tlv_option_0_exist" setting when translating the GENEVE TLV option item.Signed-off-by Shiri Kuzin <[email protected]>---
This is a valid Patch for Stable, so I'll add it during integration Cc:[email protected]
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
Hi,
Quoted 7 lines
-----Original Message-----
From: Raslan Darawsheh
Sent: Thursday, June 24, 2021 2:20 PM
To: Shiri Kuzin <[email protected]>; [email protected]
Cc: [email protected]
Subject: RE: [PATCH] net/mlx5: update GENEVE TLV option exist bit
Quoted 55 lines
Ok dropping this patch from next-net-mlx,
Kindest regards,
Raslan DarawshehQuoted 50 lines
-----Original Message-----
From: Shiri Kuzin <[email protected]>
Sent: Thursday, June 24, 2021 11:55 AM
To: Raslan Darawsheh <[email protected]>; [email protected]
Cc: [email protected]
Subject: RE: [PATCH] net/mlx5: update GENEVE TLV option exist bitThis patch will be removed for now until FW support is fully done and be added when the support is completed.
Regards,
ShiriQuoted 37 lines
-----Original Message-----
From: Raslan Darawsheh <[email protected]>
Sent: Sunday, June 6, 2021 2:32 PM
To: Shiri Kuzin <[email protected]>; [email protected]
Cc: Matan Azrad <[email protected]>; Slava Ovsiienko <[email protected]>; [email protected]
Subject: RE: [PATCH] net/mlx5: update GENEVE TLV option exist bitHi Shiri,
Quoted 13 lines
-----Original Message-----
From: Shiri Kuzin <[email protected]>
Sent: Monday, May 31, 2021 2:46 PM
To: [email protected]
Cc: Matan Azrad <[email protected]>; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>
Subject: [PATCH] net/mlx5: update GENEVE TLV option exist bitThe GENEVE TLV option matching is done using a flex parser.
Recent update in firmware, requires that in order to match on the GENEVE TLV option the "
geneve_tlv_option_0_exist" bit should be set.Quoted 6 lines
Add the new "
geneve_tlv_option_0_exist" setting when translating the GENEVE TLV option item.Signed-off-by Shiri Kuzin <[email protected]>---
This is a valid Patch for Stable, so I'll add it during integration Cc:[email protected]
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
FW has prober fix for it,
So applying the patch again to next-net-mlx,
Kindest regards,
Raslan Darawsheh