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/hns3: increase VF reset retry maximum
[dpdk.git]
/
drivers
/
net
/
hinic
/
hinic_pmd_tx.h
diff --git
a/drivers/net/hinic/hinic_pmd_tx.h
b/drivers/net/hinic/hinic_pmd_tx.h
index
8b361cf
..
d98abad
100644
(file)
--- a/
drivers/net/hinic/hinic_pmd_tx.h
+++ b/
drivers/net/hinic/hinic_pmd_tx.h
@@
-29,19
+29,20
@@
enum sq_wqe_type {
struct hinic_tx_offload_info {
u8 outer_l2_len;
u8 outer_l3_type;
struct hinic_tx_offload_info {
u8 outer_l2_len;
u8 outer_l3_type;
- u
8
outer_l3_len;
+ u
16
outer_l3_len;
u8 inner_l2_len;
u8 inner_l3_type;
u8 inner_l2_len;
u8 inner_l3_type;
- u
8
inner_l3_len;
+ u
16
inner_l3_len;
u8 tunnel_length;
u8 tunnel_type;
u8 inner_l4_type;
u8 inner_l4_len;
u8 tunnel_length;
u8 tunnel_type;
u8 inner_l4_type;
u8 inner_l4_len;
- u
8
payload_offset;
+ u
16
payload_offset;
u8 inner_l4_tcp_udp;
u8 inner_l4_tcp_udp;
+ u8 rsvd0;
};
/* tx sge info */
};
/* tx sge info */
@@
-92,6
+93,8
@@
struct hinic_txq_stats {
u64 off_errs;
u64 cpy_pkts;
u64 burst_pkts;
u64 off_errs;
u64 cpy_pkts;
u64 burst_pkts;
+ u64 sge_len0;
+ u64 mbuf_null;
};
struct hinic_tx_info {
};
struct hinic_tx_info {
@@
-113,6
+116,7
@@
struct hinic_txq {
u16 q_id;
u16 q_depth;
u32 cos;
u16 q_id;
u16 q_depth;
u32 cos;
+ u32 socket_id;
/* cacheline1 */
struct hinic_txq_stats txq_stats;
/* cacheline1 */
struct hinic_txq_stats txq_stats;
@@
-130,13
+134,14
@@
void hinic_free_tx_resources(struct hinic_txq *txq);
u16 hinic_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, u16 nb_pkts);
u16 hinic_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, u16 nb_pkts);
-void hinic_free_all_tx_
skb
s(struct hinic_txq *txq);
+void hinic_free_all_tx_
mbuf
s(struct hinic_txq *txq);
void hinic_txq_get_stats(struct hinic_txq *txq, struct hinic_txq_stats *stats);
void hinic_txq_stats_reset(struct hinic_txq *txq);
void hinic_txq_get_stats(struct hinic_txq *txq, struct hinic_txq_stats *stats);
void hinic_txq_stats_reset(struct hinic_txq *txq);
-int hinic_create_sq(struct hinic_hwdev *hwdev, u16 q_id, u16 sq_depth);
+int hinic_create_sq(struct hinic_hwdev *hwdev, u16 q_id,
+ u16 sq_depth, unsigned int socket_id);
void hinic_destroy_sq(struct hinic_hwdev *hwdev, u16 q_id);
void hinic_destroy_sq(struct hinic_hwdev *hwdev, u16 q_id);