Re: [dpdk-dev] [PATCH v2] net/i40e: support mac loopback

2017-12-20 Thread Peng, Yuan
Tested-by: Peng,Yuan - Tested Branch: dpdk master - Tested Commit: e976052a1106153c93c802e5ffd2f6c8a29f239f - OS: 4.4.0-62-generic - GCC: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 - CPU: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz - NIC: Intel Corporation Ethernet Controller XL710 for 40GbE

Re: [dpdk-dev] [PATCH v2] net/i40e: support mac loopback

2017-12-20 Thread Zhang, Helin
Doc update is needed. /Helin > -Original Message- > From: Wu, Yanglong > Sent: Wednesday, December 20, 2017 3:29 PM > To: dev@dpdk.org > Cc: Xing, Beilei; Zhang, Helin; Peng, Yuan; Wu, Yanglong > Subject: [PATCH v2] net/i40e: support mac loopback > > According to loopback mode, setup loop

[dpdk-dev] [PATCH v2] net/i40e: support mac loopback

2017-12-19 Thread Yanglong Wu
According to loopback mode, setup loopback link or not. If loopback link is setted, packets in tx will be sent to rx directly. Loopback mode can be used to support testing task Signed-off-by: Yanglong Wu --- v2: fix coding style issue --- drivers/net/i40e/i40e_ethdev.c | 10 ++ drivers/n