Re: [dpdk-dev] [PATCH v6 5/6] app/testpmd: add MACsec offload commands

2017-01-13 Thread Tiwei Bie
On Fri, Jan 13, 2017 at 10:07:34AM +0100, Thomas Monjalon wrote: > There is an error with clang: > > app/test-pmd/cmdline.c:11535:13: fatal error: > expression which evaluates to zero treated as a null pointer > constant of type 'const char *' [-Wnon-literal-null-conversion] > por

Re: [dpdk-dev] [PATCH v6 5/6] app/testpmd: add MACsec offload commands

2017-01-13 Thread Thomas Monjalon
There is an error with clang: app/test-pmd/cmdline.c:11535:13: fatal error: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Wnon-literal-null-conversion] port_id, UINT8); ^ Please, send a v7

[dpdk-dev] [PATCH v6 5/6] app/testpmd: add MACsec offload commands

2017-01-10 Thread Tiwei Bie
Below MACsec offload commands are added: - set macsec offload on encrypt on|off replay-protect on|off - set macsec offload off - set macsec sc tx|rx - set macsec sa tx|rx Also update the testpmd user guide. Signed-off-by: Tiwei Bie Acked-by: Wenzhuo Lu --- app/test-pmd/cmdline.c