netmap & chelsio

Eggert, Lars lars at netapp.com
Fri Jul 6 06:41:59 UTC 2018


Hi,

On 2018-7-5, at 17:47, np at FreeBSD.org wrote:
> Set hw.cxgbe.fl_pktshift=0 in loader.conf to stop the chip from doing
> this.  See cxgbe(4) for details on the knob.  It's a historic
> optimization that doesn't seem to matter on modern CPUs, so the driver
> default should probably be 0 instead of 2.

thanks, I must have missed this in the man page.

Looking at this in detail now, I wonder if there are other loader settings that should be set for netmap use, such as hw.cxgbe.buffer_packing=0 and/or hw.cxgbe.allow_mbufs_in_cluster=0?

Thanks,
Lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20180706/b7f93ba1/attachment.sig>


More information about the freebsd-net mailing list