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 8C85241EAA; Thu, 16 Mar 2023 03:05:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6375840FDF; Thu, 16 Mar 2023 03:05:18 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id BCEF840EF1 for ; Thu, 16 Mar 2023 03:05:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678932317; x=1710468317; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=apLsB5xO1gjs6ULGCfVX7nyBq8bvkojZBTVVlT42idM=; b=TTKvbgAANZsxKr8cEjzBYPRjuN6W1+OnpR8gBmOeXl5GWjgn/HbDywm/ JNlLIm2GEi2x/s4q4HBsBU91KsUfkBtK4BZBjvuq10YEDmR72edkldKHP Bl1djpHwzhe+hECL1fqO3gIY/9auJgYc/GGe1dhtwutU8hWyBv3dg0Y6e LLDniiFl2omLk/es4vCUzCE7Y5MM6taR7Wjtig7VA50O4rvaSgTlUOJhm ZEtpoH74MLI4xzgH6TFbAQu2da22tyV2hng9hslddUIG7ZFrBpo3zn4G0 UPCYxgoShHJ2NSHlw9TdwLmi6VmPvurbQ3EwqbzD7eCl5ifecJpkrMIAn A==; X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="340231659" X-IronPort-AV: E=Sophos;i="5.98,264,1673942400"; d="scan'208";a="340231659" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2023 19:05:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="629682930" X-IronPort-AV: E=Sophos;i="5.98,264,1673942400"; d="scan'208";a="629682930" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 15 Mar 2023 19:05:08 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 15 Mar 2023 19:05:08 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.21; Wed, 15 Mar 2023 19:05:07 -0700 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.21 via Frontend Transport; Wed, 15 Mar 2023 19:05:07 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) 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.21; Wed, 15 Mar 2023 19:05:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lx4if0paPBxzhoC5ZU6HYsj7BhQf0DfrVeVFE7Yof7L1HlgTd/mzPMpsWyO5PSMC9jc5C1DcrFezvnPtp99WrIicKgUo2dpU1n/H/zfInD4N2eFyB0PVi3T1996VmYHPd/cWq1m+9AlvI72w7k7TvXBsi6hNc0BS63ih+ejDGeOcRjkSrbKrDFaFVPUA6cY5Ow2hvAEKj13TCIvDlaUhKELzbN2xWlJmDXm25TA66TjJfEsY+ZosHQKtLOKD47w2sBQlZ+A0AHhZwRlObt3noN1DwH9EWebpFLLlwiWDS25aL389SWDWK/0y1ZbMC4p+75yPMxm6XvQZcXaWBDjBsw== 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=apLsB5xO1gjs6ULGCfVX7nyBq8bvkojZBTVVlT42idM=; b=klVkmfzqBu+DT/YoaGknlRGhllW5VatoCxvKTDKXtNLzmWsvFGpSQkLuJCoyaLh/Mbx3ogXqPiGbgKK01atXCadRDp5d1Gf9p0DB/JX/3825/2mvNqDa/MPLAorIBg3hfzkCTQ2jCHXe9uWliQ9y5+wWt3z4l3bS4IBeuzAxfZsjhOjq9zag3/evl45+APJIJ3C1HvFqMkx7zki4Kk4mDlBTLQDd4XQFP7RpZy908SONoTPM+V6Oc6UF5F4BIjmTJzWHtHOQ3ep08dHNvvYqXzATmkYvqZSXOTFGFb/gNYIaeftBCbvTsqizODKWDOC1o64BCg9QDCQeJZOHNF3Qrw== 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 CH2PR11MB4487.namprd11.prod.outlook.com (2603:10b6:610:44::18) by SA2PR11MB4779.namprd11.prod.outlook.com (2603:10b6:806:11a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.31; Thu, 16 Mar 2023 02:05:04 +0000 Received: from CH2PR11MB4487.namprd11.prod.outlook.com ([fe80::a05d:d32f:5361:f729]) by CH2PR11MB4487.namprd11.prod.outlook.com ([fe80::a05d:d32f:5361:f729%3]) with mapi id 15.20.6178.026; Thu, 16 Mar 2023 02:05:04 +0000 From: "Yuan, DukaiX" To: "Qiao, Wenjing" , "Zhang, Yuying" , "Xing, Beilei" CC: "dev@dpdk.org" Subject: RE: [PATCH v2] net/i40e: fix MAC loopback on X722 Thread-Topic: [PATCH v2] net/i40e: fix MAC loopback on X722 Thread-Index: AQHZViQS8WCUQdq0fUqGexqPpVUdda78qvMQ Date: Thu, 16 Mar 2023 02:05:04 +0000 Message-ID: References: <20230314030544.6664-1-wenjing.qiao@intel.com> <20230314031619.12057-1-wenjing.qiao@intel.com> In-Reply-To: <20230314031619.12057-1-wenjing.qiao@intel.com> Accept-Language: zh-CN, 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: CH2PR11MB4487:EE_|SA2PR11MB4779:EE_ x-ms-office365-filtering-correlation-id: a4ceb5d0-c5d4-4e95-d35c-08db25c2dbcb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5833mbDYy5+6Rg81bRu5t9zSKlCV3KX5d91cm1XpEWey4me/GRtOegWBfsh4GFj20un6+zSDh/DLDMzHnkZ164v6zxbIAtD8Ww6nrcpDUnvt1HBs8C7pInk9SyndnjsuTE44TGX4vAdzapL/LDRGQIRatULi/Ji8SLP8BiO1v4ow3Au+dmBxaSLuVGoEMR4qnAHfRtAnsJinB4kWMycw0XBVIHgqykga8so8LOVODSMEjEj2mtyVJAniN9RIn1IY0Lz2OZEDADYBQq6VkHPPs9D60icnaUoPSnI35Vl/oq7O5Vx/rZMj3n1ui6ETL1HF5GwgNsActOZwaduEhicVsI6tR6ns9yiJ/BkbZFp6Z8+Hm/MKF+eagcaxF/52v83/yzrBMJnR0EXYzTSE5RcR2uwx3mpJ7PxsEEDbIrmiDTLLGU1R/i8pGLLXcxcp5ew0PkCHwuUPBXNruZgbjcyzHc4d2NKXSOr/Yh1UfKMzjUA8l4OxQgFWrxNOIM4xArtMQJqhaCEqCxQFc2BXNDkN/WPnBaDOvxlK4WOUgqjhplj3yZuoGyB903GiYxDdvW+rz0ce2JWUJlHJC9Eh1EDkaDkq+HRe9sxTk7nYzTg34P7pdavWfb7cvRun6ZA8BjghA077Jv3fM77zEZMxPiPOHyzaxEuQDSag+Nj9O/6YYteRTyILvSgGDlWhC3J4ETV2 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR11MB4487.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(376002)(39860400002)(366004)(396003)(136003)(346002)(451199018)(38070700005)(86362001)(82960400001)(33656002)(122000001)(38100700002)(7696005)(2906002)(52536014)(41300700001)(5660300002)(8936002)(4744005)(55016003)(76116006)(9686003)(26005)(6506007)(186003)(53546011)(4326008)(316002)(6636002)(83380400001)(110136005)(66446008)(64756008)(8676002)(66476007)(66556008)(66946007)(71200400001)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?d0poblUzT05lenYxTi82eCtzeUtjRStsK211OVoxOWc3djhuMmFGT25L?= =?iso-2022-jp?B?WEhlNG95VG9vR0Q0Sy9KMVBqdUVyWVltRXlOdjdxTzMxZEg4Ni9QaWsr?= =?iso-2022-jp?B?TUd0ZzlvVUVyN29zenlOZG41eDNjZnpLY0R5ZWxJR1hoZTBmUzh4YU5N?= =?iso-2022-jp?B?VytjMEpodHo2WUk5bHRETnlNWThISklwamNURFlHbGF5Z2cyZG9FTU9y?= =?iso-2022-jp?B?Zm5MMU01cjdSeHUzaFJpR05RbWlzSktJdVJVUzZESnh6RDhTNlhRZUF1?= =?iso-2022-jp?B?Zm9tbmNWS2hNTkxjVGVGYUM4Yi9ta295ajJyY2F3VkJ3MVdnSlRaUVJr?= =?iso-2022-jp?B?b2ZlZGQvTldNWGpKR0w1K2JnVlVvay9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TQ1enU5VDIy?= =?iso-2022-jp?B?OXprK0YrYXNCRFBjbVhFc2ZvK2tYM0wwWkdkTTU3cDlUUzhTLzU2SWRu?= =?iso-2022-jp?B?OTFLN0FjT0FnYkI3anhmWHpUL2FUb2FPbkQ3SlZIbnQ3ZGhpcUErSmwz?= =?iso-2022-jp?B?VDdidA==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR11MB4487.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4ceb5d0-c5d4-4e95-d35c-08db25c2dbcb X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2023 02:05:04.3883 (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: gGZq7Yq3sc30S2jnV5oWMxukeHwKkQh603VXFqD7cJ0us7/M7wcZ1AmRFdFL0klH5fnrv18v7umIpoT8MU2/ew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4779 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: Qiao, Wenjing > Sent: 2023=1B$BG/=1B(B3=1B$B7n=1B(B14=1B$BF|=1B(B 11:16 > To: Zhang, Yuying ; Xing, Beilei > > Cc: Yuan, DukaiX ; dev@dpdk.org; Qiao, Wenjing > > Subject: [PATCH v2] net/i40e: fix MAC loopback on X722 >=20 > If enabling MAC loopback mode on X722 NIC, transmitted packets are not > seen in the receive queue. The root cause is using wrong loopback mode bi= ts. > Correct it according to the X722 datasheet. >=20 > Fixes: 3a838ab649df ("net/i40e: support MAC loopback") > Fixes: 5712e6407089 ("net/i40e: revert enhancing loopback AQ command") >=20 > Signed-off-by: Wenjing Qiao > --- Tested-by: Dukai Yuan