commit | ab118da4c10a70b8437f5c90ab77adae1835963e | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Wed Nov 13 12:03:47 2019 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Nov 22 13:18:19 2019 -0800 |
tree | 12426ad5520ca910e71be7807fe5f5230b13ed13 | |
parent | 3243e04ab1c06e7cb1402aff609c83de97956489 [diff] |
net/mlx5: Don't write read-only fields in MODIFY_HCA_VPORT_CONTEXT command The MODIFY_HCA_VPORT_CONTEXT uses field_selector to mask fields needed to be written, other fields are required to be zero according to the HW specification. The supported fields are controlled by bitfield and limited to vport state, node and port GUIDs. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>