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
drivers/net: use device name from device structure
[dpdk.git]
/
drivers
/
net
/
bonding
/
rte_eth_bond_args.c
diff --git
a/drivers/net/bonding/rte_eth_bond_args.c
b/drivers/net/bonding/rte_eth_bond_args.c
index
c718e61
..
a422eb8
100644
(file)
--- a/
drivers/net/bonding/rte_eth_bond_args.c
+++ b/
drivers/net/bonding/rte_eth_bond_args.c
@@
-90,7
+90,7
@@
find_port_id_by_dev_name(const char *name)
if (rte_eth_devices[i].data == NULL)
continue;
- if (strcmp(rte_eth_devices[i].d
ata
->name, name) == 0)
+ if (strcmp(rte_eth_devices[i].d
evice
->name, name) == 0)
return i;
}
return -1;