Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp342974ybl; Fri, 30 Aug 2019 00:14:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1BZg9VnPUdJm2UHWbiqsr6jlIykMmimkW1Smje8VWm2JWQFnS7A8m76jeWvkkeBjeAEYR X-Received: by 2002:a63:3009:: with SMTP id w9mr12302195pgw.260.1567149256038; Fri, 30 Aug 2019 00:14:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567149256; cv=none; d=google.com; s=arc-20160816; b=ZmHWD5guhtdukttefV0oypJiY3OQEPIQAmFiEovQGOAU3QTCwCp99PKipCPBfPF34k +ShZn1y4zEHHRj9yvkoq1OEQBEFt1cTelZblDnB5P1wH7jXSNdMmu9spKxZAhU2Osxcn pL7HIB1mxXp2SsWPXx2X09MNNW9ixepUGmFSaldJkiwvaMpcjcZGdXpOiQBtH+BTicIZ RN2vwhuFsl4ku5ptwei0eEjIIAJM1+kqDbf3eLE8SCrnFFMwgOyHYh0A9yGFkw9lf8PF 11WOqVsuDmoSEiA8YJ9MHQFewSXG8xIiS4UIqRwVt65tgxc+aS0M9lnbRIMXl9x0HFDG Nisg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=BZxS59yVfSPM/t98FwghhSG1XzNp3GlcTr3J70BPF2E=; b=E3rh1MvnS69059OMl70LY281TQbUdTqC737ecsB7kx6L4V0B8fuUmzFsdoPDHGmqDd CmRyD/KJKZYR0Kp44beQfoG3lSicRGtjUsPFb0h1Y3Kwg1WRxb2jtOtnmhdYFlTAlW+l iu6sTwIQhcewBvP7vkDUH5lqJi7OEHGnQgWWUku3Yiibg00d6DVlkRNykWn1HuisdvUJ RqivtGh6Z1up9rU1dsaxRkahoJZchK1afpRJf2JguuV4mM/NihA1vx4bnR0UvAlQWdiE tzuhXlKji9PIqGsrdTWB9JhKhteqvseBBptY2xmN1GXEEULkJTbq/1fSHlposuw1EruD nFQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si3800447pgm.427.2019.08.30.00.14.00; Fri, 30 Aug 2019 00:14:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728163AbfH3HM1 (ORCPT + 99 others); Fri, 30 Aug 2019 03:12:27 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:59572 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbfH3HM1 (ORCPT ); Fri, 30 Aug 2019 03:12:27 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::642]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id D60F01544E2D5; Fri, 30 Aug 2019 00:12:25 -0700 (PDT) Date: Fri, 30 Aug 2019 00:12:23 -0700 (PDT) Message-Id: <20190830.001223.669650763835949848.davem@davemloft.net> To: jiri@resnulli.us Cc: idosch@idosch.org, andrew@lunn.ch, horatiu.vultur@microchip.com, alexandre.belloni@bootlin.com, UNGLinuxDriver@microchip.com, allan.nielsen@microchip.com, ivecera@redhat.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity. From: David Miller In-Reply-To: <20190830063624.GN2312@nanopsycho> References: <20190830053940.GL2312@nanopsycho> <20190829.230233.287975311556641534.davem@davemloft.net> <20190830063624.GN2312@nanopsycho> X-Mailer: Mew version 6.8 on Emacs 26.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 30 Aug 2019 00:12:26 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiri Pirko Date: Fri, 30 Aug 2019 08:36:24 +0200 > The promiscuity is a way to setup the rx filter. So promics == rx filter > off. For normal nics, where there is no hw fwd datapath, > this coincidentally means all received packets go to cpu. You cannot convince me that the HW datapath isn't a "rx filter" too, sorry.