Skip to content

Commit ef1c288

Browse files
committed
eth: fbnic: don't reset the secondary RSS indir table
Secondary RSS indirection table is for additional contexts. It can / should be initialized when such context is created. Since we don't support creating RSS contexts, yet, this change has no user visible effect. Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 7cb06a6 commit ef1c288

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/net/ethernet/meta/fbnic/fbnic_rpc.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ void fbnic_reset_indir_tbl(struct fbnic_net *fbn)
1313
unsigned int num_rx = fbn->num_rx_queues;
1414
unsigned int i;
1515

16-
for (i = 0; i < FBNIC_RPC_RSS_TBL_SIZE; i++) {
16+
for (i = 0; i < FBNIC_RPC_RSS_TBL_SIZE; i++)
1717
fbn->indir_tbl[0][i] = ethtool_rxfh_indir_default(i, num_rx);
18-
fbn->indir_tbl[1][i] = ethtool_rxfh_indir_default(i, num_rx);
19-
}
2018
}
2119

2220
void fbnic_rss_key_fill(u32 *buffer)

0 commit comments

Comments
 (0)