Commit 8eabd10c authored by Petr Machata's avatar Petr Machata Committed by David S. Miller

mlxsw: cmd: Add QUERY_FW.lag_mode_support

Add QUERY_FW.lag_mode_support, which determines whether
CONFIG_PROFILE.lag_mode is available.
Signed-off-by: default avatarPetr Machata <petrm@nvidia.com>
Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent eb26a592
...@@ -276,6 +276,12 @@ MLXSW_ITEM32(cmd_mbox, query_fw, fw_month, 0x14, 8, 8); ...@@ -276,6 +276,12 @@ MLXSW_ITEM32(cmd_mbox, query_fw, fw_month, 0x14, 8, 8);
*/ */
MLXSW_ITEM32(cmd_mbox, query_fw, fw_day, 0x14, 0, 8); MLXSW_ITEM32(cmd_mbox, query_fw, fw_day, 0x14, 0, 8);
/* cmd_mbox_query_fw_lag_mode_support
* 0: CONFIG_PROFILE.lag_mode is not supported by FW
* 1: CONFIG_PROFILE.lag_mode is supported by FW
*/
MLXSW_ITEM32(cmd_mbox, query_fw, lag_mode_support, 0x18, 1, 1);
/* cmd_mbox_query_fw_clr_int_base_offset /* cmd_mbox_query_fw_clr_int_base_offset
* Clear Interrupt register's offset from clr_int_bar register * Clear Interrupt register's offset from clr_int_bar register
* in PCI address space. * in PCI address space.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment