X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fsfc%2Fsfc_repr_proxy.h;h=b49b1a2a96fea911b63e79bb2bab0a0383cd61d7;hb=64c952ec78d35ab3a1a229f9e9901d6092c6189c;hp=c350713a55f2ffa6f788a9a4ba7c283320137924;hpb=75f080fdf74a92ad023fc8081c29b9ff6e9702e3;p=dpdk.git diff --git a/drivers/net/sfc/sfc_repr_proxy.h b/drivers/net/sfc/sfc_repr_proxy.h index c350713a55..b49b1a2a96 100644 --- 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; + 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 { + 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; }; @@ -110,6 +127,8 @@ struct sfc_repr_proxy { struct sfc_repr_proxy_filter mport_filter; struct sfc_repr_proxy_mbox mbox; + unsigned int nb_txq; + unsigned int nb_rxq; }; struct sfc_adapter;