From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E29DC4332F for ; Sat, 4 Nov 2023 13:46:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 18A3D82166; Sat, 4 Nov 2023 13:46:50 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 18A3D82166 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1699105610; bh=cEPGa5QqT+X9tNTL54pE7siK1BY7AbLAEYggME1uhJE=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=0kw7gngobH1mnO96gT3jySt7VmuD/VqCUJFVoW6q7lXVRNadV+Y6tXC5/L8ouExHS lu0eEtV1aoqSevoZdq35FtY/hGIgVcWJFb5yAQHvd+w+PYGQLl57GCewMYYaxS6e3b qMANrfvLsayMIWGtMRKZ/qTuHVopC/FMCnJCe5paLHf4QZuSsDMbnF85cowe1t6CG0 +iQnLfbcr1AhcO+Ck9zKu3v5dYY9vAES8+vjwx9kDmjucWUFGvYNbUhQqRf91ZNHu1 XHn67598J+RkKKcbgOS0Kk5rusuA2bR0yqvZBUZ8TRpOMdIq4dMEPQhyEfjYp9JA8j RhovVFbYNXw3Q== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yFD4sFuAUlwU; Sat, 4 Nov 2023 13:46:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 3859F821E0; Sat, 4 Nov 2023 13:46:49 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3859F821E0 Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 002521BF30C for ; Sat, 4 Nov 2023 13:46:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id CB72B60F34 for ; Sat, 4 Nov 2023 13:46:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org CB72B60F34 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QmEL2vymIr56 for ; Sat, 4 Nov 2023 13:46:47 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by smtp3.osuosl.org (Postfix) with ESMTPS id DD6EA60BDD for ; Sat, 4 Nov 2023 13:46:46 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org DD6EA60BDD Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id C4881B80ABE; Sat, 4 Nov 2023 13:46:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B7F0C433C8; Sat, 4 Nov 2023 13:46:37 +0000 (UTC) Date: Sat, 4 Nov 2023 09:46:29 -0400 From: Simon Horman To: Marcin Szycik Message-ID: <20231104134629.GE891380@kernel.org> References: <20231025144724.234304-1-marcin.szycik@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231025144724.234304-1-marcin.szycik@linux.intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699105602; bh=QMqFcBbEpNpMb7yuFpbeOw27rQyg0/rxF6KLW+yR+Mw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KEcfw75c1l0aeXIx6FK5Zge+EUzuAdjovHzAl6bn7sARQ/RKL5SYw4qNnfiu5CkSW OgFI1FYCsz9/oxdlCQTqKkmOTTaRxcSuDw2vOGpkN3M66b7gLUukgfBiFahJuZb0// eyaRWZ1LwKBnjg0HIewqgSdyv0h0iJPq9jLPMvRzt9Sn1S8JCZBq9Z+3nECHxqkBHf GgFvSBTaxlumrxkILv5dtH5uEz8NLFKqDJJ2uaNX4DIeDDE147h0SNu1dwehUWQQ2E /Ib6toqQFYzLcEZC2beVuG67rnKX9P+9CbIzqfKUA63nrM22rDGDJQC8SG3zl25QeO QGMmB7Lda7qng== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=KEcfw75c Subject: Re: [Intel-wired-lan] [PATCH iwl-net] ice: Fix VF-VF direction matching in drop rule in switchdev X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, Michal Swiatkowski Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Wed, Oct 25, 2023 at 04:47:24PM +0200, Marcin Szycik wrote: > When adding a drop rule on a VF, rule direction is not being set, which > results in it always being set to ingress (ICE_ESWITCH_FLTR_INGRESS > equals 0). Because of this, drop rules added on port representors don't > match any packets. > > To fix it, set rule direction in drop action to egress when netdev is a > port representor, otherwise set it to ingress. > > Fixes: 0960a27bd479 ("ice: Add direction metadata") > Reviewed-by: Michal Swiatkowski > Signed-off-by: Marcin Szycik Reviewed-by: Simon Horman _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan