Home
last modified time | relevance | path

Searched refs:skb_to_free (Results 1 – 1 of 1) sorted by relevance

/drivers/staging/octeon/
Dethernet-tx.c49 static inline int cvm_oct_adjust_skb_to_free(int skb_to_free, int fau) in cvm_oct_adjust_skb_to_free() argument
53 undo = skb_to_free > 0 ? MAX_SKB_TO_FREE : skb_to_free + in cvm_oct_adjust_skb_to_free()
57 skb_to_free = -skb_to_free > MAX_SKB_TO_FREE ? MAX_SKB_TO_FREE : in cvm_oct_adjust_skb_to_free()
58 -skb_to_free; in cvm_oct_adjust_skb_to_free()
59 return skb_to_free; in cvm_oct_adjust_skb_to_free()
74 int skb_to_free; in cvm_oct_free_tx_skbs() local
86 skb_to_free = cvmx_fau_fetch_and_add32(priv->fau + qos * 4, in cvm_oct_free_tx_skbs()
88 skb_to_free = cvm_oct_adjust_skb_to_free(skb_to_free, in cvm_oct_free_tx_skbs()
90 total_freed += skb_to_free; in cvm_oct_free_tx_skbs()
91 if (skb_to_free > 0) { in cvm_oct_free_tx_skbs()
[all …]