net/ionic: warn if loopback mode is requested

The ionic FW does not support loopback mode at this time.

Signed-off-by: Andrew Boyer <aboyer@pensando.io>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Andrew Boyer 2020-12-09 18:57:35 -08:00 committed by Ferruh Yigit
parent 02eabf5759
commit 20e577e44f

View File

@ -919,6 +919,9 @@ ionic_dev_start(struct rte_eth_dev *eth_dev)
return -EINVAL;
}
if (dev_conf->lpbk_mode)
IONIC_PRINT(WARNING, "Loopback mode not supported");
err = ionic_lif_start(lif);
if (err) {
IONIC_PRINT(ERR, "Cannot start LIF: %d", err);