[dpdk-dev] PPC64: turn off fm10k driver compilation on IBM POWER

Message ID 1446617726-31558-1-git-send-email-chaozhu@linux.vnet.ibm.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Chao Zhu Nov. 4, 2015, 6:15 a.m. UTC
  The fm10k vector driver is specific for x86 platform which can't compile
on IBM POWER for lacking of tmmintrin.h header file. This patch turns
off fm10k driver compilation on IBM POWER to prevent compile issue.

Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
---
 config/defconfig_ppc_64-power8-linuxapp-gcc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
  

Comments

Michael Qiu Nov. 4, 2015, 8:14 a.m. UTC | #1
On 2015/11/4 14:14, Chao Zhu wrote:
> The fm10k vector driver is specific for x86 platform which can't compile
> on IBM POWER for lacking of tmmintrin.h header file. This patch turns
> off fm10k driver compilation on IBM POWER to prevent compile issue.
>
> Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>

Acked-by: Michael Qiu <michael.qiu@intel.com>
> ---
>  config/defconfig_ppc_64-power8-linuxapp-gcc |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc b/config/defconfig_ppc_64-power8-linuxapp-gcc
> index f1af518..03760c4 100644
> --- a/config/defconfig_ppc_64-power8-linuxapp-gcc
> +++ b/config/defconfig_ppc_64-power8-linuxapp-gcc
> @@ -50,6 +50,7 @@ CONFIG_RTE_LIBRTE_VIRTIO_PMD=n
>  CONFIG_RTE_LIBRTE_VMXNET3_PMD=n
>  CONFIG_RTE_LIBRTE_PMD_BOND=n
>  CONFIG_RTE_LIBRTE_ENIC_PMD=n
> +CONFIG_RTE_LIBRTE_FM10K_PMD=n
>  
>  # This following libraries are not available on Power. So they're turned off.
>  CONFIG_RTE_LIBRTE_LPM=n
  
Thomas Monjalon Nov. 4, 2015, 5:45 p.m. UTC | #2
2015-11-04 08:14, Qiu, Michael:
> On 2015/11/4 14:14, Chao Zhu wrote:
> > The fm10k vector driver is specific for x86 platform which can't compile
> > on IBM POWER for lacking of tmmintrin.h header file. This patch turns
> > off fm10k driver compilation on IBM POWER to prevent compile issue.
> >
> > Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
> 
> Acked-by: Michael Qiu <michael.qiu@intel.com>

Applied, thanks
  

Patch

diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc b/config/defconfig_ppc_64-power8-linuxapp-gcc
index f1af518..03760c4 100644
--- a/config/defconfig_ppc_64-power8-linuxapp-gcc
+++ b/config/defconfig_ppc_64-power8-linuxapp-gcc
@@ -50,6 +50,7 @@  CONFIG_RTE_LIBRTE_VIRTIO_PMD=n
 CONFIG_RTE_LIBRTE_VMXNET3_PMD=n
 CONFIG_RTE_LIBRTE_PMD_BOND=n
 CONFIG_RTE_LIBRTE_ENIC_PMD=n
+CONFIG_RTE_LIBRTE_FM10K_PMD=n
 
 # This following libraries are not available on Power. So they're turned off.
 CONFIG_RTE_LIBRTE_LPM=n