solved: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

Navdeep Parhar nparhar at gmail.com
Sun Jan 24 06:07:12 UTC 2016


On Sat, Jan 23, 2016 at 08:38:24PM -0800, Adrian Chadd wrote:
> ok, that's a discussion to have with navdeep. That /should/ work.
> Someone may have changed it lately.

Yes this used to work.

> 
> Things should behave very well and predictable once you can disable
> cxl0 but not ncxl0. :-P

The plan is to clean all this up by moving the netmap specific parts to
a driver module of its own.  So when you load if_cxgbe you'll get only
the cxl interfaces.  If you want netmap access to the ports you'll be
able to kldload cxgbe_netmap (or something like that) which will create
the ncxl ports.  These ncxl ports _will_ operate like normal ifnets
hooked to the kernel stack if netmap isn't enabled on them.  And the
cxgbe_netmap driver will attach to PCIe PFs 0-3 so it won't take up
resources (interrupt vectors, etc.) from PF4, which is what the main
if_cxgbe attaches to.  You'll certainly be able to up/down/whatever all
the interfaces independent of each other.  All this will get done in
time for FreeBSD 11.

Regards,
Navdeep


More information about the freebsd-net mailing list