[dpdk-dev] config: disable enic driver on Power

Message ID 1417088558-13055-1-git-send-email-david.marchand@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

David Marchand Nov. 27, 2014, 11:42 a.m. UTC
  enic driver is giving trouble because of non-standard types :

  CC enic_res.o
In file included from
lib/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.

Signed-off-by: David Marchand <david.marchand@6wind.com>
---
 config/defconfig_ppc_64-power8-linuxapp-gcc |    1 +
 1 file changed, 1 insertion(+)
  

Comments

David Marchand Nov. 27, 2014, 11:44 a.m. UTC | #1
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.
  
Thomas Monjalon Nov. 27, 2014, 6:16 p.m. UTC | #2
> enic driver is giving trouble because of non-standard types :
> 
>   CC enic_res.o
> In file included from
> lib/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.
> 
> Signed-off-by: David Marchand <david.marchand@6wind.com>

Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied
  

Patch

diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc b/config/defconfig_ppc_64-power8-linuxapp-gcc
index cefb3be..48018c3 100644
--- a/config/defconfig_ppc_64-power8-linuxapp-gcc
+++ b/config/defconfig_ppc_64-power8-linuxapp-gcc
@@ -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