Date: Tue, 24 Oct 2017 17:04:23 -0400 From: Mark Saad <nonesuch@longcount.org> To: Andrew Rybchenko <arybchik@freebsd.org> Cc: Philip Paeps <philip@freebsd.org>, Allan Jude <allanjude@freebsd.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: Anyone using Solarflare on FreeBSD 10-STABLE ? Message-ID: <CAMXt9Nan=ub_OSoWi53UFeJ5Er2UhU0StP-nX510Sdh3X0Nvtw@mail.gmail.com> In-Reply-To: <7951e7d5-b5e6-033d-0b51-1d4a10946937@oktetlabs.ru> References: <CAMXt9Na1MkFJHXCxQhkVU=JoqvVsU_w1U3xNTN%2BJ0PzxESChaw@mail.gmail.com> <bf3d1ef1-30d9-f7c7-5a2a-af47cc937414@freebsd.org> <333473BB-43C3-4E3E-B62F-03DE5650E403@freebsd.org> <7951e7d5-b5e6-033d-0b51-1d4a10946937@oktetlabs.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 17, 2017 at 3:44 PM, Andrew Rybchenko <arybchik@freebsd.org> wrote: > On 10/17/2017 08:54 PM, Philip Paeps wrote: >> >> On 2017-10-17 19:36:20 (+0200), Allan Jude wrote: >>> >>> On 10/17/2017 12:32, Mark Saad wrote: >>>> >>>> Speificly I wanted to know if anyone knew what this sysctl refers to >>>> >>>> dev.sfxge.NN.stats.rxdp_di_dropped_pkts >>> >>> >>> I have two 11.1 boxes with a dual ported sfxge each, but I have no idea >>> what that counter is trying to describe. >>> >>> The man page says this is Philip's fault. >> >> >> This code is not my fault! ;-) I believe arybchik added it. >> >> Looking at the code, it's packets that have been dropped in the data path >> by the dispatcher cpu. Probably related to virtual functions? > > > Philip, thanks. I don't think in this particular case it is related to > virtual functions. > > Basically the counter means that ingress packet does not match any installed > filter. E.g. promiscuous mode is disabled and: > - destination MAC is unicast and not the interface MAC address, OR > - destination MAC is multicast and there is no matching multicast address > added. > > There is a race condition as well on interface bring up when packet is > received but default filters are not installed yet. > > SFN8522 and SFN8542 have other cases for encapsulated traffic depending on > driver version (right now I don't remember the state in 10-STABLE). > > Mark, let me know if I can help more. > > Andrew. Could you clarify what was meant by Virtual Functions ? Vlans , laggs etc or srv-io ? Also I do have IGMP snoop enabled and routing is done locally on each router -, the freebsd box with the sfxge cards. -- mark saad | nonesuch@longcount.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMXt9Nan=ub_OSoWi53UFeJ5Er2UhU0StP-nX510Sdh3X0Nvtw>