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/cnxk: enable VLAN processing in vector Tx
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_ethdev.h
diff --git
a/drivers/net/hns3/hns3_ethdev.h
b/drivers/net/hns3/hns3_ethdev.h
index
23f3722
..
1714eba
100644
(file)
--- a/
drivers/net/hns3/hns3_ethdev.h
+++ b/
drivers/net/hns3/hns3_ethdev.h
@@
-155,7
+155,6
@@
struct hns3_tc_queue_info {
};
struct hns3_cfg {
};
struct hns3_cfg {
- uint8_t vmdq_vport_num;
uint8_t tc_num;
uint16_t tqp_desc_num;
uint16_t rx_buf_len;
uint8_t tc_num;
uint16_t tqp_desc_num;
uint16_t rx_buf_len;
@@
-738,7
+737,7
@@
struct hns3_ptype_table {
* descriptor, it functions only when firmware report the capability of
* HNS3_CAPS_RXD_ADV_LAYOUT_B and driver enabled it.
*/
* descriptor, it functions only when firmware report the capability of
* HNS3_CAPS_RXD_ADV_LAYOUT_B and driver enabled it.
*/
- uint32_t ptype[HNS3_PTYPE_NUM] __rte_cache_
min_
aligned;
+ uint32_t ptype[HNS3_PTYPE_NUM] __rte_cache_aligned;
};
#define HNS3_FIXED_MAX_TQP_NUM_MODE 0
};
#define HNS3_FIXED_MAX_TQP_NUM_MODE 0
@@
-842,7
+841,7
@@
struct hns3_adapter {
uint64_t dev_caps_mask;
uint64_t dev_caps_mask;
- struct hns3_ptype_table ptype_tbl __rte_cache_
min_
aligned;
+ struct hns3_ptype_table ptype_tbl __rte_cache_aligned;
};
enum {
};
enum {
@@
-1001,8
+1000,6
@@
static inline uint32_t hns3_read_reg(void *base, uint32_t reg)
#define hns3_read_dev(a, reg) \
hns3_read_reg((a)->io_base, (reg))
#define hns3_read_dev(a, reg) \
hns3_read_reg((a)->io_base, (reg))
-#define ARRAY_SIZE(x) RTE_DIM(x)
-
#define NEXT_ITEM_OF_ACTION(act, actions, index) \
do { \
act = (actions) + (index); \
#define NEXT_ITEM_OF_ACTION(act, actions, index) \
do { \
act = (actions) + (index); \