* [PATCH] config: disable enic driver on Power @ 2014-11-27 11:42 David Marchand [not found] ` <1417088558-13055-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: David Marchand @ 2014-11-27 11:42 UTC (permalink / raw) To: dev-VfR2kkLFssw 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-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> --- config/defconfig_ppc_64-power8-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+) 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 -- 1.7.10.4 ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1417088558-13055-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] config: disable enic driver on Power [not found] ` <1417088558-13055-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> @ 2014-11-27 11:44 ` David Marchand [not found] ` <CALwxeUsVP2btL3cRebCP3trVO-6sigNroYdx0DWkSqjeGrQy7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-11-27 18:16 ` Thomas Monjalon 1 sibling, 1 reply; 4+ messages in thread From: David Marchand @ 2014-11-27 11:44 UTC (permalink / raw) To: Sujith Sankar; +Cc: dev-VfR2kkLFssw@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. -- David Marchand On Thu, Nov 27, 2014 at 12:42 PM, David Marchand <david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> wrote: > 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-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> > --- > config/defconfig_ppc_64-power8-linuxapp-gcc | 1 + > 1 file changed, 1 insertion(+) > > 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 > -- > 1.7.10.4 > > ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CALwxeUsVP2btL3cRebCP3trVO-6sigNroYdx0DWkSqjeGrQy7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH] config: disable enic driver on Power [not found] ` <CALwxeUsVP2btL3cRebCP3trVO-6sigNroYdx0DWkSqjeGrQy7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-11-27 14:52 ` Sujith Sankar (ssujith) 0 siblings, 0 replies; 4+ messages in thread From: Sujith Sankar (ssujith) @ 2014-11-27 14:52 UTC (permalink / raw) To: David Marchand; +Cc: dev-VfR2kkLFssw@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 <david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org<mailto:david.marchand@6wind.com>> Date: Thursday, 27 November 2014 5:14 pm To: "Sujith Sankar (ssujith)" <ssujith-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org<mailto:ssujith-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>> Cc: Chao Zhu <chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org<mailto:chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>>, "dev-VfR2kkLFssw@public.gmane.org<mailto:dev-VfR2kkLFssw@public.gmane.org>" <dev-VfR2kkLFssw@public.gmane.org<mailto:dev-VfR2kkLFssw@public.gmane.org>> 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 <david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org<mailto:david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>> wrote: 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-pdR9zngts4EAvxtiuMwx3w@public.gmane.org<mailto:david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>> --- config/defconfig_ppc_64-power8-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+) 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 -- 1.7.10.4 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] config: disable enic driver on Power [not found] ` <1417088558-13055-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> 2014-11-27 11:44 ` David Marchand @ 2014-11-27 18:16 ` Thomas Monjalon 1 sibling, 0 replies; 4+ messages in thread From: Thomas Monjalon @ 2014-11-27 18:16 UTC (permalink / raw) To: David Marchand; +Cc: dev-VfR2kkLFssw > 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-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> Acked-by: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> Applied -- Thomas ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-27 18:16 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-11-27 11:42 [PATCH] config: disable enic driver on Power David Marchand [not found] ` <1417088558-13055-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> 2014-11-27 11:44 ` David Marchand [not found] ` <CALwxeUsVP2btL3cRebCP3trVO-6sigNroYdx0DWkSqjeGrQy7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-11-27 14:52 ` Sujith Sankar (ssujith) 2014-11-27 18:16 ` Thomas Monjalon
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).