From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B0AD5A0562; Mon, 30 Mar 2020 02:48:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 64FE62C6D; Mon, 30 Mar 2020 02:48:57 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id ECF1A1AFF for ; Mon, 30 Mar 2020 02:48:55 +0200 (CEST) IronPort-SDR: CWYKm+C006ROjWsoeIunv+YbGZvd9G38JEpxFuPT6sIq1QJUcAi0ISbt4lNosyThoZA5Ctkxy2 g1NQB874Khcw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2020 17:48:55 -0700 IronPort-SDR: 39GxUlmUqaUy+VA5WxTVf10D94A+BROH165WwCSRJ+WejHSK/QIgEVevgqFAdVTizBhGdtMp/b ZWqCVL7X4WOA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,322,1580803200"; d="scan'208";a="248462714" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by orsmga003.jf.intel.com with ESMTP; 29 Mar 2020 17:48:55 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 29 Mar 2020 17:48:54 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 29 Mar 2020 17:48:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CokyVjoasdt9t7ibGKPdfn3N8GVHSBKKbg65rZ1dz+f8ibnLb/PSACsLO0O8yi5g1IkmK8Sx0CzVgGtlf7nYhKxaIznslQObfV7jtQWf6n8RJfaB5A9223RVZJGWpduQWtbEtO0mr6KygVgjgEMDqhiBMgp1Wb7WAJf/s32DovgbQPxMY2b5Hf1JQAMR/9x30WKw3cO6nHb31jbvzcuWaHQJ4Rn+RDeIRKYhkI/B89E42wFPV1XIFcWSi+Xz/DTDQ7mmz/BXHDyckg5f7mBavucfyhdyKVYVhCA3sR+D6/skNS6RbRL2QdoKHtzWWTZKT8iamIMol6YSJT4yJqqF1w== 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=uO2EfxY/6PvfX9W18vBvqaJQbeAzAR+48WQG0LW4xTI=; b=jkv7Kf6QC2beE/fINkbOtgu+MsoHbzGS8S/BmiRejjXouZfdgjr4AFDJCiCMmAPt0+Ng8qDoPqnkj0V9edYrjQb4jnxkqJPK12lG54wWjHF5H1fASCFk8WkTSagcyIhOiZXEGCRUijj8z1VZDZaLBS/2EYyML3CvRU+S0BW+BA3yKXHT8eyK5zHyGV3edVsdwZMxEs9l7Zcw41qE5t1QcTQi3UFTZPVB5l5WnFh8XUHabEd0IIEqy7rgz6WAUpENvd4ikRPLQyiZru18M4EohQhNRR06KuLiyfpO4uL591nxo6ffRfL4tuiROos4k8dJmiWvsdVO51abulb9rKK4pg== 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=uO2EfxY/6PvfX9W18vBvqaJQbeAzAR+48WQG0LW4xTI=; b=RkI3ka3OT/dcNqHtKN678jRGbp+1s9hFtp2FPEZlMS50nwSgEQZwWFyAQponFzeco0eNEa7x3GTnZ6rXuw822+XG27fky5ogInmTGziVugbiU3GavUR4mtaURTfjSAz3sc4Y2BiKTzz+mTqHt4B0NlJzOGV16LYNnCou8GPvsgo= Received: from BYAPR11MB3541.namprd11.prod.outlook.com (2603:10b6:a03:f5::16) by BYAPR11MB3048.namprd11.prod.outlook.com (2603:10b6:a03:89::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Mon, 30 Mar 2020 00:48:53 +0000 Received: from BYAPR11MB3541.namprd11.prod.outlook.com ([fe80::e8ad:5730:3ad0:87c6]) by BYAPR11MB3541.namprd11.prod.outlook.com ([fe80::e8ad:5730:3ad0:87c6%7]) with mapi id 15.20.2856.019; Mon, 30 Mar 2020 00:48:53 +0000 From: "Xing, Beilei" To: Tom Barbette , Andrew Rybchenko , "dev@dpdk.org" CC: "orika@mellanox.com" , "Zhang, Qi Z" Thread-Topic: [dpdk-dev] rte_flow: Different devices have different field indianess? Thread-Index: AQHWBEQujhyKkFKUPky0dJcDYIElFahcg9gAgAAB/YCAA8iu8A== Date: Mon, 30 Mar 2020 00:48:52 +0000 Message-ID: References: <2aa27e9f-6063-0842-8819-f6f0fd17267c@kth.se> <56e1f5fc-e159-6050-0f8e-4ded401db6bb@kth.se> In-Reply-To: <56e1f5fc-e159-6050-0f8e-4ded401db6bb@kth.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=beilei.xing@intel.com; x-originating-ip: [192.102.204.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7145526c-877f-4c39-0cfb-08d7d4441e75 x-ms-traffictypediagnostic: BYAPR11MB3048: 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:10000; x-forefront-prvs: 0358535363 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3541.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(396003)(39850400004)(376002)(136003)(346002)(366004)(71200400001)(76116006)(66446008)(64756008)(66946007)(316002)(66476007)(66556008)(7696005)(8936002)(107886003)(26005)(4326008)(9686003)(55016002)(8676002)(110136005)(54906003)(6506007)(53546011)(186003)(81166006)(81156014)(478600001)(52536014)(66574012)(33656002)(5660300002)(86362001)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9PpszVUTplXA6zNre5b0CkeVOsHhlfRd9TtC3WSd41sanZa7v07BANcp7sdI/9h4cqE6dzQcQtxoPYqFfQvpVq9/g3Bq/A/BRe48ufzYEuKRR7X5TicY2MUZdekVWJpW1lmLA/dXQQulSZ26M5PMysfsJfkAKfo2HN/+JEzFih0/zvJxVlw9rupESE0um3rm8gmRzNvYTFam4czHrzadfwG8Wi85piysKLm28AJoY7mt7epc3UgF2WbQSB+a1SzKNIh2MeuwUThpFEJyOqsENUs2MyeCG8e9zy0IkMDDzJFhRrL56pCJwNOmtSz+rstpxuCdKz+1ehnXc3aMWy4uAX4Z/E7lECHY1pqdZQg98AE4XK+N4WZ3BGMRswDz89p4QSLcu6UG07lzyH3grVfKwRDolhA3q8xMBcvavXYre7LNGxnRUNhfHYbVxhhx/C3N x-ms-exchange-antispam-messagedata: AlYp6fFmva8XEC3t7C9l3dxDm7BovSGL/dPCOaw6Kw0yYtmnWCcwPo9cbpqsemrA0WJCCoE/J58YS2aLdtcimMKM8/fY2wxCDgyBHxE/n7P18ePibR9qJ7twbjNVT3UcYLBgU8zEha+PWGiNZfMjdA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7145526c-877f-4c39-0cfb-08d7d4441e75 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Mar 2020 00:48:52.8667 (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: 8A7aSE6r7A2ouU1PTM3ahpaPrt8d2ap5Vg7AasPBeN0yDhBne/5XVeAK6McDNwcPVXQollqApmNIYo6qh6Nd5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3048 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] rte_flow: Different devices have different field indianess? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVG9tIEJhcmJldHRlIDxi YXJiZXR0ZUBrdGguc2U+DQo+IFNlbnQ6IEZyaWRheSwgTWFyY2ggMjcsIDIwMjAgMTA6NTEgUE0N Cj4gVG86IEFuZHJldyBSeWJjaGVua28gPGFyeWJjaGVua29Ac29sYXJmbGFyZS5jb20+OyBkZXZA ZHBkay5vcmcNCj4gQ2M6IG9yaWthQG1lbGxhbm94LmNvbTsgWGluZywgQmVpbGVpIDxiZWlsZWku eGluZ0BpbnRlbC5jb20+OyBaaGFuZywgUWkgWg0KPiA8cWkuei56aGFuZ0BpbnRlbC5jb20+DQo+ IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIHJ0ZV9mbG93OiBEaWZmZXJlbnQgZGV2aWNlcyBoYXZl IGRpZmZlcmVudCBmaWVsZA0KPiBpbmRpYW5lc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hcmsgaWQgNSAgLyBlbmQNCj4gRmxvdyBydWxlICMwIGNyZWF0ZWQNCj4gDQoNCkl0J3Mgbm90 IGEgYnVnLCBidXQgSFcgbGltaXRhdGlvbi4NCk9ubHkgRkRJUiBzdXBwb3J0cyBtYXJrIGFjdGlv biwgYnV0IGk0MGUgRkRJUiBkb2Vzbid0IHN1cHBvcnQgZmlsdGVyIHdpdGggZXRoIHR5cGUgMHgw ODAwLg0KDQpQbGVhc2UgcmVmZXIgdG8gdGhlIGZvbGxvd2luZyANCmV0aGVyX3R5cGUgPSBydGVf YmVfdG9fY3B1XzE2KGV0aF9zcGVjLT50eXBlKTsNCg0KICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBpZiAobmV4dF90eXBlID09IFJURV9GTE9XX0lURU1fVFlQRV9WTEFOIHx8DQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBldGhlcl90eXBlID09IFJURV9FVEhFUl9U WVBFX0lQVjQgfHwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV0aGVyX3R5 cGUgPT0gUlRFX0VUSEVSX1RZUEVfSVBWNiB8fA0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgZXRoZXJfdHlwZSA9PSBSVEVfRVRIRVJfVFlQRV9BUlAgfHwNCiAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIGV0aGVyX3R5cGUgPT0gb3V0ZXJfdHBpZCkgew0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJ0ZV9mbG93X2Vycm9yX3NldChl cnJvciwgRUlOVkFMLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBSVEVfRkxPV19FUlJPUl9UWVBFX0lURU0sDQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGl0ZW0sDQogICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJVbnN1cHBvcnRlZCBldGhlcl90 eXBlLiIpOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAt cnRlX2Vycm5vOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9DQoNCkJlaWxlaQ0K DQo+IA0KPiA+DQo+ID4+IFdvdWxkbid0IGl0IGJlIG5pY2UgdG8gdW5pZnkgdGhhdD8gRWxzZSBp cyB0aGVyZSBhIHdheSB0byBrbm93IGluDQo+ID4+IHdoaWNoIGJ5dGUgb3JkZXIgdGhlIHNwZWMg c2hvdWxkIGJlIGdpdmVuPyBJIGd1ZXNzIHRoYXQgZXhwYW5kcyB0bw0KPiA+PiBhbGwgZmllbGRz LCBidXQgSSBvbmx5IGNvbXBhcmVkIHRoZSBldGhlcnR5cGUgZmllbGQuDQo+ID4+DQo+ID4+IFRo YW5rcywNCj4gPj4NCj4gPj4gVG9tDQo+ID4NCg0K