cxgbe(4): remove buf_ring specific restriction on the txq size.
MFC after: 2 months
This commit is contained in:
parent
8f610c093a
commit
255155fc91
@ -5258,8 +5258,7 @@ sysctl_qsize_txq(SYSCTL_HANDLER_ARGS)
|
||||
if (rc != 0 || req->newptr == NULL)
|
||||
return (rc);
|
||||
|
||||
/* bufring size must be powerof2 */
|
||||
if (qsize < 128 || !powerof2(qsize))
|
||||
if (qsize < 128 || qsize > 65536)
|
||||
return (EINVAL);
|
||||
|
||||
rc = begin_synchronized_op(sc, pi, HOLD_LOCK | SLEEP_OK | INTR_OK,
|
||||
|
Loading…
Reference in New Issue
Block a user