diff mbox series

[mlx5-next] net/mlx5: Add bit to indicate support for encap/decap in sw-steering managed tables

Message ID 20200123063904.685314-1-saeedm@mellanox.com (mailing list archive)
State Not Applicable
Headers show
Series [mlx5-next] net/mlx5: Add bit to indicate support for encap/decap in sw-steering managed tables | expand

Commit Message

Saeed Mahameed Jan. 23, 2020, 6:39 a.m. UTC
From: Erez Shitrit <erezsh@mellanox.com>

Whenever set, the FW allows driver to open sw-steering table with
encap/decap ability.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
---
 include/linux/mlx5/mlx5_ifc.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Saeed Mahameed Jan. 24, 2020, 9:15 p.m. UTC | #1
On Thu, 2020-01-23 at 06:39 +0000, Saeed Mahameed wrote:
> From: Erez Shitrit <erezsh@mellanox.com>
> 
> Whenever set, the FW allows driver to open sw-steering table with
> encap/decap ability.
> 
> Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
> ---
>  include/linux/mlx5/mlx5_ifc.h | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
Applied to mlx5-next

Thanks,
Saeed.
diff mbox series

Patch

diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 0796401d2e80..257c40fdb4ba 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -688,7 +688,10 @@  struct mlx5_ifc_flow_table_nic_cap_bits {
 	u8         nic_rx_multi_path_tirs[0x1];
 	u8         nic_rx_multi_path_tirs_fts[0x1];
 	u8         allow_sniffer_and_nic_rx_shared_tir[0x1];
-	u8	   reserved_at_3[0x1d];
+	u8	   reserved_at_3[0x4];
+	u8	   sw_owner_reformat_supported[0x1];
+	u8	   reserved_at_8[0x18];
+
 	u8	   encap_general_header[0x1];
 	u8	   reserved_at_21[0xa];
 	u8	   log_max_packet_reformat_context[0x5];