From patchwork Sat Apr 11 00:28:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Guedes X-Patchwork-Id: 1269219 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48zbN12n5lz9sQt for ; Sat, 11 Apr 2020 10:28:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C444F204BD; Sat, 11 Apr 2020 00:28:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o3s5Kq092612; Sat, 11 Apr 2020 00:28:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8FBF820353; Sat, 11 Apr 2020 00:28:43 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 26F5B1BF2C1 for ; Sat, 11 Apr 2020 00:28:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 228098688B for ; Sat, 11 Apr 2020 00:28:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AJsZyx6_yyt4 for ; Sat, 11 Apr 2020 00:28:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E0BDA85DD8 for ; Sat, 11 Apr 2020 00:28:40 +0000 (UTC) IronPort-SDR: B4dyTTJY1dMD67Py9xEFxsERoJiVVqivMWTgK/Jn9sv7d18qtb2h8VN+s7rQnX/Vgn+j35mizx a+ItMvTbfWwQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2020 17:28:39 -0700 IronPort-SDR: VZ9ktPMGmFFvIuPCiY3agaVITd8GaZiXgbT0v6A2bMr/lfWH8Ll0ctwWJdIcnNz6D32dYYvzFR H0X3nq/eeafw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,368,1580803200"; d="scan'208";a="362585531" Received: from nwu5-mobl1.amr.corp.intel.com ([10.134.124.160]) by fmsmga001.fm.intel.com with ESMTP; 10 Apr 2020 17:28:39 -0700 From: Andre Guedes To: intel-wired-lan@lists.osuosl.org Date: Fri, 10 Apr 2020 17:28:30 -0700 Message-Id: <20200411002834.13916-1-andre.guedes@intel.com> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Subject: [Intel-wired-lan] [PATCH 0/4] igc: Enable NFC rules based on source MAC address 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: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Hi all, This patch series adds extends the IGC driver to support for Network Flow Classification (NFC) rules based on source MAC address. Quick summary of this series: Patches 1 and 2 clean up and prepare the code for the new feature, patch 3 adds the support for source address filters in the core layer, and patch 4 enables NFC rules based on source address on the ethtool layer. Regards, Andre Andre Guedes (4): igc: Remove IGC_MAC_STATE_SRC_ADDR flag igc: Remove mac_table from igc_adapter igc: Add support for source address filters in core igc: Enable NFC rules based source MAC address drivers/net/ethernet/intel/igc/igc.h | 26 ++--- drivers/net/ethernet/intel/igc/igc_defines.h | 3 + drivers/net/ethernet/intel/igc/igc_ethtool.c | 41 +++---- drivers/net/ethernet/intel/igc/igc_main.c | 111 +++++++++---------- 4 files changed, 84 insertions(+), 97 deletions(-)