On Sat, Nov 08, 2014 at 01:35:41AM +0530, Sujith Sankar wrote:
> Signed-off-by: Sujith Sankar <ssujith at cisco.com>
> ---
> app/test-pmd/testpmd.c | 1 +
> config/common_linuxapp | 6 ++++++
> lib/Makefile | 1 +
> lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 7 +++++++
> lib/librte_eal/linuxapp/eal/include/eal_pci_init.h | 1 +
> mk/rte.app.mk | 4 ++++
> 6 files changed, 20 insertions(+)
>
> diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
> index f76406f..4857d56 100644
> --- a/app/test-pmd/testpmd.c
> +++ b/app/test-pmd/testpmd.c
> @@ -1874,6 +1874,7 @@ main(int argc, char** argv)
> "check that "
> "CONFIG_RTE_LIBRTE_IGB_PMD=y and that "
> "CONFIG_RTE_LIBRTE_EM_PMD=y and that "
> + "CONFIG_RTE_LIBRTE_ENIC_PMD=y and that "
> "CONFIG_RTE_LIBRTE_IXGBE_PMD=y in your "
> "configuration file\n");
>
> diff --git a/config/common_linuxapp b/config/common_linuxapp
> index 57b61c9..6b5bac6 100644
> --- a/config/common_linuxapp
> +++ b/config/common_linuxapp
> @@ -210,6 +210,12 @@ CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
> CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1
>
> #
> +# Compile burst-oriented Cisco ENIC PMD driver
> +#
> +CONFIG_RTE_LIBRTE_ENIC_PMD=y
> +CONFIG_RTE_LIBRTE_ENIC_PMD_DEBUG_TRACE=n
> +
> +#
> # Compile burst-oriented VIRTIO PMD driver
> #
> CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
> diff --git a/lib/Makefile b/lib/Makefile
> index e3237ff..1911790 100644
> --- a/lib/Makefile
> +++ b/lib/Makefile
> @@ -43,6 +43,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline
> DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ether
> DIRS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += librte_pmd_e1000
> DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += librte_pmd_ixgbe
> +DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += librte_pmd_enic
Don't include this change until last in the series, as you haven't patched in
this directory yet. Otherwise you'll get a failed to build problem.