From owner-freebsd-hackers@freebsd.org Mon Oct 30 12:47:34 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7D8BE5C532 for ; Mon, 30 Oct 2017 12:47:34 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DD1B16A2 for ; Mon, 30 Oct 2017 12:47:34 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: by mail-qt0-x22a.google.com with SMTP id k31so16126381qta.6 for ; Mon, 30 Oct 2017 05:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount-org.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rmqfIX1OJp9BU4AcBJYtl/CJBieuAU4RCzMq6IwZT2M=; b=e8gbnSM5OoxhFy7myDGW+dNrRbfscB+EXDZ2pufYwFEptK7P51QH/yiVdDkJVOY/cM hcF28yKtej/qNPrvQna8jWkE5Rl4KJpk56qnsCBSo6fSvvmvLOu67NwGWDfvyUNyXl56 cnrsQpXtO/31mCvsLYlTt9rqD37kQsz2g0/ayEnkTNMAw+wxeKLNgT7M5P3J6rSyx4LA Hz9TVaD6+hWUT4nXNtxYHPAA4uvcuyJQbWwuKjzA0wY73UNVACaPzzCLSN9mCGw4Oax5 j/D0hPts6dOUtSliBJMa9hUIpzyJ4wxfpq81L447hfWzrbJ6iHVNv6uyE+InZ7V5MoVt Wvag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rmqfIX1OJp9BU4AcBJYtl/CJBieuAU4RCzMq6IwZT2M=; b=LKhpKfkJILYrLhT+nCLMDLpI6ae89/VSfMktvAvP7oWWepTd90EUBxQhqc2iqua1U1 n6LKJhM/b1RLZtG1vzOMFQHX3vlxzhapUulybWqbT/clqakx2GFJMZeLqqRv7C34D2GF If56ynLY6UImzUH/kO9QAr+P8AhXNeatY2+pHFxWKlD3MXI1ZSvpAD/NIpNO9t46JwL6 AyW359DJjQLCMlCLgBQ70uXbZuyng/r6z9MZ9czzCspNoTVG5ETctY20z/og0PlJPnaI d45PdtImytB+UFIsKmcNESGtHsdvqTQxKRK0z9TVqAHgteZXsNmBETO+/7qxK5b7J0C9 0TeQ== X-Gm-Message-State: AMCzsaVz6u6/RMl7mw4v49Qs99PnwxrgEMXQaM7tCIJoMRk5AEkh6f+0 Hthi+w7DCQsecXGl1/bD1DNDJeYuhuI= X-Google-Smtp-Source: ABhQp+RSDFn3ggJiLoHdpk78TIIpHLJsAGk0RcK5oLT8Q5z/uDTuFQqnoJDlYFOIfpadXqPvwPF8Bg== X-Received: by 10.200.15.83 with SMTP id l19mr13677990qtk.168.1509367653404; Mon, 30 Oct 2017 05:47:33 -0700 (PDT) Received: from [25.226.247.76] (ool-3f8fc5bb.dyn.optonline.net. [63.143.197.187]) by smtp.gmail.com with ESMTPSA id o71sm9244784qka.74.2017.10.30.05.47.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Oct 2017 05:47:31 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: Anyone using Solarflare on FreeBSD 10-STABLE ? From: Mark Saad X-Mailer: iPhone Mail (15A432) In-Reply-To: Date: Mon, 30 Oct 2017 08:46:51 -0400 Cc: Philip Paeps , Allan Jude , "freebsd-hackers@freebsd.org" Message-Id: <539BFBD6-0F30-46D0-BB23-4C4547542B51@longcount.org> References: <333473BB-43C3-4E3E-B62F-03DE5650E403@freebsd.org> <7951e7d5-b5e6-033d-0b51-1d4a10946937@oktetlabs.ru> <0d126774-3736-4a4c-c01f-07bc9caf82a6@freebsd.org> To: Andrew Rybchenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 12:47:35 -0000 > On Oct 30, 2017, at 6:11 AM, Andrew Rybchenko wrote= : >=20 >> On 10/27/2017 09:02 PM, Mark Saad wrote: >>> On Fri, Oct 27, 2017 at 2:55 AM, Andrew Rybchenko = wrote: >>> On 10/25/2017 12:04 AM, Mark Saad wrote: >>>=20 >>> On Tue, Oct 17, 2017 at 3:44 PM, Andrew Rybchenko = >>> 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=