[dpdk-dev] [PATCH v2 24/40] bnxt: add HWRM ring alloc/free functions

Bruce Richardson bruce.richardson at intel.com
Thu May 26 14:45:55 CEST 2016


On Fri, May 13, 2016 at 03:46:13PM -0700, Stephen Hurd wrote:
> Add HWRM calls to allocate and free TX/RX/CMPL rings along with
> the associated structs and definitions.
> 
What are these RX/TX/CMPL rings used for? I assume they are different from the
RX/TX rings used to send/receive packets, or am I missing something?

Also, I see some compilation errors after applying this patch in the series.
gcc gives errors about "struct bnxt_ring_struct declared inside parameter list".

/Bruce

PS: having "struct" at the end of the name of "struct bnxt_ring_struct" seems
superflous. Since we don't use typedefs in DPDK, the keyword struct will always
appear before the definition, so it shouldn't be needed in the name too.


More information about the dev mailing list