git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02eabf5
)
net/ionic: warn if loopback mode is requested
author
Andrew Boyer
<aboyer@pensando.io>
Thu, 10 Dec 2020 02:57:35 +0000
(18:57 -0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:04 +0000
(16:03 +0100)
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>
drivers/net/ionic/ionic_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/ionic/ionic_ethdev.c
b/drivers/net/ionic/ionic_ethdev.c
index
cd79f25
..
ce6ca96
100644
(file)
--- 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);