Date: Mon, 30 Oct 2017 08:46:51 -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: <539BFBD6-0F30-46D0-BB23-4C4547542B51@longcount.org> In-Reply-To: <cfe4f3c1-de8c-7c3d-880e-169c32fd367d@freebsd.org> 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> <CAMXt9Nan=ub_OSoWi53UFeJ5Er2UhU0StP-nX510Sdh3X0Nvtw@mail.gmail.com> <0d126774-3736-4a4c-c01f-07bc9caf82a6@freebsd.org> <CAMXt9NbNwoWJ5hyVej-yMtb95=AceGnhPkKohLpBH%2BJor7RH0A@mail.gmail.com> <cfe4f3c1-de8c-7c3d-880e-169c32fd367d@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Oct 30, 2017, at 6:11 AM, Andrew Rybchenko <arybchik@freebsd.org> wrote= : >=20 >> On 10/27/2017 09:02 PM, Mark Saad wrote: >>> On Fri, Oct 27, 2017 at 2:55 AM, Andrew Rybchenko <arybchik@freebsd.org>= wrote: >>> On 10/25/2017 12:04 AM, Mark Saad wrote: >>>=20 >>> On Tue, Oct 17, 2017 at 3:44 PM, Andrew Rybchenko <arybchik@freebsd.org>= >>> wrote: >>>=20 >>> Basically the counter means that ingress packet does not match any insta= lled >>> 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 addre= ss >>> added. >>>=20 >>> There is a race condition as well on interface bring up when packet is >>> received but default filters are not installed yet. >>>=20 >>> SFN8522 and SFN8542 have other cases for encapsulated traffic depending o= n >>> driver version (right now I don't remember the state in 10-STABLE). >>>=20 >>> Mark, let me know if I can help more. >>>=20 >>> Andrew. >>>=20 >>> 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. >>>=20 >>>=20 >>> I meant SR-IOV. Which SF NIC do you use? >>>=20 >>> Andrew. >> Andrew >> I am using IIRC 7140's This is what I get from the various utils >>=20 >> Solarflare Flareon Ultra 7000 Series 10G Adapter >> Firmware version: v6.4.3 >> Controller type: Solarflare SFC9140 >> Boot ROM version: v5.0.4.1000 >=20 > Do I understand correctly that rxdp_di_dropped_pkts grows when interface i= s running? > I.e. it is not just few packets at start up. Correct the counter is a 6 -7 digit number, depending on which server I am l= ooking at. It increases but I am not exactly sure why of the rate . >=20 > If it is possible, I'd try to enable promisc mode and check if stops the c= ounter grow. > If so and traffic is not huge, I'd try to sniff on the interface and filte= r out traffic to local > MAC, broadcast and locally added multicast addresses to check if unexpecte= d traffic > comes to the interface. >=20 > Andrew. I will try this on my lab and see what happens . Thanks again for the ideas .= --- Mark Saad | nonesuch@longcount.org=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539BFBD6-0F30-46D0-BB23-4C4547542B51>