[dpdk-dev] [PATCH] net/avp: fix build with non x86
Legacy, Allain
Allain.Legacy at windriver.com
Mon Apr 3 16:10:41 CEST 2017
> -----Original Message-----
> From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com]
> Sent: Monday, April 03, 2017 9:59 AM
> To: dev at dpdk.org
> Cc: YIGIT, FERRUH; Legacy, Allain; Jerin Jacob
> Subject: [dpdk-dev] [PATCH] net/avp: fix build with non x86
>
> sys/io.h is an x86 specific header file and AVP driver is not using any x86
> specific IO operation. Hence removing the sys/io.h reference to fix the build
> issue on non x86 platforms.
>
> Fixes: 5567f9689cf8 ("net/avp: support driver registration")
>
> Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
In addition to this, since we do not support AVP devices on anything but x86_64 perhaps it would be appropriate to avoid compilation altogether on other architectures. That is, by disabling CONFIG_RTE_LIBRTE_AVP_PMD by default 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
More information about the dev
mailing list