Anyone using Solarflare on FreeBSD 10-STABLE ?

Mark Saad nonesuch at longcount.org
Mon Oct 30 12:47:35 UTC 2017




> On Oct 30, 2017, at 6:11 AM, Andrew Rybchenko <arybchik at freebsd.org> wrote:
> 
>> On 10/27/2017 09:02 PM, Mark Saad wrote:
>>> On Fri, Oct 27, 2017 at 2:55 AM, Andrew Rybchenko <arybchik at 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 at 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_pkts grows when interface is 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 looking at. It increases but I am not exactly sure why of the rate .
> 
> 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.

I will try this on my lab and see what happens . Thanks again for the ideas .


---
Mark Saad | nonesuch at longcount.org


More information about the freebsd-hackers mailing list