From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by dpdk.org (Postfix) with ESMTP id A440F2C18 for ; Mon, 3 Apr 2017 16:10:44 +0200 (CEST) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id v33EAgPC008359 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Mon, 3 Apr 2017 07:10:42 -0700 Received: from ALA-MBC.corp.ad.wrs.com ([fe80::fcbe:9b7:1141:89a1]) by ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) with mapi id 14.03.0294.000; Mon, 3 Apr 2017 07:10:41 -0700 From: "Legacy, Allain" To: Jerin Jacob , "dev@dpdk.org" CC: "YIGIT, FERRUH" Thread-Topic: [dpdk-dev] [PATCH] net/avp: fix build with non x86 Thread-Index: AQHSrIJ+107yPM4mq0qP3d1zLrrcKKGzrbnA Date: Mon, 3 Apr 2017 14:10:41 +0000 Message-ID: <70A7408C6E1BFB41B192A929744D8523968FFB96@ALA-MBC.corp.ad.wrs.com> References: <1491227915-9410-1-git-send-email-jerin.jacob@caviumnetworks.com> In-Reply-To: <1491227915-9410-1-git-send-email-jerin.jacob@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.224.140.166] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/avp: fix build with non x86 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: Mon, 03 Apr 2017 14:10:45 -0000 > -----Original Message----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Monday, April 03, 2017 9:59 AM > To: dev@dpdk.org > Cc: YIGIT, FERRUH; Legacy, Allain; Jerin Jacob > Subject: [dpdk-dev] [PATCH] net/avp: fix build with non x86 >=20 > sys/io.h is an x86 specific header file and AVP driver is not using any x= 86 > specific IO operation. Hence removing the sys/io.h reference to fix the b= uild > issue on non x86 platforms. >=20 > Fixes: 5567f9689cf8 ("net/avp: support driver registration") >=20 > Signed-off-by: Jerin Jacob In addition to this, since we do not support AVP devices on anything but x8= 6_64 perhaps it would be appropriate to avoid compilation altogether on oth= er architectures. That is, by disabling CONFIG_RTE_LIBRTE_AVP_PMD by defau= lt and only enabling for x86_64 on icc/gcc/clang for linuxapp? Allain Allain Legacy, Software Developer, Wind River direct 613.270.2279 fax: 613.492.7870 skype: allain.legacy 350 Terry Fox Drive, Suite 200, Ottawa, Ontario, K2K 2W5