diff options
author | Saeed Mahameed | 2015-12-01 17:03:15 +0100 |
---|---|---|
committer | David S. Miller | 2015-12-03 18:08:45 +0100 |
commit | c0046cf7b81ac55b8bf056c71918ec04edd99379 (patch) | |
tree | 5e83c60051b2fc517bef0936b6ce3c581b771713 /include/linux/mlx5/mlx5_ifc.h | |
parent | net/mlx5: Introduce access functions to modify/query vport promisc mode (diff) | |
download | kernel-qcow2-linux-c0046cf7b81ac55b8bf056c71918ec04edd99379.tar.gz kernel-qcow2-linux-c0046cf7b81ac55b8bf056c71918ec04edd99379.tar.xz kernel-qcow2-linux-c0046cf7b81ac55b8bf056c71918ec04edd99379.zip |
net/mlx5: Introduce access functions to modify/query vport vlans
Those functions are needed to notify the upcoming L2 table and SR-IOV
E-Switch(FDB) manager(PF), of the NIC vport (vf) vlan table changes.
preperation for ethernet sriov and l2 table management.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 2728b5f6c017..39487d0c305d 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -910,6 +910,13 @@ struct mlx5_ifc_mac_address_layout_bits { u8 mac_addr_31_0[0x20]; }; +struct mlx5_ifc_vlan_layout_bits { + u8 reserved_0[0x14]; + u8 vlan[0x0c]; + + u8 reserved_1[0x20]; +}; + struct mlx5_ifc_cong_control_r_roce_ecn_np_bits { u8 reserved_0[0xa0]; |