From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 83328F04 for ; Wed, 6 Sep 2017 02:42:51 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Sep 2017 17:42:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,481,1498546800"; d="scan'208";a="1169442993" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 05 Sep 2017 17:42:50 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 5 Sep 2017 17:42:49 -0700 Received: from bgsmsx151.gar.corp.intel.com (10.224.48.42) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 5 Sep 2017 17:42:49 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.62]) by BGSMSX151.gar.corp.intel.com ([169.254.3.129]) with mapi id 14.03.0319.002; Wed, 6 Sep 2017 06:12:46 +0530 From: "Yang, Zhiyong" To: "Zhang, Helin" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] librte_mbuf: modify port initialization value Thread-Index: AQHTJgW7BWNqo9rLNUK7/dMWz1bX2KKlZSiAgAGgdVA= Date: Wed, 6 Sep 2017 00:42:45 +0000 Message-ID: References: <20170904065532.13055-1-zhiyong.yang@intel.com> <20170905051319.11223-1-zhiyong.yang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjI4MDgyYWEtMzFmYy00ZDYwLThhZWMtYzI5ZThlZGQxZTFlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InhPazJrOU5STFd1a0RuZThyOFRIeEVcL2NsVkRvM3Z5b1wveEhPUkNlWmlBdz0ifQ== x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] librte_mbuf: modify port initialization value 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: , X-List-Received-Date: Wed, 06 Sep 2017 00:42:51 -0000 Hi, helin: > > +#define MBUF_INVALID_PORT 0xffff > Replaced with below, or use UINT16_MAX directly? > #define MBUF_INVALID_PORT UINT16_MAX I prefer #define MBUF_INVALID_PORT UINT16_MAX Thanks=20 Zhiyong