[dpdk-dev] [PATCH v5 01/10] examples/tep_termination:initialize the VXLAN sample

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Jun 23 11:05:59 CEST 2015


2015-06-23 00:40, Jijiang Liu:
>  examples/Makefile                 |    1 +
>  examples/tep_termination/Makefile |   55 ++
>  examples/tep_termination/main.c   | 1130 +++++++++++++++++++++++++++++++++++++
>  examples/tep_termination/main.h   |  123 ++++
>  4 files changed, 1309 insertions(+), 0 deletions(-)

MAINTAINERS file is missing in this list.

[...]
> +static inline int
> +validate_nb_devices(uint32_t max_nb_devices)
> +{
> +	if (nb_devices > max_nb_devices) {
> +		RTE_LOG(ERR, VHOST_PORT, "invalid number of devices\n");
> +		return -1;
> +	}
> +	return 0;
> +}

It must be removed to build with clang: this function is unused.


More information about the dev mailing list