Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2016 11:38:11 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Marcus Cenzatti <cenzatti@hush.com>
Cc:        Pavel Odintsov <pavel.odintsov@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org>,  Eduardo Meyer <dudu.meyer@gmail.com>
Subject:   Re: netmap design question - accessing netmap:X-n individual queues on FreeBSD
Message-ID:  <CAJ-Vmo=2y0aViR5dzsssD3=T7=e9n1UK0WW_5x48Aw_-b1twTA@mail.gmail.com>
In-Reply-To: <CAJ-VmonV2=LaEYtihJLRjKgTXQTiPzXJ9BY_py_08B0%2BbyC9Vw@mail.gmail.com>
References:  <CAEqdE_4ANVrGP2hKA4nT=AJqJ5M80A%2BHy2srjoe8wfugvmbypg@mail.gmail.com> <CALgsdbe7W2fPEWMnobXWebn63J9kYhupE-C=JM2xfQKBfnQwaw@mail.gmail.com> <CAJ-VmonCizOxfsV7kH_7GTHYXW8FgvjEV-8zt7qxE6b5tUadxg@mail.gmail.com> <CALgsdbdZOkpX-hzLVkLxz=1kGOjnNCNSZz4B1HfJy2hART4%2B0w@mail.gmail.com> <CAJ-VmokP2f5Uv5ubn2Cico_iXN20jL9tPuYHE2gomGLWkPLsUA@mail.gmail.com> <20160123184320.CA903A0126@smtp.hushmail.com> <CAJ-VmonV2=LaEYtihJLRjKgTXQTiPzXJ9BY_py_08B0%2BbyC9Vw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh and one other thing - on the cxgbe hardware, the netmap interfaces
(ncxl) have a different MAC. things like broadcast traffic is
duplicated to cxlX AND ncxlX. So, if you're only using netmap and
you're testing promisc/bridging, you should bring /down/ the cxlX
interface and leave ncxlX up - otherwise yeah, the cxbge MAC will
duplicate packets in hardware, which halves the RX bandwidth available
on the NIC /and/ chews CPU in FreeBSD as the normal ethernet input
path drops all of those packets.

(I think the same thing holds with the virtual devices via SR-IOV on
ixgbe hardware, btw..)


-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=2y0aViR5dzsssD3=T7=e9n1UK0WW_5x48Aw_-b1twTA>