[dpdk-dev] [RFC 09/16] testpmd: move csum_show in a function

2015-01-23 Thread Olivier MATZ
Hi Jijiang, On 01/23/2015 12:03 PM, Liu, Jijiang wrote: > + /* display warnings if configuration is not supported by the NIC */ > + rte_eth_dev_info_get(port_id, &dev_info); > + if ((ol_flags & TESTPMD_TX_OFFLOAD_IP_CKSUM) && > + (dev_info.tx_offload_capa & DEV_TX_OFFLOAD_I

[dpdk-dev] [RFC 09/16] testpmd: move csum_show in a function

2015-01-23 Thread Liu, Jijiang
Hi, -Original Message- From: Olivier Matz [mailto:olivier.m...@6wind.com] Sent: Thursday, January 22, 2015 7:36 AM To: dev at dpdk.org Cc: olivier.matz at 6wind.com; Ananyev, Konstantin; Liu, Jijiang Subject: [RFC 09/16] testpmd: move csum_show in a function No functional changes in this

[dpdk-dev] [RFC 09/16] testpmd: move csum_show in a function

2015-01-22 Thread Olivier Matz
No functional changes in this commit, we just move the code that displays the csum forward engine configuration in a function. This makes the next commit easier to read as it will also use this function. Signed-off-by: Olivier Matz --- app/test-pmd/cmdline.c | 82 +++