Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1488706pxk; Fri, 25 Sep 2020 16:51:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyjqQ/IcbfHCta/jqIcpCFtx7VRxn0RDLAdmUxiQaPe4fd02lm60/lBmJPnS0FN7lEzblY X-Received: by 2002:a17:906:3b03:: with SMTP id g3mr5003304ejf.506.1601077876648; Fri, 25 Sep 2020 16:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601077876; cv=none; d=google.com; s=arc-20160816; b=sRUo0qCKNJ9L6Uy8U2zF6MpYODN1UY2zjfdb46Ole7wAxOPe9WwtL978UGsKrIBZs0 wRl6alDprZ7UOyUIDm15vRlV8JrNxMtT0bo6SxkPMda1Zz8fyaraJulZKRq6eg/r6sX7 HL6XXncmvNz/aAYSBRObEq4p4OhQFpcaMzJlhTz03q1BaK1C98HFsScQYL7t7pCQjkxX ozb6opnj+n7mYO8dJHiuWwcSJErbRIjyJZXxicDtVjWk07AWFbKpp8unz4IjYtD+xUyi ME0dDVw9Ri2M1Wl7sTMSo1ByAYwI3tb5XZqc3XtxKLYTrCokgkQX6pwL31hcU264S0AE rYdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=yF27XnpsnpQ+ARUD97HMVCPACO6memMxT8FZ7biE1Po=; b=vLYT0pRb9nIy2YxLwl8C1E16EtZPHar3IOoTp+HbpjJpangFUqmIN9mIDn+ax/J+CJ xYw6Qb+hdJNJnShTyfmRLAtEsuJnYdtQ0UIeyXs0/dtQNl2Q8vw/Mrcsk9NjKjcMCbBU BHTq5pfy83Db+B+fifeZ+q7nu9MeQ1abeyvBS0VuMTz5KvdHA8RzJIo8xzCKHGUH76do 8p3rloHvSPEtOIvddzeMSEqS1H92JkL5/SE1kbiZ2FgOzCfxCqs/1Emrl8nA2zCx2olN voZyMf4OS3iAC8YNm1cK4zoX8xkUsAX38W98r9OKV8L4Jzv9+rngpofflKLJjtVmtfjl /HZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d11si2982423edu.492.2020.09.25.16.50.53; Fri, 25 Sep 2020 16:51:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729793AbgIYXsu (ORCPT + 99 others); Fri, 25 Sep 2020 19:48:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729425AbgIYXst (ORCPT ); Fri, 25 Sep 2020 19:48:49 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B25B3C0613CE; Fri, 25 Sep 2020 16:48:49 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (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 3422113BA0918; Fri, 25 Sep 2020 16:32:00 -0700 (PDT) Date: Fri, 25 Sep 2020 16:48:46 -0700 (PDT) Message-Id: <20200925.164846.1055766774275451296.davem@davemloft.net> To: vee.khee.wong@intel.com Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com, joabreu@synopsys.com, kuba@kernel.org, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, treding@nvidia.com, andrew@lunn.ch, boon.leong.ong@intel.com, weifeng.voon@intel.com, sadhishkhanna.vijaya.balan@intel.com, chen.yong.seow@intel.com, mgross@linux.intel.com Subject: Re: [PATCH net-next 1/1] net: stmmac: Add option for VLAN filter fail queue enable From: David Miller In-Reply-To: <20200925094041.12038-2-vee.khee.wong@intel.com> References: <20200925094041.12038-1-vee.khee.wong@intel.com> <20200925094041.12038-2-vee.khee.wong@intel.com> X-Mailer: Mew version 6.8 on Emacs 27.1 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 [2620:137:e000::1:9]); Fri, 25 Sep 2020 16:32:00 -0700 (PDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wong Vee Khee Date: Fri, 25 Sep 2020 17:40:41 +0800 > From: "Chuah, Kim Tatt" > > Add option in plat_stmmacenet_data struct to enable VLAN Filter Fail > Queuing. This option allows packets that fail VLAN filter to be routed > to a specific Rx queue when Receive All is also set. > > When this option is enabled: > - Enable VFFQ only when entering promiscuous mode, because Receive All > will pass up all rx packets that failed address filtering (similar to > promiscuous mode). > - VLAN-promiscuous mode is never entered to allow rx packet to fail VLAN > filters and get routed to selected VFFQ Rx queue. > > Reviewed-by: Voon Weifeng > Reviewed-by: Ong Boon Leong > Signed-off-by: Chuah, Kim Tatt > Signed-off-by: Ong Boon Leong Applied.