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
drivers/net: remove queue xstats auto-fill flag
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_repr_proxy.h
diff --git
a/drivers/net/sfc/sfc_repr_proxy.h
b/drivers/net/sfc/sfc_repr_proxy.h
index
c350713
..
b49b1a2
100644
(file)
--- a/
drivers/net/sfc/sfc_repr_proxy.h
+++ b/
drivers/net/sfc/sfc_repr_proxy.h
@@
-75,10
+75,27
@@
struct sfc_repr_proxy_dp_rxq {
struct rte_mempool *mp;
unsigned int ref_count;
struct rte_mempool *mp;
unsigned int ref_count;
+ eth_rx_burst_t pkt_burst;
+ struct sfc_dp_rxq *dp;
+
+ uint16_t route_port_id;
+ bool stop_route;
+ unsigned int available;
+ unsigned int forwarded;
+ unsigned int routed;
+ struct rte_mbuf *pkts[SFC_REPR_PROXY_TX_BURST];
+
sfc_sw_index_t sw_index;
};
struct sfc_repr_proxy_dp_txq {
sfc_sw_index_t sw_index;
};
struct sfc_repr_proxy_dp_txq {
+ eth_tx_burst_t pkt_burst;
+ struct sfc_dp_txq *dp;
+
+ unsigned int available;
+ unsigned int transmitted;
+ struct rte_mbuf *tx_pkts[SFC_REPR_PROXY_TX_BURST];
+
sfc_sw_index_t sw_index;
};
sfc_sw_index_t sw_index;
};
@@
-110,6
+127,8
@@
struct sfc_repr_proxy {
struct sfc_repr_proxy_filter mport_filter;
struct sfc_repr_proxy_mbox mbox;
struct sfc_repr_proxy_filter mport_filter;
struct sfc_repr_proxy_mbox mbox;
+ unsigned int nb_txq;
+ unsigned int nb_rxq;
};
struct sfc_adapter;
};
struct sfc_adapter;