From owner-freebsd-hackers@freebsd.org Tue Oct 24 21:04:26 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 8634EE2B784 for ; Tue, 24 Oct 2017 21:04:26 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-wm0-x22a.google.com (unknown [IPv6:2a00:1450:400c:c09::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 1794770BCA for ; Tue, 24 Oct 2017 21:04:26 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: by mail-wm0-x22a.google.com with SMTP id r68so18868366wmr.3 for ; Tue, 24 Oct 2017 14:04:26 -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=IUSdjon2HH6ktZVwjfETx9G8gbrDCIwx7tPRZGVkvgE=; b=PyfbvQteyCkomGwOtgcjWOk0fpjnDsVXB0cys3gIKvFLKDPyBiYc3/w2Yz/xoZAsmS gf7ISb2xNGvDnpNKu53rTzH6nWUdwb4bT1Yh3L/SrEPbwpdYXc74zdUykJ+80PyPnil/ Y5j/edPHqaQaz3MftWKsv+o46AbqxdlmhX0g8CwsMetWRu2bHAHl8kspqOvry9orsLba 1uEzCzpiRLhcL3s7VddosHaqRI3YvJSYnPwIfLsUoXJZeW4jqmcdbKp3t6UFma5jHKCv BSqtTLM4XTCv0TNUXHmI/jNZ9ML+5lC00sjdipHj4u78np2HDwMWtEgPItmPJj0PlYxW +50g== 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=IUSdjon2HH6ktZVwjfETx9G8gbrDCIwx7tPRZGVkvgE=; b=fdngkD+HArj0TlwX1AxLEPXgTbItOwF8oj780OvmGP27K2fIs4boJxVXfSKKQIkXiO 6UeXpRDLxkL6jIxcmOFGyngpaS2k2XrRhfcwsRICbFv2xR+1GNHfFNJ52WkDmC4FhREU gMwT7LGWE361oT+t3ROKlTvjHvagtmsnKimWJ3frXT9WqTKRGzR4lt7KLWTjADvOTm72 ORrOBa8DTcrgzvTkQgcRSt+TR28SOzSASbHzqSWPlOUJ7uphWmlsgPr7nsyYjHvBuE2m hqGAQaYhux2b+kuCgeMB1oT6BuialMRTj0u7vlcR8LVzYd6uWLC99jLuZZNCEWiZBN+q RCdg== X-Gm-Message-State: AMCzsaV98gJlws4Vvk9KlEAmDnxy1GZIcKFohgSCAzt0BqeLCMe4Xvyq LEmnjiqnrIlrfFcJKVPgqvYNfN42COakuMW7w0AZMox8 X-Google-Smtp-Source: ABhQp+RbpQ4MilIQKe4SqSGCRi21pWWp9V3C/Apk8C67Xs6zGb876i4iwgsbxQD7W+fGej0AB0TCP4WuYG2oPt+FMwE= X-Received: by 10.80.231.145 with SMTP id b17mr21921888edn.94.1508879063987; Tue, 24 Oct 2017 14:04:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.178.6 with HTTP; Tue, 24 Oct 2017 14:04:23 -0700 (PDT) X-Originating-IP: [67.82.41.73] In-Reply-To: <7951e7d5-b5e6-033d-0b51-1d4a10946937@oktetlabs.ru> References: <333473BB-43C3-4E3E-B62F-03DE5650E403@freebsd.org> <7951e7d5-b5e6-033d-0b51-1d4a10946937@oktetlabs.ru> From: Mark Saad Date: Tue, 24 Oct 2017 17:04:23 -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: Tue, 24 Oct 2017 21:04:26 -0000 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. -- mark saad | nonesuch@longcount.org