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 7EA3441B9B; Wed, 1 Feb 2023 09:22:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13E9E4113F; Wed, 1 Feb 2023 09:22:35 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 84C6C4021F for ; Wed, 1 Feb 2023 09:22:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675239753; x=1706775753; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=2muJ1AVx0MTnwEBLHYU2Fjfk4NbDkkyBi94+3T8dYLQ=; b=mwx6ojYW0eASYiyxRv8n2rhKIK3SztdpxaqsAcgDTcFDYGpYMCiZlE57 g0206d7QvXzq1bsgThEGcd/P2kGkMBD75rUO3hm/S58u9SeEk7O1Sl88b k7/lejI2E1rrAjJKW8jk+pcvmUx2UBwX1QSuXcmNczm+zJpe3d/NgU4Fc 4GueSUkCZ+7MT70R7YS6RGVKWFkR6wVKT0Ev/XQ+KepP/xF/JuvXU9A5G CSEEK1n4j8HNnXm+Fy6mR+4j62vuNfaW5W1G9LL+iXqvQWgiJ6EW+X+aM 3L5q4zCQzEzNCanmjuvljWwZ3xFVUiyP9RI5UNTg5DpiBuOILnFaqHzEk w==; X-IronPort-AV: E=McAfee;i="6500,9779,10607"; a="390473340" X-IronPort-AV: E=Sophos;i="5.97,263,1669104000"; d="scan'208";a="390473340" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2023 00:22:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10607"; a="753583316" X-IronPort-AV: E=Sophos;i="5.97,263,1669104000"; d="scan'208";a="753583316" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by FMSMGA003.fm.intel.com with ESMTP; 01 Feb 2023 00:22:30 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 1 Feb 2023 00:22:29 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 1 Feb 2023 00:22:29 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 1 Feb 2023 00:22:29 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 1 Feb 2023 00:22:29 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hEh1EeadimDqF5/gjYMnM0bfeNTsy7fejof+ut9i0ulD4tM6di/lXAslFYDKbuXpzno6Oj8UetML3EGOywtK4deSzw1psNNJX9POJscyRUPw6n1PbxQk0dlSAsM7uC+Bhcqt6RkAuNiieup+JCnn1214+eS88UXqHJAf70jQIyj6XfdhhHcDzB1CcPyDZ+mGwhRL6KuUh0rdNMzahJUuqSvb/eIADiCD1xIGcPKwDMMEvF/IJz6dKIHxDgTvJnNV5JymJIPnVE68vEky9+IZt8hS05awAIspBdzKsrxh62j0/F1K0SirLzYMzyKzSkK6o0PZ60qfr0NoCJqQmybstA== 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=nZ+NT82QPeyac5P2KMOQ7FyEK4XpiOza/wpzXUXMGgk=; b=hiFPecGZ7npHJjIOFshlc0zkmFoOQhjEs6seS8HmQmM6tdMe0QOgtX7I5Xz+bYBIgC7Y/hYeLOhmuYUyu3sKbFrWToU7ObOqGm5DIZecI752RngoQLIcxu7c8PKk1o11QT41tSnIFyw5aPpUvYuOeOW77GSfd63R824DT3ZHJr8eqrFUF363GGe2wMISlrgjrrZ2J/iYpVu4RJKVulLtRzDOt49AT3uY690EVgEkPBkEu+QhqFHwAY7NuMK7VeEOaF9xQGmFX5C4G+f4b8DDPYw32T6NgX9rCoTDEXl4ZAzLrSJqOUu4PPCk+5eAVvCGlvUU6Kw3AMhoqG94W2NcDw== 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 MW5PR11MB5858.namprd11.prod.outlook.com (2603:10b6:303:193::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.24; Wed, 1 Feb 2023 08:22:27 +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.6043.038; Wed, 1 Feb 2023 08:22:27 +0000 From: "Zhang, Qi Z" To: "Zhang, Ke1X" , "Zhang, Yuying" , "dev@dpdk.org" Subject: RE: [PATCH v3] net/ice: add devargs for disabling default mac Thread-Topic: [PATCH v3] net/ice: add devargs for disabling default mac Thread-Index: AQHZJl1BslJOzFg3j0mlL5NeE4ekc66531cw Date: Wed, 1 Feb 2023 08:22:27 +0000 Message-ID: References: <20221221035804.1241780-1-ke1x.zhang@intel.com> <20230112075538.206709-1-ke1x.zhang@intel.com> In-Reply-To: <20230112075538.206709-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_|MW5PR11MB5858:EE_ x-ms-office365-filtering-correlation-id: 27ce2f19-944d-4710-fd77-08db042d7413 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: taKItiCXC5CioEbZRUsJp3MdRLn5BykUq0Rkpj5ZsgGxu2K9nC7TS6lALw8kVwtOcjFbaXrgukJhfLmxs4TdKziiFE0xcpbrekSRGVHDwBP7Vgl5nj7te7wB93u09iT7GHnPz6oFrnWikRQhIsdDRlrhoisPk537xvXZsrW2+14aXcLbWq3N0UlFL//amh5ArQPGfx8swuHjY2BArVE78rHngn4//QixTteAMKjHttYyjEKeh32SIeXz2BqeY8FC0r+YIwF3WSSWiKKI8I5RzZDDq+g5KVyeg8Rsc1RoVMlW5CVLiSxniXmVwptoBErUuUIpR8+VunyM0t9uvWINp6/mFkl4+dCWjrNhh3LoiKeN9Zyo35tqJnn0V7iuQ8O0c0siWGhpDn3VfhWasITZz8YYy3683hVWTT5GZbYROWupr399ts52OFzuVEFEpOy81fARWTQjOV4RXBMn55Cg/ALFMyyeBKygh66kRA8md8rmYtE5zIp+XiDgpOJ0TEm42EPDABmAM3IQSsjz7tSin38GjJGak5FMPJ4OGt7OPjoJSZiuIg/puR/gLsQQPey4ptvDUJ6JzvHTBXUD8gfBR3Ek3f3agzwMSMTkPaS8xvpBM8sgu9VMsBydat6CPhaJB+/P8j8i06OxUsOo0J0KTJ6CxKh9krm+Ucp2r82FV6cz09EwjxVelB+oPAkTwASbL7Mt/b8HOQmCnlzq3xmuZQ== 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)(396003)(376002)(346002)(136003)(39860400002)(366004)(451199018)(66446008)(64756008)(66556008)(66476007)(41300700001)(66946007)(52536014)(71200400001)(2906002)(76116006)(8676002)(8936002)(7696005)(478600001)(83380400001)(6506007)(53546011)(186003)(26005)(9686003)(38100700002)(122000001)(38070700005)(110136005)(5660300002)(316002)(33656002)(55016003)(86362001)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3oyYxyixqGJaTudP25go2uGrEuXliKOVR9vhD8lo2V1mCEqUOAphgwu6jiPc?= =?us-ascii?Q?y5qsYYbuw63yOW19Yrlnk2pAatHewSvlVrIhYPZFO22nUtDDouvjrlj7rZ9G?= =?us-ascii?Q?IY5paeYeCvLj7yfR5M382uepIRV9ycsuayz35IH0/GyqNStr0v71GEPnT57A?= =?us-ascii?Q?vYpgsxOs30HLGy15mBDVOHsSXR+ncx8ty3+AvcfSwgkBdeJCavkrTGX3j5z0?= =?us-ascii?Q?Ds4bwZrxWtlT9XkNgzzP8qZNGxvyhD40+1g0/KXrWFgFkBmJPxuHKbApmpd1?= =?us-ascii?Q?f8qlQGy3eIIAXKARCh+fNevmzaiCct/RHEYkgRUKNS2KIezaycbmZWKs8ggi?= =?us-ascii?Q?Jt5FvBmAq9GhDyZrViYDN6f30wladNYBIA3gEBOwPGEEdShzlLwZd8EQzMVL?= =?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pphcF+lj2NpVJHT9kRQ0LBzM5O8DMU6xRql?= =?us-ascii?Q?wRnD73HEMANA9rF8Z8X/zXXZm962vYCPt0egqSHHuIQdadCmdav1NegKKOB4?= =?us-ascii?Q?uHzf6D5DYeFWZhhRtV2f2dq/KlMc7Iz0mZnKTY5fIlYQXTC77t/jDJNuTdq5?= =?us-ascii?Q?YvSSe6yRXFQS4459DPuhr25anvghGNMz1WBmhYF5+iIDDfEwYexziTD0P4nd?= =?us-ascii?Q?EZQCg6A9UnQHkvJoaZOsHi1QylE6lJJS8DCqrVf49LAtZ7ECz2l844rY389/?= =?us-ascii?Q?Yx891MGo8+cWesuuiTMl0IyDNRiLYFK0izpipHBY?= 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: 27ce2f19-944d-4710-fd77-08db042d7413 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2023 08:22:27.0251 (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: DjG3O+VySogKi5wZboqpoIO6yer/wBE4HO+aTJO3Mo3P3swkIuVSgsaa0uhJjFL5A1cvxW3NItgvQPR0DGazhg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5858 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: Thursday, January 12, 2023 3:56 PM > To: Zhang, Qi Z ; Zhang, Yuying > ; dev@dpdk.org > Cc: Zhang, Ke1X > Subject: [PATCH v3] net/ice: add devargs for disabling default mac >=20 > From: "ke1x.zhang" >=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``, >=20 > for example:: > -a 80:00.0,default-mac-disable=3D1 >=20 > Signed-off-by: ke1x.zhang > --- > doc/guides/nics/ice.rst | 11 +++++++++++ > drivers/net/ice/ice_ethdev.c | 21 ++++++++++++++++++--- > drivers/net/ice/ice_ethdev.h | 1 + > 3 files changed, 30 insertions(+), 3 deletions(-) >=20 > diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index > ce075e067c..860ed1430d 100644 > --- a/doc/guides/nics/ice.rst > +++ b/doc/guides/nics/ice.rst > @@ -105,6 +105,17 @@ Runtime Config Options >=20 > -a 80:00.0,pipeline-mode-support=3D1 >=20 > +- ``Default Mac Disable`` (default ``0``) > + > + Add the feature that support to disable default mac which will be > + used by ice driver when setting dpdk_devargs config field. > + > + Default mac is not disabled in default, user can choose to disable > + the default mac by setting ``devargs`` parameter > + ``default-mac-disable``, for example:: > + > + -a 80:00.0,default-mac-disable=3D1 At least we need to explain what's the typical usage with this feature in g= eneral.