cxgbe(4): remove buf_ring specific restriction on the txq size.

MFC after:	2 months
This commit is contained in:
Navdeep Parhar 2015-01-01 09:33:46 +00:00
parent 8f610c093a
commit 255155fc91

View File

@ -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,