Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2017 13:11:46 +0300
From:      Andrew Rybchenko <arybchik@freebsd.org>
To:        Mark Saad <nonesuch@longcount.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:  <cfe4f3c1-de8c-7c3d-880e-169c32fd367d@freebsd.org>
In-Reply-To: <CAMXt9NbNwoWJ5hyVej-yMtb95=AceGnhPkKohLpBH%2BJor7RH0A@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>>
>> On Tue, Oct 17, 2017 at 3:44 PM, Andrew Rybchenko <arybchik@freebsd.org>
>> wrote:
>>
>> 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.
>>
>>
>> I meant SR-IOV. Which SF NIC do you use?
>>
>> Andrew.
> Andrew
>    I am using IIRC 7140's This is what I get from the various utils
>
>      Solarflare Flareon Ultra 7000 Series 10G Adapter
>      Firmware version:   v6.4.3
>      Controller type:    Solarflare SFC9140
>      Boot ROM version:   v5.0.4.1000

Do I understand correctly that rxdp_di_dropped_pktsgrows when interface 
is running?
I.e. it is not just few packets at start up.

If it is possible, I'd try to enable promisc mode and check if stops the 
counter grow.
If so and traffic is not huge, I'd try to sniff on the interface and 
filter out traffic to local
MAC, broadcast and locally added multicast addresses to check if 
unexpected traffic
comes to the interface.

Andrew.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cfe4f3c1-de8c-7c3d-880e-169c32fd367d>