Searched refs:TXD_USE_COUNT (Results 1 – 12 of 12) sorted by relevance
23 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IXGBE_MAX_DATA_PER_TXD) macro
4131 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in ixgbevf_xmit_frame_ring()4154 count += TXD_USE_COUNT(skb_frag_size(frag)); in ixgbevf_xmit_frame_ring()
420 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IGC_MAX_DATA_PER_TXD) macro
1402 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in igc_xmit_frame_ring()1419 count += TXD_USE_COUNT(skb_frag_size( in igc_xmit_frame_ring()
432 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), FM10K_MAX_DATA_PER_TXD) macro
1060 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in fm10k_xmit_frame_ring()1074 count += TXD_USE_COUNT(skb_frag_size(frag)); in fm10k_xmit_frame_ring()
241 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IGB_MAX_DATA_PER_TXD) macro
6359 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in igb_xmit_frame_ring()6370 count += TXD_USE_COUNT(skb_frag_size( in igb_xmit_frame_ring()
1467 #define TXD_USE_COUNT(S) (((S) >> IXGB_MAX_TXD_PWR) + \ macro1469 #define DESC_NEEDED TXD_USE_COUNT(IXGB_MAX_DATA_PER_TXD) /* skb->date */ + \1470 MAX_SKB_FRAGS * TXD_USE_COUNT(PAGE_SIZE) + 1 /* for context */ \
208 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IXGBE_MAX_DATA_PER_TXD) macro
8624 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in ixgbe_xmit_frame_ring()8637 count += TXD_USE_COUNT(skb_frag_size( in ixgbe_xmit_frame_ring()
3097 #define TXD_USE_COUNT(S, X) (((S) + ((1 << (X)) - 1)) >> (X)) macro3184 count += TXD_USE_COUNT(len, max_txd_pwr); in e1000_xmit_frame()3198 count += TXD_USE_COUNT(skb_frag_size(&skb_shinfo(skb)->frags[f]), in e1000_xmit_frame()