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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 2AD19C4167B for ; Fri, 1 Dec 2023 07:51:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id D8F114208A; Fri, 1 Dec 2023 07:51:13 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org D8F114208A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1701417073; bh=ullrcc5Mr17F0akYkuDWKBYsPi9Xo6h4mCvS+fQbVEk=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=9BvkHli8i0cNHf07MNSc26guN0vLvHDvgrzT8EO5AeUj7CmjWQtRH0G27aA7UzGqh hpTs2Wu6OknDMM0hl7f5KyDzRiEFwxZ74qVnDjyWwj8C8NRbFrsZeX0pfP85aYcuym MNTOUlIW24swTR+iF28++wxBATCIByAcgfR++DWIMK1oibQkw+Hp/UfID2kT6Z6rzJ gdCoUrvN51ngBPJBtDzg/mRzHo60/LRzfR1q18Pdq4NqzSp0dDEp+8nbZlc1pD/O4K zdr0MYGplGMCfezurEqUlfULh3XwYsxvocWjwRlK/wFGDN/xrSLk53UA5//Gih6EKZ JFKjROfEdfYHQ== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gdd7tMT85Tp0; Fri, 1 Dec 2023 07:51:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id D6D3842088; Fri, 1 Dec 2023 07:51:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org D6D3842088 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B55601BF98D for ; Fri, 1 Dec 2023 07:51:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 8EA2C4207F for ; Fri, 1 Dec 2023 07:51:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 8EA2C4207F X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F9df5IXTE9DS for ; Fri, 1 Dec 2023 07:51:02 +0000 (UTC) Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by smtp4.osuosl.org (Postfix) with ESMTPS id 292554207C for ; Fri, 1 Dec 2023 07:51:02 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 292554207C From: Kurt Kanzenbach To: Jesse Brandeburg , Tony Nguyen , Vinicius Costa Gomes Date: Fri, 1 Dec 2023 08:50:41 +0100 Message-Id: <20231201075043.7822-1-kurt@linutronix.de> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1701417059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=EqwBLovC5ct849IeQWIt3omI4kJ6O9qsyWxt4uWuYCc=; b=SssFFLM/u5i1R8h3UodZcrGSPlEXNIbgBJLBiIrnipg1dXAz/v6fLYLMdezGgB86mILedE F0mjHhyf8DHgF34gTGN0fZANdcKsnsstUBFgOWq2uYayzd5DH/LCb4TlkI4Uy9EX5dQavk 5vg01L085IvcAqgA3W8woVyakkMM7Fl5XFQGvK9XyTk+dS3CwZRiP6Lo4kjz/sIGkaljKb fR31m/pRyHf0ygYt9TEdp9H1Qvb9H94uQ7SaR0SZXgrgNO7Eo5oAsGyCcaq6MJxiPWeurH W6cj67vKxaYxpa/wN5o9n3ld93dXHntlRSKt24UzZk7t4lrY/oTLVO60ENcRtA== X-Mailman-Original-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1701417059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=EqwBLovC5ct849IeQWIt3omI4kJ6O9qsyWxt4uWuYCc=; b=LRDUF9T+tuvT0Y2WWu751P6bOu42eJSknaAjZ2rlQNtU07K44tGHqzymNBpX0kGftMu5SQ uL66Dy6lpTzQLPAQ== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=SssFFLM/; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=LRDUF9T+ Subject: [Intel-wired-lan] [PATCH iwl-net v2 0/2] igc: ethtool: Check VLAN TCI mask 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, Kurt Kanzenbach , Eric Dumazet , intel-wired-lan@lists.osuosl.org, Jakub Kicinski , Paolo Abeni , "David S. Miller" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Hi, currently it is possible to configure receive queue assignment using the VLAN TCI field with arbitrary masks. However, the hardware only supports steering either by full TCI or the priority (PCP) field. In case a wrong mask is given by the user the driver will silently convert it into a PCP filter which is not desired. Therefore, add a check for it. Patch #1 is a minor thing found along the way. Changes since v1: - Split patches 4 and 5 for -net - Rebase to -net - Wrap commit message at 75 chars - Add Ack from Vinicius Previous versions: - https://lore.kernel.org/netdev/20231128074849.16863-1-kurt@linutronix.de/ Kurt Kanzenbach (2): igc: Report VLAN EtherType matching back to user igc: Check VLAN TCI mask drivers/net/ethernet/intel/igc/igc.h | 1 + drivers/net/ethernet/intel/igc/igc_ethtool.c | 34 ++++++++++++++++++-- 2 files changed, 32 insertions(+), 3 deletions(-) -- 2.39.2 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan