From: Andrew Boyer Date: Thu, 10 Dec 2020 02:57:35 +0000 (-0800) Subject: net/ionic: warn if loopback mode is requested X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=20e577e44f4a4e7bb41f73079e1fd12151a4ec38;p=dpdk.git net/ionic: warn if loopback mode is requested The ionic FW does not support loopback mode at this time. Signed-off-by: Andrew Boyer Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/ionic/ionic_ethdev.c b/drivers/net/ionic/ionic_ethdev.c index cd79f250e0..ce6ca9671a 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);