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
bus/pci: fix Windows kernel driver categories
[dpdk.git]
/
drivers
/
net
/
mlx4
/
mlx4.h
diff --git
a/drivers/net/mlx4/mlx4.h
b/drivers/net/mlx4/mlx4.h
index
c6cb294
..
e07b1d2
100644
(file)
--- a/
drivers/net/mlx4/mlx4.h
+++ b/
drivers/net/mlx4/mlx4.h
@@
-19,7
+19,7
@@
#pragma GCC diagnostic error "-Wpedantic"
#endif
#pragma GCC diagnostic error "-Wpedantic"
#endif
-#include <
rte_
ethdev_driver.h>
+#include <ethdev_driver.h>
#include <rte_ether.h>
#include <rte_interrupts.h>
#include <rte_mempool.h>
#include <rte_ether.h>
#include <rte_interrupts.h>
#include <rte_mempool.h>
@@
-197,6
+197,10
@@
struct mlx4_priv {
#define PORT_ID(priv) ((priv)->dev_data->port_id)
#define ETH_DEV(priv) (&rte_eth_devices[PORT_ID(priv)])
#define PORT_ID(priv) ((priv)->dev_data->port_id)
#define ETH_DEV(priv) (&rte_eth_devices[PORT_ID(priv)])
+int mlx4_proc_priv_init(struct rte_eth_dev *dev);
+void mlx4_proc_priv_uninit(struct rte_eth_dev *dev);
+
+
/* mlx4_ethdev.c */
int mlx4_get_ifname(const struct mlx4_priv *priv, char (*ifname)[IF_NAMESIZE]);
/* mlx4_ethdev.c */
int mlx4_get_ifname(const struct mlx4_priv *priv, char (*ifname)[IF_NAMESIZE]);