Commit 16985271 authored by Elad Raz's avatar Elad Raz Committed by David S. Miller

mlxsw: cmd: Fix API name comments for event-queues

Probably some copy-paste error from "int_msix" that caused "int_" prefix to
appear in the comments for all "eq_" APIs.
Signed-off-by: default avatarElad Raz <eladr@mellanox.com>
Acked-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 36ca68bf
...@@ -1132,12 +1132,12 @@ static inline int mlxsw_cmd_sw2hw_eq(struct mlxsw_core *mlxsw_core, ...@@ -1132,12 +1132,12 @@ static inline int mlxsw_cmd_sw2hw_eq(struct mlxsw_core *mlxsw_core,
*/ */
MLXSW_ITEM32(cmd_mbox, sw2hw_eq, int_msix, 0x00, 24, 1); MLXSW_ITEM32(cmd_mbox, sw2hw_eq, int_msix, 0x00, 24, 1);
/* cmd_mbox_sw2hw_eq_int_oi /* cmd_mbox_sw2hw_eq_oi
* When set, overrun ignore is enabled. * When set, overrun ignore is enabled.
*/ */
MLXSW_ITEM32(cmd_mbox, sw2hw_eq, oi, 0x00, 12, 1); MLXSW_ITEM32(cmd_mbox, sw2hw_eq, oi, 0x00, 12, 1);
/* cmd_mbox_sw2hw_eq_int_st /* cmd_mbox_sw2hw_eq_st
* Event delivery state machine * Event delivery state machine
* 0x0 - FIRED * 0x0 - FIRED
* 0x1 - ARMED (Request for Notification) * 0x1 - ARMED (Request for Notification)
...@@ -1146,19 +1146,19 @@ MLXSW_ITEM32(cmd_mbox, sw2hw_eq, oi, 0x00, 12, 1); ...@@ -1146,19 +1146,19 @@ MLXSW_ITEM32(cmd_mbox, sw2hw_eq, oi, 0x00, 12, 1);
*/ */
MLXSW_ITEM32(cmd_mbox, sw2hw_eq, st, 0x00, 8, 2); MLXSW_ITEM32(cmd_mbox, sw2hw_eq, st, 0x00, 8, 2);
/* cmd_mbox_sw2hw_eq_int_log_eq_size /* cmd_mbox_sw2hw_eq_log_eq_size
* Log (base 2) of the EQ size (in entries). * Log (base 2) of the EQ size (in entries).
*/ */
MLXSW_ITEM32(cmd_mbox, sw2hw_eq, log_eq_size, 0x00, 0, 4); MLXSW_ITEM32(cmd_mbox, sw2hw_eq, log_eq_size, 0x00, 0, 4);
/* cmd_mbox_sw2hw_eq_int_producer_counter /* cmd_mbox_sw2hw_eq_producer_counter
* Producer Counter. The counter is incremented for each EQE that is written * Producer Counter. The counter is incremented for each EQE that is written
* by the HW to the EQ. * by the HW to the EQ.
* Maintained by HW (valid for the QUERY_EQ command only) * Maintained by HW (valid for the QUERY_EQ command only)
*/ */
MLXSW_ITEM32(cmd_mbox, sw2hw_eq, producer_counter, 0x04, 0, 16); MLXSW_ITEM32(cmd_mbox, sw2hw_eq, producer_counter, 0x04, 0, 16);
/* cmd_mbox_sw2hw_eq_int_pa /* cmd_mbox_sw2hw_eq_pa
* Physical Address. * Physical Address.
*/ */
MLXSW_ITEM64_INDEXED(cmd_mbox, sw2hw_eq, pa, 0x10, 11, 53, 0x08, 0x00, true); MLXSW_ITEM64_INDEXED(cmd_mbox, sw2hw_eq, pa, 0x10, 11, 53, 0x08, 0x00, true);
......
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