[dpdk-dev] [PATCH v2 7/9] net/ionic: warn if loopback mode is requested
Andrew Boyer
aboyer at pensando.io
Thu Dec 3 21:34:16 CET 2020
The ionic FW does not support loopback mode at this time.
Signed-off-by: Andrew Boyer <aboyer at pensando.io>
---
drivers/net/ionic/ionic_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ionic/ionic_ethdev.c b/drivers/net/ionic/ionic_ethdev.c
index cd79f250e..ce6ca9671 100644
--- a/drivers/net/ionic/ionic_ethdev.c
+++ b/drivers/net/ionic/ionic_ethdev.c
@@ -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);
--
2.17.1
More information about the dev
mailing list