config: disable enic driver on Power
PATCH 1/1 config: disable enic driver on Power
enic driver is giving trouble because of non-standard types :
CC enic_res.o
In file included fromlib/librte_pmd_enic/enic_res.c:36:0:lib/librte_pmd_enic/enic_compat.h:92:1: error: unknown type name ‘u_int32_t’
static inline u_int32_t ioread32(volatile void *addr)
^
Disable it on Power for now.
--- config/defconfig_ppc_64-power8-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+)
config/defconfig_ppc_64-power8-linuxapp-gcc +1 -0
@@ -52,6 +52,7 @@ CONFIG_RTE_LIBRTE_I40E_PMD=n CONFIG_RTE_LIBRTE_VIRTIO_PMD=n CONFIG_RTE_LIBRTE_VMXNET3_PMD=n CONFIG_RTE_LIBRTE_PMD_BOND=n +CONFIG_RTE_LIBRTE_ENIC_PMD=n # This following libraries are not available on Power. So they're turned off. CONFIG_RTE_LIBRTE_LPM=n
Signature · 1 line
1.7.10.4
A message that is not in the archive (sent off-list or not yet received): 1417088558-13055-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org
Hello Sujith,
Please can you have a look at this in your enic driver ?
I find it weird to use these types while we could use <stdint.h> types such as uint8_t etc...
Thanks.
Signature · 4 lines
David Marchand On Thu, Nov 27, 2014 at 12:42 PM, David Marchand <[email protected]>
Quoted 35 lines · wrote:
enic driver is giving trouble because of non-standard types :
CC enic_res.o
In file included fromlib/librte_pmd_enic/enic_res.c:36:0:lib/librte_pmd_enic/enic_compat.h:92:1: error: unknown type name ‘u_int32_t’
static inlineu_int32_tioread32(volatile void *addr)^Disable it on Power for now.
Signed-off-by David Marchand <[email protected]>--- config/defconfig_ppc_64-power8-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+)config/defconfig_ppc_64-power8-linuxapp-gcc +1
-0@@ -52,6 +52,7 @@ CONFIG_RTE_LIBRTE_I40E_PMD=n CONFIG_RTE_LIBRTE_VIRTIO_PMD=n CONFIG_RTE_LIBRTE_VMXNET3_PMD=n CONFIG_RTE_LIBRTE_PMD_BOND=n +CONFIG_RTE_LIBRTE_ENIC_PMD=n # This following libraries are not available on Power. So they're turnedoff.
CONFIG_RTE_LIBRTE_LPM=n
--
1.7.10.4
A message that is not in the archive (sent off-list or not yet received): CALwxeUsVP2btL3cRebCP3trVO-6sigNroYdx0DWkSqjeGrQy7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Hi David,
I shall take a look at it get back soon after some tests.
One point here is that ENICPMD will be used only on UCS servers (as Cisco VIC cards are shipped only with them) and they are all x86_64. So you could turn it off for all the other architectures.
Thanks,
-Sujith
From: David Marchand <[email protected]<mailto:[email protected]>>
Date: Thursday, 27 November 2014 5:14 pm
To: "Sujith Sankar (ssujith)" <[email protected]<mailto:[email protected]>>
Cc: Chao Zhu <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: Re: [PATCH] config: disable enic driver on Power
Hello Sujith,
Please can you have a look at this in your enic driver ?
I find it weird to use these types while we could use <stdint.h> types such as uint8_t etc...
Thanks.
--
David Marchand
On Thu, Nov 27, 2014 at 12:42 PM, David Marchand <[email protected]<mailto:[email protected]>> wrote:
enic driver is giving trouble because of non-standard types :
CC enic_res.o
In file included fromlib/librte_pmd_enic/enic_res.c:36:0:lib/librte_pmd_enic/enic_compat.h:92:1: error: unknown type name ‘u_int32_t’
static inline u_int32_t ioread32(volatile void *addr)
^
Disable it on Power for now.
--- config/defconfig_ppc_64-power8-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+)
config/defconfig_ppc_64-power8-linuxapp-gcc +1 -0
@@ -52,6 +52,7 @@ CONFIG_RTE_LIBRTE_I40E_PMD=n CONFIG_RTE_LIBRTE_VIRTIO_PMD=n CONFIG_RTE_LIBRTE_VMXNET3_PMD=n CONFIG_RTE_LIBRTE_PMD_BOND=n +CONFIG_RTE_LIBRTE_ENIC_PMD=n # This following libraries are not available on Power. So they're turned off. CONFIG_RTE_LIBRTE_LPM=n
--
1.7.10.4
Quoted 9 lines
enic driver is giving trouble because of non-standard types :
CC enic_res.o
In file included fromlib/librte_pmd_enic/enic_res.c:36:0:lib/librte_pmd_enic/enic_compat.h:92:1: error: unknown type name ‘u_int32_t’
static inlineu_int32_tioread32(volatile void *addr)
^
Quoted 3 lines
Disable it on Power for now.
Signed-off-by David Marchand <[email protected]>
Applied
Signature · 1 line
Thomas