mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 10:17:48 +07:00
mlxsw: cmd: Update CONFIG_PROFILE command documentation
The meaning of certain parameters in the profile passed to the device during initialization has changed, so update their documentation accordingly. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
801bd3defb
commit
5cd16d8c78
@ -570,7 +570,7 @@ MLXSW_ITEM32(cmd_mbox, config_profile, set_max_vlan_groups, 0x0C, 6, 1);
|
|||||||
*/
|
*/
|
||||||
MLXSW_ITEM32(cmd_mbox, config_profile, set_max_regions, 0x0C, 7, 1);
|
MLXSW_ITEM32(cmd_mbox, config_profile, set_max_regions, 0x0C, 7, 1);
|
||||||
|
|
||||||
/* cmd_mbox_config_profile_set_fid_based
|
/* cmd_mbox_config_profile_set_flood_mode
|
||||||
* Capability bit. Setting a bit to 1 configures the profile
|
* Capability bit. Setting a bit to 1 configures the profile
|
||||||
* according to the mailbox contents.
|
* according to the mailbox contents.
|
||||||
*/
|
*/
|
||||||
@ -651,12 +651,8 @@ MLXSW_ITEM32(cmd_mbox, config_profile, max_vlan_groups, 0x28, 0, 12);
|
|||||||
MLXSW_ITEM32(cmd_mbox, config_profile, max_regions, 0x2C, 0, 16);
|
MLXSW_ITEM32(cmd_mbox, config_profile, max_regions, 0x2C, 0, 16);
|
||||||
|
|
||||||
/* cmd_mbox_config_profile_max_flood_tables
|
/* cmd_mbox_config_profile_max_flood_tables
|
||||||
* Maximum number of Flooding Tables. Flooding Tables are associated to
|
* Maximum number of single-entry flooding tables. Different flooding tables
|
||||||
* the different packet types for the different switch partitions.
|
* can be associated with different packet types.
|
||||||
* Note that the table size depends on the fid_based mode.
|
|
||||||
* In SwitchX silicon, tables are split equally between the switch
|
|
||||||
* partitions. e.g. for 2 swids and 8 tables, the first 4 are associated
|
|
||||||
* with swid-1 and the last 4 are associated with swid-2.
|
|
||||||
*/
|
*/
|
||||||
MLXSW_ITEM32(cmd_mbox, config_profile, max_flood_tables, 0x30, 16, 4);
|
MLXSW_ITEM32(cmd_mbox, config_profile, max_flood_tables, 0x30, 16, 4);
|
||||||
|
|
||||||
@ -667,12 +663,14 @@ MLXSW_ITEM32(cmd_mbox, config_profile, max_flood_tables, 0x30, 16, 4);
|
|||||||
*/
|
*/
|
||||||
MLXSW_ITEM32(cmd_mbox, config_profile, max_vid_flood_tables, 0x30, 8, 4);
|
MLXSW_ITEM32(cmd_mbox, config_profile, max_vid_flood_tables, 0x30, 8, 4);
|
||||||
|
|
||||||
/* cmd_mbox_config_profile_fid_based
|
/* cmd_mbox_config_profile_flood_mode
|
||||||
* FID Based Flood Mode
|
* Flooding mode to use.
|
||||||
* 00 Do not use FID to offset the index into the Port Group Table/Multicast ID
|
* 0-2 - Backward compatible modes for SwitchX devices.
|
||||||
* 01 Use FID to offset the index to the Port Group Table (pgi)
|
* 3 - Mixed mode, where:
|
||||||
* 10 Use FID to offset the index to the Port Group Table (pgi) and
|
* max_flood_tables indicates the number of single-entry tables.
|
||||||
* the Multicast ID
|
* max_vid_flood_tables indicates the number of per-VID tables.
|
||||||
|
* max_fid_offset_flood_tables indicates the number of FID-offset tables.
|
||||||
|
* max_fid_flood_tables indicates the number of per-FID tables.
|
||||||
*/
|
*/
|
||||||
MLXSW_ITEM32(cmd_mbox, config_profile, flood_mode, 0x30, 0, 2);
|
MLXSW_ITEM32(cmd_mbox, config_profile, flood_mode, 0x30, 0, 2);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user