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
4127 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in ixgbevf_xmit_frame_ring()4150 count += TXD_USE_COUNT(skb_frag_size(frag)); in ixgbevf_xmit_frame_ring()
387 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IGC_MAX_DATA_PER_TXD) macro
1322 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in igc_xmit_frame_ring()1337 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
1052 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in fm10k_xmit_frame_ring()1066 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
6331 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in igb_xmit_frame_ring()6342 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 */ \
206 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IXGBE_MAX_DATA_PER_TXD) macro
8609 u16 count = TXD_USE_COUNT(skb_headlen(skb)); in ixgbe_xmit_frame_ring()8622 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()