Date: Fri, 6 Jul 2018 06:41:53 +0000 From: "Eggert, Lars" <lars@netapp.com> To: "np@FreeBSD.org" <np@FreeBSD.org> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Giuseppe Lettieri <g.lettieri@iet.unipi.it> Subject: Re: netmap & chelsio Message-ID: <0199F257-F9D2-41D0-B4F9-26FBA1607F61@netapp.com> In-Reply-To: <20180705154710.GA3353@ox> References: <94019926-B14F-47AB-8AD9-C01B4A0E199F@netapp.com> <20180705154710.GA3353@ox>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_F8A9ECC3-E0A1-40A6-BACB-A399A6385DAF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, On 2018-7-5, at 17:47, np@FreeBSD.org wrote: > Set hw.cxgbe.fl_pktshift=3D0 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=3D0 and/or hw.cxgbe.allow_mbufs_in_cluster=3D0? Thanks, Lars --Apple-Mail=_F8A9ECC3-E0A1-40A6-BACB-A399A6385DAF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmpq0ZpSoejRmyhheVLXDCb9wwVcFAls/DzEACgkQVLXDCb9w wVemlRAAnwvQof8vOXcuqhZSNPyPNrJ8l28dSUg/TRSWrkro5dEhrm4dIFYunqIv atZWBNNdU/WXRGrDtMPCAem9TtJmauMlnoDQY3PEAYODXBga2iLE+hmsJM4f1ch7 77kfJVwkXiuZp3iSNSrc9dkgy6CovnQJ8QcSxh8AmnkfAFRs0fD1uKR7KECFemdX YMkP5soXBHaiYsE5rt8OHrT0HzfZKQJgd9nmS6N3HCyF/2q2DEYO50V4wnjjsOIH pkx6N/b8c5BDZuaT7/MNzV5XzNEQEFsPDykfTS7uGvQWlq5mrT9u+0RC3cZU7cnR +r376tWI3WUwtTQFQKdm7UWQpMP9Xg5w7R4YN8rbPNo/2WVmluKKWiXeNu+kLKXY +av1EzIPB+9iCsqjWqH2Ulq/2++5C8NC+zAUtccpnB1Te67lbhVZY7WNgxmULvbD xB0RVHBDuYpc1/AxLBTUFNrCqQyz2IaJ3kEXyE0wvY29rcvylzZM8jsajBRFXrNm +Q/5y/+l4bdloGQzVG0oAxVV7FZE9mhaSpGSU5xJGqgfU74QA4B49hb/LHkvmzss 2Z6rwCHQOvt2halXxdrWfR+9358jTf0vtibPQ+RKFjPsk8eddiVLf/8lq7kv3Fdb RXu44BjnIf0KuETJIuGRlhtxMRkuggYdxhp12ujd+ZXZ1ykD8FI= =2lwG -----END PGP SIGNATURE----- --Apple-Mail=_F8A9ECC3-E0A1-40A6-BACB-A399A6385DAF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0199F257-F9D2-41D0-B4F9-26FBA1607F61>