net/cxgbevf: fix inter-VM traffic when physical link down
authorShagun Agrawal <shaguna@chelsio.com>
Mon, 21 May 2018 08:05:07 +0000 (13:35 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 22 May 2018 22:35:01 +0000 (00:35 +0200)
commitf5b3c7b29357f4690188bfa294a2a23d56b6e5e9
treee02609e83990d33ae2ca80c60e97bd482f5ecc3e
parentf2831f34c228c59ced27ebc65137ba1588f9c4cc
net/cxgbevf: fix inter-VM traffic when physical link down

Add force_link_up devargs to always force link as up for VFs.
This enables VFs on the same NIC to send traffic to each other
even when physical link is down.

Also add RTE_PMD_REGISTER_PARAM_STRING to export all supported
devargs.

Fixes: 011ebc236ddc ("net/cxgbe: add skeleton VF driver")

Signed-off-by: Shagun Agrawal <shaguna@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
doc/guides/nics/cxgbe.rst
drivers/net/cxgbe/cxgbe.h
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/cxgbe/cxgbe_main.c