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/mlx5: fix mirroring with metering action
[dpdk.git]
/
drivers
/
net
/
ionic
/
ionic_ethdev.h
diff --git
a/drivers/net/ionic/ionic_ethdev.h
b/drivers/net/ionic/ionic_ethdev.h
index
7228d89
..
6cbcd0f
100644
(file)
--- a/
drivers/net/ionic/ionic_ethdev.h
+++ b/
drivers/net/ionic/ionic_ethdev.h
@@
-5,10
+5,22
@@
#ifndef _IONIC_ETHDEV_H_
#define _IONIC_ETHDEV_H_
#ifndef _IONIC_ETHDEV_H_
#define _IONIC_ETHDEV_H_
+#include <rte_ethdev.h>
+
+#define IONIC_ETH_RSS_OFFLOAD_ALL ( \
+ ETH_RSS_IPV4 | \
+ ETH_RSS_NONFRAG_IPV4_TCP | \
+ ETH_RSS_NONFRAG_IPV4_UDP | \
+ ETH_RSS_IPV6 | \
+ ETH_RSS_NONFRAG_IPV6_TCP | \
+ ETH_RSS_NONFRAG_IPV6_UDP)
+
#define IONIC_ETH_DEV_TO_LIF(eth_dev) ((struct ionic_lif *) \
(eth_dev)->data->dev_private)
#define IONIC_ETH_DEV_TO_ADAPTER(eth_dev) \
(IONIC_ETH_DEV_TO_LIF(eth_dev)->adapter)
#define IONIC_ETH_DEV_TO_LIF(eth_dev) ((struct ionic_lif *) \
(eth_dev)->data->dev_private)
#define IONIC_ETH_DEV_TO_ADAPTER(eth_dev) \
(IONIC_ETH_DEV_TO_LIF(eth_dev)->adapter)
+int ionic_dev_link_update(struct rte_eth_dev *eth_dev, int wait_to_complete);
+
#endif /* _IONIC_ETHDEV_H_ */
#endif /* _IONIC_ETHDEV_H_ */