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/ice/base: add helper function to redirect flags
[dpdk.git]
/
drivers
/
net
/
hinic
/
hinic_pmd_rx.h
diff --git
a/drivers/net/hinic/hinic_pmd_rx.h
b/drivers/net/hinic/hinic_pmd_rx.h
index
5cd17ec
..
8a45f2d
100644
(file)
--- a/
drivers/net/hinic/hinic_pmd_rx.h
+++ b/
drivers/net/hinic/hinic_pmd_rx.h
@@
-35,7
+35,11
@@
struct hinic_rq_cqe {
u32 rss_hash;
u32 rsvd[4];
u32 rss_hash;
u32 rsvd[4];
+#if defined(RTE_ARCH_ARM64)
+} __rte_cache_aligned;
+#else
};
};
+#endif
struct hinic_rq_cqe_sect {
struct hinic_sge sge;
struct hinic_rq_cqe_sect {
struct hinic_sge sge;
@@
-82,6
+86,8
@@
struct hinic_rxq {
u16 rx_free_thresh;
u16 rxinfo_align_end;
u16 rx_free_thresh;
u16 rxinfo_align_end;
+ u32 socket_id;
+
unsigned long status;
struct hinic_rxq_stats rxq_stats;
unsigned long status;
struct hinic_rxq_stats rxq_stats;
@@
-121,7
+127,8
@@
void hinic_rx_remove_configure(struct rte_eth_dev *dev);
void hinic_get_func_rx_buf_size(struct hinic_nic_dev *nic_dev);
void hinic_get_func_rx_buf_size(struct hinic_nic_dev *nic_dev);
-int hinic_create_rq(struct hinic_hwdev *hwdev, u16 q_id, u16 rq_depth);
+int hinic_create_rq(struct hinic_hwdev *hwdev, u16 q_id,
+ u16 rq_depth, unsigned int socket_id);
void hinic_destroy_rq(struct hinic_hwdev *hwdev, u16 q_id);
void hinic_destroy_rq(struct hinic_hwdev *hwdev, u16 q_id);