* [dpdk-dev] [PATCH] net/avp: fix build with non x86
@ 2017-04-03 13:58 Jerin Jacob
2017-04-03 14:06 ` Ferruh Yigit
2017-04-03 14:10 ` Legacy, Allain
0 siblings, 2 replies; 6+ messages in thread
From: Jerin Jacob @ 2017-04-03 13:58 UTC (permalink / raw)
To: dev; +Cc: ferruh.yigit, allain.legacy, Jerin Jacob
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@caviumnetworks.com>
---
drivers/net/avp/avp_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c
index 23a59c1..989152e 100644
--- a/drivers/net/avp/avp_ethdev.c
+++ b/drivers/net/avp/avp_ethdev.c
@@ -35,7 +35,6 @@
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
-#include <sys/io.h>
#include <rte_ethdev.h>
#include <rte_memcpy.h>
--
2.5.5
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] net/avp: fix build with non x86
2017-04-03 13:58 [dpdk-dev] [PATCH] net/avp: fix build with non x86 Jerin Jacob
@ 2017-04-03 14:06 ` Ferruh Yigit
2017-04-03 14:10 ` Legacy, Allain
1 sibling, 0 replies; 6+ messages in thread
From: Ferruh Yigit @ 2017-04-03 14:06 UTC (permalink / raw)
To: Jerin Jacob, dev; +Cc: allain.legacy
On 4/3/2017 2:58 PM, Jerin Jacob wrote:
> 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@caviumnetworks.com>
Squashed into relevant commit in next-net, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] net/avp: fix build with non x86
2017-04-03 13:58 [dpdk-dev] [PATCH] net/avp: fix build with non x86 Jerin Jacob
2017-04-03 14:06 ` Ferruh Yigit
@ 2017-04-03 14:10 ` Legacy, Allain
2017-04-03 14:22 ` Jerin Jacob
1 sibling, 1 reply; 6+ messages in thread
From: Legacy, Allain @ 2017-04-03 14:10 UTC (permalink / raw)
To: Jerin Jacob, dev; +Cc: YIGIT, FERRUH
> -----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
>
> 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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] net/avp: fix build with non x86
2017-04-03 14:10 ` Legacy, Allain
@ 2017-04-03 14:22 ` Jerin Jacob
2017-04-03 14:23 ` Ferruh Yigit
2017-04-03 15:47 ` Legacy, Allain
0 siblings, 2 replies; 6+ messages in thread
From: Jerin Jacob @ 2017-04-03 14:22 UTC (permalink / raw)
To: Legacy, Allain; +Cc: dev, YIGIT, FERRUH
On Mon, Apr 03, 2017 at 02:10:41PM +0000, Legacy, Allain wrote:
> > -----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
> >
> > 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@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?
If that is the case then Please send a patch to fix it appropriately.
>
> 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
>
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] net/avp: fix build with non x86
2017-04-03 14:22 ` Jerin Jacob
@ 2017-04-03 14:23 ` Ferruh Yigit
2017-04-03 15:47 ` Legacy, Allain
1 sibling, 0 replies; 6+ messages in thread
From: Ferruh Yigit @ 2017-04-03 14:23 UTC (permalink / raw)
To: Jerin Jacob, Legacy, Allain; +Cc: dev
On 4/3/2017 3:22 PM, Jerin Jacob wrote:
> On Mon, Apr 03, 2017 at 02:10:41PM +0000, Legacy, Allain wrote:
>>> -----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
>>>
>>> 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@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?
>
> If that is the case then Please send a patch to fix it appropriately.
+1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] net/avp: fix build with non x86
2017-04-03 14:22 ` Jerin Jacob
2017-04-03 14:23 ` Ferruh Yigit
@ 2017-04-03 15:47 ` Legacy, Allain
1 sibling, 0 replies; 6+ messages in thread
From: Legacy, Allain @ 2017-04-03 15:47 UTC (permalink / raw)
To: Jerin Jacob; +Cc: dev, YIGIT, FERRUH
> -----Original Message-----
> From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com]
> Sent: Monday, April 03, 2017 10:22 AM
<...>
>
> If that is the case then Please send a patch to fix it appropriately.
Will do, thanks for fixing this error.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-04-03 15:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03 13:58 [dpdk-dev] [PATCH] net/avp: fix build with non x86 Jerin Jacob
2017-04-03 14:06 ` Ferruh Yigit
2017-04-03 14:10 ` Legacy, Allain
2017-04-03 14:22 ` Jerin Jacob
2017-04-03 14:23 ` Ferruh Yigit
2017-04-03 15:47 ` Legacy, Allain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).