[v3,7/9] net/ionic: warn if loopback mode is requested
Checks
Commit Message
The ionic FW does not support loopback mode at this time.
Signed-off-by: Andrew Boyer <aboyer@pensando.io>
---
drivers/net/ionic/ionic_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
@@ -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);