From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B2FA41C7F; Mon, 13 Feb 2023 02:48:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 889B040ED8; Mon, 13 Feb 2023 02:48:54 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 3ED6840E09 for ; Mon, 13 Feb 2023 02:48:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676252932; x=1707788932; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=oO7L6u5oCiDHfwToR2ZW4MqlQTdCrYdom2bAE5zmdbs=; b=VA9orsIcGDRVUiOmqSqMFsUB6aOQMsSCYC6eerYcc7UN+Mi/XFaSTHsA 4ys5iCBY7NEYnecPipwPogPUKkOtWa9VjPXDyFuta4bKEy+ZGFwGDmhNM B9xVyJt57CripHrMBKvspcEG580G5u8vR7b5/VWb0apUvIL1z5DNSU+7t eXp0fYhQLTeAuJai7PpLLHALuEUj8oVIQRsgLVefsJRWdZ1YSrVOJkTkO JCjGX3/zjOF1LwUSUaLc021UaEHB0Qo9p4J4UoRDiq45G4+mTIGqE5Q6h royrQQ4qGy0eSrY+0thiBC7GjruaIp0npT717389rBiQ8QUGqzcUOzudW A==; X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="393186658" X-IronPort-AV: E=Sophos;i="5.97,291,1669104000"; d="scan'208";a="393186658" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2023 17:48:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="997529971" X-IronPort-AV: E=Sophos;i="5.97,291,1669104000"; d="scan'208";a="997529971" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 12 Feb 2023 17:48:50 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 12 Feb 2023 17:48:50 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Sun, 12 Feb 2023 17:48:50 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Sun, 12 Feb 2023 17:48:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xktbi1oNZtu9C2w8iJwcIEqmGJA/VAelctdz9Qa/UTYqiVwJ/boWJUQUWMCBWBWyxQDlaZ2aCo7y0wD/nAUjnX6PCExiLfeFIKKhXghqEaEaHRSbSEfeHSxgF3WqPx8zKDNbEwjXLW/xTZ8jqhfFpb+9Eoh3ETH3zJaPoUUl8DXfvhAe8tDsY9DbKqm+HXi9s1Dm8vkZqvKaw4ycr8UQ3b2kv9Jx5wHPmsOAARy2XRmZrjjxOwoMB+LDaxbPEffjkSShKS9hW4zUsSiWN7l7EU1k1YLaob6EkAIiumlfzzmuI8rzC32cPtR2bo8u+BBNNk1wcWEwhVVu3qeOFplTEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=oO7L6u5oCiDHfwToR2ZW4MqlQTdCrYdom2bAE5zmdbs=; b=mVMRWq46zfVpkOGQ7On5NpSQA+YkoOYx+C7Vnbjmx9qqIQX43xNWJvSfAycA+eQtBHYbPD1DFcr7x4Qzd+SeLt9NmsMLTD7OoCBhwSGjGluNTP8hu+YN37ppKFneNOO2SJCwNW/C52obFMYfanJBhOhvfG5byDZkdqt+AGInOIaIBROzqQ/0Q+KNhA3/Yg3mK6lsVn7yeBLuM0dUN/ZxapIvGJU5C9AK7wJPcCag02i6oNd8+2L8rmltwY0J0HhwiFgpZ8kZhgKPyL92CD8frUWEyAcsE3EzINJslVfsHbw55774+UiZJTfykpwGPR0M+U/E/ruHFWGjxVFwgLxxdg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by SJ0PR11MB4909.namprd11.prod.outlook.com (2603:10b6:a03:2af::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24; Mon, 13 Feb 2023 01:48:49 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::eb70:80e0:1b88:3ca5]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::eb70:80e0:1b88:3ca5%9]) with mapi id 15.20.6086.023; Mon, 13 Feb 2023 01:48:48 +0000 From: "Zhang, Qi Z" To: "Zhang, Ke1X" , "Zhang, Yuying" , "Liu, Yong" , "dev@dpdk.org" Subject: RE: [PATCH v4] net/ice: add devargs for disabling default mac Thread-Topic: [PATCH v4] net/ice: add devargs for disabling default mac Thread-Index: AQHZN3WBRjDOKq/QTk2KSAsEEnx7vK7MKuGA Date: Mon, 13 Feb 2023 01:48:48 +0000 Message-ID: References: <20230112075538.206709-1-ke1x.zhang@intel.com> <20230203020207.99778-1-ke1x.zhang@intel.com> In-Reply-To: <20230203020207.99778-1-ke1x.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|SJ0PR11MB4909:EE_ x-ms-office365-filtering-correlation-id: 0405b68a-4c06-4d60-f679-08db0d647312 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nx4lGSb2m18fv2P1ex8lE6fV520bBKu6mxX4ZktqKZfgU7m3Knx0ypz/CX8J+cVNNLri8uYrwrzvN2GbmwYRzgtmUbs+i7uYJeYKlv3/3bw69mIVWjIUjg9XEOKPj6K1CeLepJmyOBEyaHabrAxm27SzlwS9gmskOOAqH+fsTo8BSZCZBuCK6Ks8uCeQ510QNUBUodd8G53s7/19nmqQk6I5IVVCdibPcN3g9lvrNdtP8YA8axnvVWu5gLFvkzNFWtn5fZzB8xpBpF3sCAbAFqJhVxwlXJFgfTcglo991VLBNz2eKEClw5m684ADN+8tUK9RhhYVqLYyzSCmYWxU+DzMav/K033yZnkZU/UHgtaRixCJTz6OtvIhcF1p/quQSVfSj4yRW8hFtlGP26viqkdMbKgdD/hezMWyAOc9qj50j/HtDh1nRxQ1I/qWt0/Hl6yO4WQ93JtrxKyBB2YpUd6vmGhC2TzIwfHNqXmPdLRzlemOk+HcZc9Jg2jtmdtyXEIo27YZY70n9oLNV0ceQ1UGUGzrLvXo99vBjQHcTcpwCm+0C1V1Et8gWaaBaQB9vxa4iE4gvrUVTwd3Nj+VyBiqzRITGCmweM2eDkerxkkZVfdb9iMthI5I7pu0iBWiYWNEQoHQM6FlkqTbUBd17ZDbkiMREoj8dOtq+hRdqv+gxSwqL6iyZU5InO3nVEcAoyMC4Zfi0MZG3Iv6PiidVw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(39860400002)(136003)(346002)(376002)(366004)(396003)(451199018)(86362001)(38070700005)(2906002)(33656002)(52536014)(5660300002)(8936002)(41300700001)(122000001)(38100700002)(82960400001)(83380400001)(71200400001)(7696005)(478600001)(9686003)(186003)(26005)(55016003)(8676002)(316002)(76116006)(66946007)(66556008)(66476007)(66446008)(64756008)(110136005)(53546011)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mhJhehjf5hWL85O4G6Y5tUOvPyd4su3LWOFWYKTFm8c88XqIQCUKEtYpxXET?= =?us-ascii?Q?cU95hzcLRfS2qemfyo5qoiRS8dHJVVXDIekMPbL4Y5kw1OaiORrWA6hjSfFO?= =?us-ascii?Q?QZ7LDFq1vnZ20iYWkKmfnMXtUcLygvdQkZNjaGM68QHxaQDDMAIgUF0oVhM1?= =?us-ascii?Q?tDwD/oJnsB20jNStPwhDW3onf8ohi1qFOGzna3bTghhr8wOtw9++SXjFLc3r?= =?us-ascii?Q?fFlMctiBBxFEgS5GoBNj0kIUNafnX+NY9UHF5iUZxlqamP5tdyJx5sKUfVnY?= =?us-ascii?Q?b4YyzacSvHkRV2aSqsHaNOdQohFbJ9VDRwIu0jcc22dF8j3JNGvrS8omWUkD?= =?us-ascii?Q?/TmJiRrCrBVa54t670ZKYiliIfgkI0EeSAcG4ujxBC+13siciOpRJfDuVSZt?= =?us-ascii?Q?4pyoJkvhqZ3/b+368qy0WWXO3a2YhgTsVqxwsv03peB0kKBpx53H+KiPxzBv?= =?us-ascii?Q?kxhL8c1DrbrzPq6vj8vbAT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ii?Q?gkkhkBkFsgHaoZhwMzb4XAfB9SMjo5dinyrPYZsZkYtFzLWfsagTTFqSNCf2?= =?us-ascii?Q?wrovYw2UVlQP5KT3dWEMvHjrs+uw3ZJA3dcgqeRI4A2zaYxz2c0F8UP1KnlR?= =?us-ascii?Q?RZbieLdASOqpxM2u3Dd6YO5eGg/+78PTh1lSAsCYaXscKWYS4JeT4pw6yc3z?= =?us-ascii?Q?wCGxNtM87fGclSUHBgOcPeqDUqleYsLugwBC9wps?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0405b68a-4c06-4d60-f679-08db0d647312 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2023 01:48:48.1101 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QAvIf18cJNH1XrW26nW2fp9PPSdQr3y4PaoTCv0VMfiGydqiGOeOX4gHZhf5sDXPa6Ic7He7Y0tuIqiDVqhmvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4909 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Zhang, Ke1X > Sent: Friday, February 3, 2023 10:02 AM > To: Zhang, Qi Z ; Zhang, Yuying > ; Liu, Yong ; dev@dpdk.org > Cc: Zhang, Ke1X > Subject: [PATCH v4] net/ice: add devargs for disabling default mac >=20 > From: "ke1x.zhang" >=20 > There is a requirement that if a flow rule is created, received packet is > permitted to pass if rule matching, or else drop. > But in default, a mac filter will be created and the default mac will be = added > into lookup table during driver initialization, it makes drop action impo= ssilbe. >=20 > Add the feature that support to disable default mac which will be used by= ice > driver when setting dpdk_devargs config field. >=20 > Default mac is not disabled in default, user can choose to disable the de= fault > mac by setting ``devargs`` parameter ``default-mac-disable``, Reworded to Disable the default MAC make the device drop all packets by default, only p= ackets hit on filter rules will pass. Default Mac can be disabled by setting ``devargs`` parameter ``default-mac-= disable``, for example:: Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi