git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vfio: fix typo in doc for device setup
[dpdk.git]
/
lib
/
librte_eal
/
linuxapp
/
kni
/
kni_ethtool.c
diff --git
a/lib/librte_eal/linuxapp/kni/kni_ethtool.c
b/lib/librte_eal/linuxapp/kni/kni_ethtool.c
index
d0673e5
..
06b6d46
100644
(file)
--- a/
lib/librte_eal/linuxapp/kni/kni_ethtool.c
+++ b/
lib/librte_eal/linuxapp/kni/kni_ethtool.c
@@
-213,5
+213,5
@@
struct ethtool_ops kni_ethtool_ops = {
void
kni_set_ethtool_ops(struct net_device *netdev)
{
void
kni_set_ethtool_ops(struct net_device *netdev)
{
-
SET_ETHTOOL_OPS(netdev, &kni_ethtool_ops)
;
+
netdev->ethtool_ops = &kni_ethtool_ops
;
}
}