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:
parent
02eabf5759
commit
20e577e44f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user