[dpdk-dev] [PATCH v4 2/2] testpmd: add mode 4 support

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue Nov 18 19:09:04 CET 2014



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michal Jastrzebski
> Sent: Tuesday, November 18, 2014 4:31 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v4 2/2] testpmd: add mode 4 support
> 
> From: Pawel Wodkowski <pawelx.wodkowski at intel.com>
> 
> 
> Signed-off-by: Pawel Wodkowski <pawelx.wodkowski at intel.com>
> ---
>  app/test-pmd/cmdline.c      |   28 +++++++++++++++++++++++--
>  app/test-pmd/csumonly.c     |    9 ++++++++
>  app/test-pmd/icmpecho.c     |   17 ++++++++++++++-
>  app/test-pmd/iofwd.c        |    9 ++++++++
>  app/test-pmd/macfwd-retry.c |    9 ++++++++
>  app/test-pmd/macfwd.c       |    9 ++++++++
>  app/test-pmd/macswap.c      |    9 ++++++++
>  app/test-pmd/testpmd.c      |   48
> +++++++++++++++++++++++++++++++++++++------
>  app/test-pmd/testpmd.h      |   11 ++++++++--
>  9 files changed, 138 insertions(+), 11 deletions(-)
> 
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
> index ee8c121..7e7dd36 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -41,6 +41,8 @@
>  #include <termios.h>
>  #include <unistd.h>
>  #include <inttypes.h>
> +
> +#include "rte_eth_bond_8023ad.h"

Duplicated include.

>  #ifndef __linux__
>  #ifndef __FreeBSD__
>  #include <net/socket.h>
> @@ -86,6 +88,7 @@
>  #include <rte_pci_dev_ids.h>
>  #ifdef RTE_LIBRTE_PMD_BOND
>  #include <rte_eth_bond.h>
> +#include <rte_eth_bond_8023ad.h>
>  #endif
> 
>  #include "testpmd.h"
> @@ -3327,13 +3330,18 @@ static void
> cmd_show_bonding_config_parsed(void *parsed_result,
>  		__attribute__((unused)) void *data)
>  {
>  	struct cmd_show_bonding_config_result *res = parsed_result;



More information about the dev mailing list