mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 11:01:06 -04:00
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: Petr Machata <petrm@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
eb26a59232
commit
8eabd10cdc
@@ -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);
|
||||
|
||||
/* 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
|
||||
* Clear Interrupt register's offset from clr_int_bar register
|
||||
* in PCI address space.
|
||||
|
||||
Reference in New Issue
Block a user