net/xsc: add ethdev Tx burst
PATCH 15/19 net/xsc: add ethdev Tx burst
Implement xsc PMD transmit function.
Signed-off-by WanRenyong <[email protected]>
Signed-off-by Rong Qian <[email protected]>
--- doc/guides/nics/features/xsc.ini | 4 + drivers/net/xsc/xsc_rxtx.c | 231 ++++++++++++++++++++++++++++++- drivers/net/xsc/xsc_rxtx.h | 9 ++ 3 files changed, 242 insertions(+), 2 deletions(-)
doc/guides/nics/features/xsc.ini +4 -0
@@ -7,6 +7,10 @@ RSS hash = Y RSS key update = Y RSS reta update = Y +L3 checksum offload = Y +L4 checksum offload = Y +Inner L3 checksum = Y +Inner L4 checksum = Y Linux = Y ARMv8 = Y x86-64 = Y
drivers/net/xsc/xsc_rxtx.c +229 -2
244 lines not on this page · raw message
drivers/net/xsc/xsc_rxtx.h +9 -0
@@ -166,6 +166,15 @@ struct __rte_cache_aligned xsc_rxq_data { uint32_t rss_hash:1; /* RSS hash enabled */ }; +union xsc_cq_doorbell { +struct { +uint32_t next_cid :16 ; +uint32_t cq_num :15 ; +uint32_t cq_sta :1 ; + }; +uint32_t cq_data; +}; + union xsc_recv_doorbell { struct { uint32_t next_pid : 13;
Signature · 1 line
2.25.1