Skip to content

Commit ef878d6

Browse files
Md Fahad Iqbal PolashJeff Kirsher
authored andcommitted
ice: Remove ICE_MAX_TXQ_PER_TXQG check when configuring Tx queue
This patch removes the condition checking of VSI TX queue number to ICE_MAX_TXQ_PER_TXQG. This is an unnecessary check and causes a driver load error on hosts that have more than 128 cores. Signed-off-by: Md Fahad Iqbal Polash <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 47e3e53 commit ef878d6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/intel/ice/ice_lib.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,10 +1633,6 @@ int ice_vsi_cfg_txqs(struct ice_vsi *vsi)
16331633
if (!qg_buf)
16341634
return -ENOMEM;
16351635

1636-
if (vsi->num_txq > ICE_MAX_TXQ_PER_TXQG) {
1637-
err = -EINVAL;
1638-
goto err_cfg_txqs;
1639-
}
16401636
qg_buf->num_txqs = 1;
16411637
num_q_grps = 1;
16421638

0 commit comments

Comments
 (0)