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 B030941EAA; Thu, 16 Mar 2023 03:21:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 447AF40FDF; Thu, 16 Mar 2023 03:21:37 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 56E9140EF1 for ; Thu, 16 Mar 2023 03:21:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678933296; x=1710469296; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=HN+A6jkjZRkwwIadG3pR5v6Q+SLr+bExpCuyYEOaflo=; b=FjvSGHoc6vr26uWw0MDA6ELVJZsrV+bjsEFcEcWscVzentdMQ7T4CLRD e2j8ULrt8xUA53sRCYb8Hea4xyzMpMbpapO27Tpl1rRzBQqVXV0FJyZ9+ eGr8XhaG108115xdLGAOEA2EIQH+Rc2UDHvn5Wsrqbe29K1M3ZyuBfNuU 1/nxfS8KvphkEApZIjCCbx4zj85k9emixt8NYfMTCo0yMaQD3ipObSkX3 3w8H6zwZKaF0olnZS3eXMXeEI69iesJgMqIuVKySlK2bjHPjMowd6lO6W fq4gaaGRiJhcOfGcigLpiBul594RuDHNBWrXHZh9SvPvagB67Olamz/Ci A==; X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="340234374" X-IronPort-AV: E=Sophos;i="5.98,264,1673942400"; d="scan'208";a="340234374" 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:21:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="629685629" X-IronPort-AV: E=Sophos;i="5.98,264,1673942400"; d="scan'208";a="629685629" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 15 Mar 2023 19:21:35 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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:21:35 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) 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:21:34 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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:21:34 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.173) by edgegateway.intel.com (192.55.55.70) 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:21:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dPHl23KgcECyhqChMxahWfQXZtsWj/3YuJWFyHoyv39YmlInVRSu3ibGabSwKD5QuCdBSRX0DxaSeLgEIANFnA9vdTGFRYjos3HXCMsDcOidrRPslbpwxcSbk2w8e8E4dloEGBu0g1Y0z/P96eJ7lB+68dIyB+4JWVwgKH5IvKk/171R++Z17oCJXyoD8Blz+FbHE3oBLqfxLQGucaAyBV90qC/aa2jieQrfPLa7UTlm1OrwW8311bmeNaD17sX4peiz1t52OHi0U3C8wZ4WO8x/hRsi98yAkrKOabXzcSB+Erk/TyCaTEPZjhpkAMblZ4peKvoL3T84j5uXVUY6Ow== 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=HN+A6jkjZRkwwIadG3pR5v6Q+SLr+bExpCuyYEOaflo=; b=GyH8rUCy/ZliLDauNp9s7hiNQMZN34jcvUWE+3bGSyTMfTaQfz2YcYYKzfFMYZKjcN+PvRGDw13J6j8WaZz7d+kk1RWfyZDHq3KGj9d5mapQiGZZ1e5RDy76qG8tc2dk9UpQtX32fPiWbPxSNstjfn3rseyP1iZamL0w89yrwApJ2x8y7cV5qwH8G36P4GRoHpmwHxBn7UAveVFM61MZFEtxD4Yciwox0bQ8Bu3bFBKKGpbGiIndgMklp98Db0CzTcBAlp76buUhrk4B6a/MocfaoailO6IHs8Y5ChgZzQlAOqU2/ytU7jSfxXGz7GuCluIfzfKA59Ge+gLKsb5JfQ== 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 SN7PR11MB6875.namprd11.prod.outlook.com (2603:10b6:806:2a6::10) 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:21:31 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::2c5d:49cd:a9b4:f764]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::2c5d:49cd:a9b4:f764%8]) with mapi id 15.20.6178.029; Thu, 16 Mar 2023 02:21:31 +0000 From: "Zhang, Qi Z" To: "Yuan, DukaiX" , "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: AQHZViSzRhoY6KoJNEOxFF6/URbLI678qygAgAAEitA= Date: Thu, 16 Mar 2023 02:21:31 +0000 Message-ID: References: <20230314030544.6664-1-wenjing.qiao@intel.com> <20230314031619.12057-1-wenjing.qiao@intel.com> In-Reply-To: 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_|SN7PR11MB6875:EE_ x-ms-office365-filtering-correlation-id: d6f18124-6a28-49a2-54ab-08db25c52812 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VXjj1SCcRcLg+3PYQxmI9tEf9QDO+Ys3eUaYXZsmbHdx9zrA/vv+Oa1gccR5CWSE9e1dli+lHB8gGiwYA75bATg/FIe+Lka0ovym/QjosX7c//jhkjY8dVxM0xTzlrshsvjx9X4+x5Cv2FLZurrvvJAKjHfxH9N9yczoxpPe2ZNfgEYXXZJBsP6VUiJOOhLrW6F5uINAGUaMNW6w8pFuDCz5C+HRMfw+81QSvKca0PZo8jMbTvikgXRev1SveRPN1BXsWKRAIiSZpp6BRZe8EWRHKBMVXIUyfbONT17p+6+hDqdM+s0GhbifzKQ6cCtXZneE4/0R61ebMGgvG+5MV/l0CNHYc6BLGGUU04wX9/m+x6/Co7IoLakLS4ogQ+N+lXC+HrUuxZZ+DP7iXd1hyYEUrQOtirACZJl1vWLQc09KxglgYGgsdU3e/spVqnmnTwgvfiiieyTkfiMWujxwp2rSpY+ywl9pjQpt1aT5mXtwl/TFIZIKCCglJ5aoytCG3+juCre8jjiStLvFhnjeSqM5zTaQZZxUfFSgp8FeCDocjsMNFElR5q0rijyW9iImWXNWxPC7p52Iq4gh1NYRgsn9gVll9rY73nKMlcQxaT1hrWXij/PfspD+J9pHIcbg0fSdsaZYCovUcrZAYrGY7iqluoheKAB+jt22meAboGqHToCDyFrS0hDXIBv66Dxu 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)(346002)(396003)(376002)(39860400002)(366004)(136003)(451199018)(38100700002)(38070700005)(86362001)(122000001)(82960400001)(33656002)(2906002)(52536014)(41300700001)(5660300002)(8936002)(4744005)(55016003)(4326008)(9686003)(6506007)(26005)(186003)(53546011)(110136005)(316002)(83380400001)(6636002)(64756008)(8676002)(66446008)(66476007)(66556008)(66946007)(71200400001)(478600001)(7696005)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?VllSelFCSG5XSEpkZm96aDNBUStjeHhXK0VoaGw1QkVWWGptMEh1bjdh?= =?iso-2022-jp?B?NnZoVXFBWEhiUktqckhmeHo0MC9xRUxNT0JRQkhNbUlTdmQwUERHeEkw?= =?iso-2022-jp?B?TEJmeTNiSFRWdjl4dkhkVHVsd2FWc3JjMTBseGs2YUtZSGI2R2tKVVhG?= =?iso-2022-jp?B?MVVYeXR1R0NqcW82Q0lySzFLUWQxSWY1dWNiRHZPRmNSaHBVYmVwNGRv?= =?iso-2022-jp?B?MEdxTW9pSUYwYmw2SXVWdloxc2phbXJVT0hVblFsL09hM3ZQYmFBaXdU?= =?iso-2022-jp?B?U1hONkE0M3pIMmpLN2pjeUM3eGpBWXRZcm4xSnhRMUR3ZHpFMnhkRUtI?= =?iso-2022-jp?B?NzZRYWxuZ253Q0FXTTE4YktDTmIvWmNKd25mVkhHNUFaK05YRU1nZUdH?= =?i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VllyL3ZRRm5nNnUwdnNySWhuWXVZ?= =?iso-2022-jp?B?YjQzQ2k4YklhRnE5Z2JtSDJvQ250cUk4TFdhaDc2RXUwQVhFQTl0a2p6?= =?iso-2022-jp?B?RktCSg==?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6f18124-6a28-49a2-54ab-08db25c52812 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2023 02:21:31.3507 (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: OdNuTw2Qs6IY7OzvZIAgQOYvjfLIDsuz/3t/h2DGWF06SJjA8z/oPR7Xitz3+zMK3QjhGj5aHtKvT9NjpXdBkQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6875 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: Yuan, DukaiX > Sent: Thursday, March 16, 2023 10:05 AM > To: Qiao, Wenjing ; Zhang, Yuying > ; Xing, Beilei > Cc: dev@dpdk.org > Subject: RE: [PATCH v2] net/i40e: fix MAC loopback on X722 >=20 > > -----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 > > > > 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 > bits. > > Correct it according to the X722 datasheet. > > > > Fixes: 3a838ab649df ("net/i40e: support MAC loopback") > > Fixes: 5712e6407089 ("net/i40e: revert enhancing loopback AQ command") > > > > Signed-off-by: Wenjing Qiao > > --- > Tested-by: Dukai Yuan Applied to dpdk-next-net-intel. Thanks Qi