[dpdk-dev] [PATCH v4 06/21] testpmd: add test commands to add/delete flow director filter

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Oct 28 14:23:41 CET 2014


2014-10-22 09:01, Jingjing Wu:
> --- a/app/test-pmd/testpmd.h
> +++ b/app/test-pmd/testpmd.h
> @@ -73,6 +73,9 @@ int main(int argc, char **argv);
>  #define NUMA_NO_CONFIG 0xFF
>  #define UMA_NO_CONFIG  0xFF
>  
> +#define BYTES_PER_WORD  2

This is an example of a constant which have a meaning.
But it should be in lib/librte_eal/common/include/rte_common.h

> +#define IPV6_ADDR_LEN 16

This one should be in lib/librte_net/rte_ip.h and should be used in ipv6_hdr.

Thanks
-- 
Thomas


More information about the dev mailing list