net/i40e: support MAC loopback
authorYanglong Wu <yanglong.wu@intel.com>
Tue, 2 Jan 2018 02:41:23 +0000 (10:41 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit3a838ab649dfb2248f76dc2fefa74d0c912885c3
tree52a36041b116d63aa38b5d2d1aefca98aeefecd8
parent024c72a8f320ddabcf7363f357808b9f1089f6c3
net/i40e: support MAC loopback

According to loopback mode, setup loopback link or not.
If loopback link is set, packets transmitted will be
looped back to received side directly.

Signed-off-by: Yanglong Wu <yanglong.wu@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
doc/guides/rel_notes/release_18_02.rst
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h