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/octeontx: fix missing offload flags
[dpdk.git]
/
drivers
/
net
/
e1000
/
e1000_ethdev.h
diff --git
a/drivers/net/e1000/e1000_ethdev.h
b/drivers/net/e1000/e1000_ethdev.h
index
6354b89
..
902001f
100644
(file)
--- a/
drivers/net/e1000/e1000_ethdev.h
+++ b/
drivers/net/e1000/e1000_ethdev.h
@@
-4,6
+4,10
@@
#ifndef _E1000_ETHDEV_H_
#define _E1000_ETHDEV_H_
#ifndef _E1000_ETHDEV_H_
#define _E1000_ETHDEV_H_
+
+#include <stdint.h>
+
+#include <rte_flow.h>
#include <rte_time.h>
#include <rte_pci.h>
#include <rte_time.h>
#include <rte_pci.h>
@@
-27,6
+31,7
@@
#define E1000_CTRL_EXT_EXTEND_VLAN (1<<26) /* EXTENDED VLAN */
#define IGB_VFTA_SIZE 128
#define E1000_CTRL_EXT_EXTEND_VLAN (1<<26) /* EXTENDED VLAN */
#define IGB_VFTA_SIZE 128
+#define IGB_HKEY_MAX_INDEX 10
#define IGB_MAX_RX_QUEUE_NUM 8
#define IGB_MAX_RX_QUEUE_NUM_82576 16
#define IGB_MAX_RX_QUEUE_NUM 8
#define IGB_MAX_RX_QUEUE_NUM_82576 16
@@
-229,8
+234,8
@@
struct igb_ethertype_filter {
};
struct igb_rte_flow_rss_conf {
};
struct igb_rte_flow_rss_conf {
- struct rte_
eth_rss_conf rss_
conf; /**< RSS parameters. */
- uint
16_t num; /**< Number of entries in queue[]
. */
+ struct rte_
flow_action_rss
conf; /**< RSS parameters. */
+ uint
8_t key[IGB_HKEY_MAX_INDEX * sizeof(uint32_t)]; /* Hash key
. */
uint16_t queue[IGB_MAX_RX_QUEUE_NUM]; /**< Queues indices to use. */
};
uint16_t queue[IGB_MAX_RX_QUEUE_NUM]; /**< Queues indices to use. */
};
@@
-501,6
+506,10
@@
int eth_igb_syn_filter_set(struct rte_eth_dev *dev,
int eth_igb_add_del_flex_filter(struct rte_eth_dev *dev,
struct rte_eth_flex_filter *filter,
bool add);
int eth_igb_add_del_flex_filter(struct rte_eth_dev *dev,
struct rte_eth_flex_filter *filter,
bool add);
+int igb_rss_conf_init(struct igb_rte_flow_rss_conf *out,
+ const struct rte_flow_action_rss *in);
+int igb_action_rss_same(const struct rte_flow_action_rss *comp,
+ const struct rte_flow_action_rss *with);
int igb_config_rss_filter(struct rte_eth_dev *dev,
struct igb_rte_flow_rss_conf *conf,
bool add);
int igb_config_rss_filter(struct rte_eth_dev *dev,
struct igb_rte_flow_rss_conf *conf,
bool add);