Re: svn commit: r347418 - head/sys/net

2020-05-19 Thread Kristof Provost
On 19 May 2020, at 17:02, Andrew Gallatin wrote: On 2020-05-19 04:21, Kristof Provost wrote: The if_bnxt driver initialises |.isc_nrxd_max = {INT32_MAX, INT32_MAX, INT32_MAX},|, so presumably that’s the cause. I don’t know what a sane value would be though. I’ve defaulted to 4096 (because that

Re: svn commit: r347418 - head/sys/net

2020-05-19 Thread Andrew Gallatin
On 2020-05-19 04:21, Kristof Provost wrote: The if_bnxt driver initialises |.isc_nrxd_max = {INT32_MAX, INT32_MAX, INT32_MAX},|, so presumably that’s the cause. I don’t know what a sane value would be though. I’ve defaulted to 4096 (because that’s what some other iflib users seems to do) for no

Re: svn commit: r347418 - head/sys/net

2020-05-19 Thread Kristof Provost
On 10 May 2019, at 2:41, Eric Joyner wrote: Author: erj Date: Fri May 10 00:41:42 2019 New Revision: 347418 URL: https://svnweb.freebsd.org/changeset/base/347418 Log: iflib: use default ntxd and nrxd when user value is not power of 2 From Jake: A user may set a sysctl to override the defa

svn commit: r347418 - head/sys/net

2019-05-09 Thread Eric Joyner
Author: erj Date: Fri May 10 00:41:42 2019 New Revision: 347418 URL: https://svnweb.freebsd.org/changeset/base/347418 Log: iflib: use default ntxd and nrxd when user value is not power of 2 From Jake: A user may set a sysctl to override the default number of Tx or Rx descriptors. Howeve