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
net/iavf: fix VLAN tag extraction handling
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_mp.c
diff --git
a/drivers/net/hns3/hns3_mp.c
b/drivers/net/hns3/hns3_mp.c
index
a5e98ff
..
3342a78
100644
(file)
--- a/
drivers/net/hns3/hns3_mp.c
+++ b/
drivers/net/hns3/hns3_mp.c
@@
-3,7
+3,7
@@
*/
#include <rte_eal.h>
*/
#include <rte_eal.h>
-#include <
rte_
ethdev_driver.h>
+#include <ethdev_driver.h>
#include <rte_string_fns.h>
#include <rte_io.h>
#include <rte_string_fns.h>
#include <rte_io.h>
@@
-78,7
+78,7
@@
mp_secondary_handle(const struct rte_mp_msg *mp_msg, const void *peer)
if (!rte_eth_dev_is_valid_port(param->port_id)) {
rte_errno = ENODEV;
if (!rte_eth_dev_is_valid_port(param->port_id)) {
rte_errno = ENODEV;
- PMD_INIT_LOG(ERR, "port %
u
invalid port ID", param->port_id);
+ PMD_INIT_LOG(ERR, "port %
d
invalid port ID", param->port_id);
return -rte_errno;
}
dev = &rte_eth_devices[param->port_id];
return -rte_errno;
}
dev = &rte_eth_devices[param->port_id];