Skip to content

Commit b9aa0ba

Browse files
Paul BlakeySaeed Mahameed
authored andcommitted
net/mlx5: Add cap bits for multi fdb encap
If set, the firmware supports creating of flow tables with encap enabled while VFs are configured, if we already created one (restriction still applies on the first creation). Signed-off-by: Paul Blakey <[email protected]> Reviewed-by: Or Gerlitz <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent a88780a commit b9aa0ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,9 @@ struct mlx5_ifc_flow_table_nic_cap_bits {
584584
struct mlx5_ifc_flow_table_eswitch_cap_bits {
585585
u8 reserved_at_0[0x1c];
586586
u8 fdb_multi_path_to_table[0x1];
587-
u8 reserved_at_1d[0x1e3];
587+
u8 reserved_at_1d[0x1];
588+
u8 multi_fdb_encap[0x1];
589+
u8 reserved_at_1e[0x1e1];
588590

589591
struct mlx5_ifc_flow_table_prop_layout_bits flow_table_properties_nic_esw_fdb;
590592

0 commit comments

Comments
 (0)