From owner-freebsd-hackers@freebsd.org Fri Oct 27 18:02:54 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 54BC0E4D935 for ; Fri, 27 Oct 2017 18:02:54 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 DA3BE7223F for ; Fri, 27 Oct 2017 18:02:53 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: by mail-wm0-x232.google.com with SMTP id y83so5277016wmc.4 for ; Fri, 27 Oct 2017 11:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oUTwmTMH2lISy09J9gZHvcXXGq6rMC/p2Nsdo+qUMBg=; b=f4rA2ZYN5E4fLUiFIrmyWBHhrDGrRp28a1GsJd91y/P60Ous2+JT+elR68jYRv70rf P9pbTjZ5MxU+jukgwoi0zvSHzzu+UUj1/KS69yMbLnDuklKOGmV7SF1mg3hDa2MCPTMS JzerHCFxgVC9ZCAXbTv5qt0BMBA7fOrUAMz1J/aqGxkSDO+bfdD5zoB+uy6lvxnpDfmz JnV8ccccCzRlxa0EWCcrBsUmwOxKektlllzq3Qfu2xJsj4dcA+M5ryFnXxLziuQpWJIK UC2YPqho4mod4D2wjtJmBD4sy8VG8npnf0XwlySn/bPr+QjNh4xviQfVYqq0fuzRat6r 7GLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oUTwmTMH2lISy09J9gZHvcXXGq6rMC/p2Nsdo+qUMBg=; b=JmgznQY1FeqczkaN4KSk6ejBsg11CWCDHiROdizVr2qGlla864dua9XFba3HjDzte0 OKCXAmdtUT6bGlqvP577gFFExhz3lQc9Fbm6yRI1fAZ95NS/bguCUWhMv3DdhLJq5oex mI8FkgMkygDp1tB5B664TlJSSOP5FGs5Wf7pbCZt36MDCENwZz1gGWU/3vbk6MRsRz7l EPbdYzCkkAAh1hPAKp+xGDfb9AP4Np5sA3TzJ/inupBgQA/+jbdHjjtu4WYM0pCYpevL hPnA19MwFMJk6tL4/RsuSa2o2RG/XV1UG6J00ZNZ6tHzU0BEbCCXwm4qyMsfRjV0pR/s uzAw== X-Gm-Message-State: AMCzsaW8+R1dCfqVs0J7Dtol+6B64AhqvkRMyE9MQjQSKtixoBhx/xnB e2sLPjc5RCrOCu3nLxZ3HAg5yfOq+zei9VhhXSDuzw== X-Google-Smtp-Source: ABhQp+QFbjXc1YmOJz5eesfmMROHgSSFBlEzKOeAfLztlV5BlNSpxtkr08zt78b3OT835liUEcjgk/ycn4eI8uIwRW4= X-Received: by 10.80.175.66 with SMTP id g60mr1672088edd.283.1509127372241; Fri, 27 Oct 2017 11:02:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.178.6 with HTTP; Fri, 27 Oct 2017 11:02:51 -0700 (PDT) X-Originating-IP: [38.104.68.66] In-Reply-To: <0d126774-3736-4a4c-c01f-07bc9caf82a6@freebsd.org> References: <333473BB-43C3-4E3E-B62F-03DE5650E403@freebsd.org> <7951e7d5-b5e6-033d-0b51-1d4a10946937@oktetlabs.ru> <0d126774-3736-4a4c-c01f-07bc9caf82a6@freebsd.org> From: Mark Saad Date: Fri, 27 Oct 2017 14:02:51 -0400 Message-ID: Subject: Re: Anyone using Solarflare on FreeBSD 10-STABLE ? To: Andrew Rybchenko Cc: Philip Paeps , Allan Jude , "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" 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: Fri, 27 Oct 2017 18:02:54 -0000 On Fri, Oct 27, 2017 at 2:55 AM, Andrew Rybchenko wrote: > On 10/25/2017 12:04 AM, Mark Saad wrote: > > On Tue, Oct 17, 2017 at 3:44 PM, Andrew Rybchenko > 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. > > > 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 -- mark saad | nonesuch@longcount.org