Skip to content

Commit 8e0644e

Browse files
johndale88kuba-moo
authored andcommitted
enic: Fix typo in comment in table indexed by link speed
The RX adaptive interrupt moderation table is indexed by link speed range, where the last row of the table is the catch-all for all link speeds greater than 10Gbps. The comment said 10 - 40Gbps, but since there are now adapters with link speeds than 40Gbps, the comment is now wrong and should indicate it applies to all speeds greater than 10Gbps. Co-developed-by: Nelson Escobar <[email protected]> Signed-off-by: Nelson Escobar <[email protected]> Co-developed-by: Satish Kharat <[email protected]> Signed-off-by: Satish Kharat <[email protected]> Signed-off-by: John Daley <[email protected]> Reviewed-by: Kalesh AP <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 238d77d commit 8e0644e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/cisco/enic/enic_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static struct enic_intr_mod_table mod_table[ENIC_MAX_COALESCE_TIMERS + 1] = {
109109
static struct enic_intr_mod_range mod_range[ENIC_MAX_LINK_SPEEDS] = {
110110
{0, 0}, /* 0 - 4 Gbps */
111111
{0, 3}, /* 4 - 10 Gbps */
112-
{3, 6}, /* 10 - 40 Gbps */
112+
{3, 6}, /* 10+ Gbps */
113113
};
114114

115115
static void enic_init_affinity_hint(struct enic *enic)

0 commit comments

Comments
 (0)