From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 08E1D2E41 for ; Thu, 19 Oct 2017 05:06:19 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Oct 2017 20:06:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,399,1503385200"; d="scan'208";a="324961462" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 18 Oct 2017 20:06:18 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 18 Oct 2017 20:06:17 -0700 Received: from bgsmsx152.gar.corp.intel.com (10.224.48.50) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 18 Oct 2017 20:06:18 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.200]) by BGSMSX152.gar.corp.intel.com ([10.224.48.50]) with mapi id 14.03.0319.002; Thu, 19 Oct 2017 08:36:15 +0530 From: "Yang, Zhiyong" To: "dev@dpdk.org" CC: "Yigit, Ferruh" , "De Lara Guarch, Pablo" Thread-Topic: [PATCH v2] examples/l2fwd-crypto: fix port id type Thread-Index: AQHTSIX6ao38+DigGECjYFKibZbv6aLqeysQ Date: Thu, 19 Oct 2017 03:06:14 +0000 Message-ID: References: <20171018095019.42807-1-zhiyong.yang@intel.com> <20171019025657.41108-1-zhiyong.yang@intel.com> In-Reply-To: <20171019025657.41108-1-zhiyong.yang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjhlOGY4Y2MtNTcxZC00ODFhLWE5N2MtNmYwNTUyYjZkYWZmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IlkzWmp0VzVDNVwvMkpqKzd0Q0RjSGxJeThzdENzSTkzSUhRcGtMRjZiWEIwPSJ9 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] examples/l2fwd-crypto: fix port id type 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: Thu, 19 Oct 2017 03:06:20 -0000 Hi, Sorry I miss the changes in v2. Add it after SOB. Zhiyong > -----Original Message----- > From: Yang, Zhiyong > Sent: Thursday, October 19, 2017 10:57 AM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; De Lara Guarch, Pablo > ; Yang, Zhiyong > Subject: [PATCH v2] examples/l2fwd-crypto: fix port id type >=20 > Fix port id issues and keep variables related to port ids in consistent d= ata type > definition "uint16_t". >=20 > Remove unnecessary cast in the meanwhile. >=20 > Fixes: f8244c6399d9 ("ethdev: increase port id range") > Signed-off-by: Zhiyong Yang > Acked-by: Pablo de Lara > --- Changes in V2. Add to fix some variables data types related to port id such as "l2fwd_dst_= ports",=20 "dest_portid", "dst_port", " rx_port_list" , according to Pablo's comments.