summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ade188a)
This function was supposed to be inlined, but was not because several
functions calls it. This function should always be inline avoid
external function calls and to optimize code in data-path.
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
+static inline void
+txq_complete(struct txq *txq) __attribute__((always_inline));
+
/**
* Manage TX completions.
*
/**
* Manage TX completions.
*
* @param txq
* Pointer to TX queue structure.
*/
* @param txq
* Pointer to TX queue structure.
*/
txq_complete(struct txq *txq)
{
const unsigned int elts_n = txq->elts_n;
txq_complete(struct txq *txq)
{
const unsigned int elts_n = txq->elts_n;