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 3F783A09E4; Fri, 29 Jan 2021 06:11:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B88884067B; Fri, 29 Jan 2021 06:11:26 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 408C040395 for ; Fri, 29 Jan 2021 06:11:25 +0100 (CET) IronPort-SDR: 9DCPWprgJULHmjgWHl/RPgy5iQaYqf5MWKnDe1DcRb/pMKhbcjCbxoyCRwPKAlS/wxEBe+hxCi brp+GOakV9Vw== X-IronPort-AV: E=McAfee;i="6000,8403,9878"; a="160138879" X-IronPort-AV: E=Sophos;i="5.79,384,1602572400"; d="scan'208";a="160138879" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 21:11:24 -0800 IronPort-SDR: iw7aAaLVe77rdKnvlCZvnckkzMRm9Gdtulm5PIc/BF01PvON/Bh1SgMo2VJnL7lhkaa3sVzG7u +ovHPR0dqzkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,384,1602572400"; d="scan'208";a="578910705" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga005.fm.intel.com with ESMTP; 28 Jan 2021 21:11:24 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) 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.2106.2; Thu, 28 Jan 2021 21:11:23 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Thu, 28 Jan 2021 21:11:23 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 28 Jan 2021 21:11:23 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PHkuCt1TCfuI/JAPVYmjQgxLT4Ye7Mph/TEnlbsnFLV2p5crkzsQbbQx1ALjxEWFVRDfAIvQmAj1mfXFNOb5LH0kgtYZmDF3FQi29TVVFcSYZd8Gh8fJSIZk+oKCo5tTSIUrBwenlZjmHsUwDrphKOmND6Clgwr4zgdbiuiaOc2DuEevRfI9iCqVJ2tVuvs4yc7wzaKnL02AfITCxJ07+jwo1wdIEuH83CO18Rxf1jyKb8ud/N5U7FxGazLpMg81LC2pFKYWvD6S/9awg6qEMFnvxMAyszVrUEDN7dASCbkYSsjp+fqQtKiDxvFPOEqge+HVx+ixDKxTKzjlmNpOFg== 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-SenderADCheck; bh=wLeQcbeGQlZQ2Ji+1iNnbXWfX5Yetd5HZdhwXMpJmU0=; b=FIIfVhWc502HNpJeoBHU0nCoTeTCqDmlBLYCymVTdVRCBzKrfxwOmJUvnyCCCf7pziOytU5gEnV1lwVs8ligYeXUSPg3/4YgKCwN7C/qc5WH1XbsV+S90ABg4uY8KtdNjC/HtDjud0gjg/TFxxHmRXL9Izbj+6d5Z9Vs0AaCkAS/2lFfhRN42fEh2lms4QsSjCOpYIy5XwfeLypkPhq3SdZdw26/8URLhAKbYlrdo9wW65IyVm7+uQ8m7sxiiSFZNeXqNSa9rNs53CHe6ZnvIJbgw0xVQBZlFlU/e6Qxv+QwQFJD3vXGxOnnqsJEXVk82scCLIOGUXyPpi3lHqoDGw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wLeQcbeGQlZQ2Ji+1iNnbXWfX5Yetd5HZdhwXMpJmU0=; b=WXCiRpoPtGTDXprrNrMxK0HeKaudbtVm4aSGhH+tmk3aBH14N0qT0uVvTJihaRI5LFmiXfhsHLvwXlvYRZLKIksd3QJQoPrs6efBUaYbAN1sDDFFP3q8v+cflIqbMkpXjOK6dUNynkX5pyZ6CZzESgm3RJb6OwjWri1waG2VCZU= Received: from DM6PR11MB3898.namprd11.prod.outlook.com (2603:10b6:5:19f::12) by DM6PR11MB4490.namprd11.prod.outlook.com (2603:10b6:5:1df::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.17; Fri, 29 Jan 2021 05:11:20 +0000 Received: from DM6PR11MB3898.namprd11.prod.outlook.com ([fe80::cc62:30d:7ddd:cb3e]) by DM6PR11MB3898.namprd11.prod.outlook.com ([fe80::cc62:30d:7ddd:cb3e%7]) with mapi id 15.20.3763.018; Fri, 29 Jan 2021 05:11:20 +0000 From: "Zhang, AlvinX" To: "Xing, Beilei" , "Guo, Jia" , "Zhang, Qi Z" CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix X722 FDIR field mask Thread-Index: AQHW9ePOgKijJvlbDUK74AQLT+1L1Ko983GAgAAaVaA= Date: Fri, 29 Jan 2021 05:11:20 +0000 Message-ID: References: <20210129020921.25104-1-alvinx.zhang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 259c79d6-794c-40b8-dcef-08d8c41450de x-ms-traffictypediagnostic: DM6PR11MB4490: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vTWoc7JkA8njW9dNC/BH35yGTUAZaWU1Dswth++plhwxyyyKPFd0w2IUW8G2/2ailR2cTF0NtelUQE6vIa3HG6Ph2JHQuWumoDvmLAuHEEDQEfoJYKO2JsN5g8B8+lkjYJnigks5JfI+hWv0kxZwIaokyPxrwjYKJs6+HPNPMcY6hJ1FsSUEysPUXpfIRjJP9AYWS+NMrYIaaKO+fr6fw9LgYJwggr9qLzXBNcCPBlNXsToMwVi7jbwpX1Vi94TfijNjDe5znjth72ArZIyIvN5A5/+37En1SdYcmsK08csMbqmWZmpVP3s7lJZbYdUOE7DmvHwMg6HENctyHvg3Lzu4OZfb/UdyHfIo5TsuMqprN80gPTRzeJD19uUmZFtW9YPqVjqO4ZK3q3Q1VbeQuK/K/hqGTSNPenAPvUKALMb4YwBS6jt1NXqdkknXlNtctHCJXwW01Lxu2JGlX4g9NjQ2a1KvPrdwnFDVmUx5LHD/KzeXTxGyEcJbc2LVzsuFQT+CegqJGPDkilf4Zzallg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3898.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(39860400002)(366004)(376002)(136003)(8936002)(478600001)(53546011)(52536014)(6506007)(2906002)(186003)(66446008)(83380400001)(316002)(66556008)(4326008)(26005)(33656002)(64756008)(66476007)(8676002)(71200400001)(55016002)(5660300002)(76116006)(66946007)(110136005)(6636002)(7696005)(9686003)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?54DVcEvymV5EGrmU0Yulam9v1J6VKyJYbPE/t+bM62zJvJhUtOBs/AqbFRDC?= =?us-ascii?Q?h/QB8tQ/gKAe7J2HcDD37bJrNZFSlnpJn/RIfUK/gs+i9kKncwI3UeTT4aja?= =?us-ascii?Q?cHqv3pe+yy4Sk6Wl6DNG42HMl6W5v5ssDeNuNvl7cshzeajlsBA0foK7elkS?= =?us-ascii?Q?PgZ5NVUabDl5n3OwMb7nTHq4i2F0jDbM9NXE/flTgKd+GgW3MS7F8DZljXtx?= =?us-ascii?Q?uENUisuSOjs++X08UN2SvgMX2mJHMWpTAA7zkVKFP8TboLtPiM9hbTbvdDPk?= =?us-ascii?Q?dpGOZyIGlDV5WgJ2SXy3MPqXep4ajvwHJ5MwToi4+uxskRq+FXJq0bjcpEAu?= =?us-ascii?Q?0/4ewsOjloTJc2vd8C242P67eZRMPq1744KA9A4GgP84W0KHw6uAfhcsWC5o?= =?us-ascii?Q?82kEd7vmwo0IjXwKN61BEk0cZalvujfkuGotY8S5XIs/azAXe/UKXZo1DjxD?= =?us-ascii?Q?OqKM0VOluJNAt0Io7fhwHexNXQOYB/vF8l4O/Q8N+eUykGiBGwCYMjmLbtm/?= =?us-ascii?Q?vtpuulPK/WAmvD3W1h/E7jI88BwLuyCdc590dSBGYAx9dG2enpmU8laA4RT0?= =?us-ascii?Q?D6U1suNpivHqlak53MH9JMMTVbfCirqKKML0zF0j4Vk2HSV/MvPVpaqWkGJT?= =?us-ascii?Q?90qFEEe3n3E2unvmGhaE2Ow3g+GItSwhNBnroU8OEJTWXNATdlJhmn5JTGA7?= =?us-ascii?Q?xEbg/70yNSQrLbD4hVub1RIvCmzELzXvrHS4a2AUsllgJFWtOfJOYVqxqYsv?= =?us-ascii?Q?F6zl5Hz8EUqg9+vJ3ETkLE4JC37fiPBYjsIKJbKvV4esjIK78G1bAHXrwCf4?= =?us-ascii?Q?0PNyWYe4ignESejt7t9BpNx4otInk/RlgalJu5w4MYzFPYaECYbefkTroHMj?= =?us-ascii?Q?EYMlukq55/ctAoXikwce7qwGKXTil7yfXU+tDbjVTpnUCFxuhNYQTsqQlVr/?= =?us-ascii?Q?YIuIfzbhLRSiRJKwISlfKFJoq+oGTHUhzAETTB162muYJXBEqAHU9JJlXpu2?= =?us-ascii?Q?JIMX1iiZsKI+D5ncEiq3mwQ4j5Llw2zUl8b5AycBa3RzMDxX5Et7QOpaiPqJ?= =?us-ascii?Q?A0ksZ5jR?= 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: DM6PR11MB3898.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 259c79d6-794c-40b8-dcef-08d8c41450de X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2021 05:11:20.7578 (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: wsVnGxAKQfiBsncncrO8aRapg3Ns8ql8kv+zJgoiyCUjJ4lsqc1+4N5f9DNaXB6zbXEdJR215Byx3XeEW9VJYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4490 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix X722 FDIR field mask 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 Sender: "dev" Hi Beilei, > -----Original Message----- > From: Xing, Beilei > Sent: Friday, January 29, 2021 11:34 AM > To: Zhang, AlvinX ; Guo, Jia ; > Zhang, Qi Z > Cc: dev@dpdk.org > Subject: RE: [PATCH] net/i40e: fix X722 FDIR field mask >=20 >=20 >=20 > > -----Original Message----- > > From: Zhang,Alvin > > Sent: Friday, January 29, 2021 10:09 AM > > To: Guo, Jia ; Xing, Beilei > > ; Zhang, Qi Z > > Cc: dev@dpdk.org > > Subject: [PATCH] net/i40e: fix X722 FDIR field mask > > > > From: Alvin Zhang > > > > The absolute field offsets of IPv4 or IPv6 header are related to > > hardware configuration. The X710 and X722 have different hardware > > configurations, and users can even modify the hardware configuration. > > Therefore, The default values cannot be used when calculating mask offs= et. > > > > commands and packets as below: > > flow create 0 ingress pattern eth / ipv4 proto is 255 / end > > actions queue index 2 / end > > pkt =3D Ether()/IP(ttl=3D63, proto=3D255)/Raw('X'*40) > > > > flow create 0 ingress pattern eth / ipv4 tos is 50 / udp / end > > actions queue index 2 / end > > pkt =3D Ether()/IP(tos=3D50)/UDP()/Raw('X'*40) > > > > flow create 0 ingress pattern eth / ipv6 tc is 12 / udp / end > > actions queue index 3 / end > > pkt =3D Ether()/IPv6(tc=3D12,hlim=3D34,fl=3D0x98765)/UDP()/Raw('X'*40= ) > > > > flow create 0 ingress pattern eth / ipv6 hop is 34 / end actions > > queue index 3 / end > > pkt =3D Ether()/IPv6(tc=3D12,hlim=3D34,fl=3D0x98765)/Raw('X'*40) >=20 > Not very clear about the issue, the above flows will fail to be created w= ith X722? > And you fix is for FDIR, does RSS have similar issue? Above flows created succeed, but they can not take effect. >=20 > Beilei >=20