Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h23 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IXGBE_MAX_DATA_PER_TXD) macro
Dixgbevf_main.c4127 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()
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc.h387 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IGC_MAX_DATA_PER_TXD) macro
Digc_main.c1322 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()
/Linux-v5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k.h432 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), FM10K_MAX_DATA_PER_TXD) macro
Dfm10k_main.c1052 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()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb.h241 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IGB_MAX_DATA_PER_TXD) macro
Digb_main.c6331 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()
/Linux-v5.10/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1467 #define TXD_USE_COUNT(S) (((S) >> IXGB_MAX_TXD_PWR) + \ macro
1469 #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 */ \
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h206 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IXGBE_MAX_DATA_PER_TXD) macro
Dixgbe_main.c8609 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()
/Linux-v5.10/drivers/net/ethernet/intel/e1000/
De1000_main.c3097 #define TXD_USE_COUNT(S, X) (((S) + ((1 << (X)) - 1)) >> (X)) macro
3184 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()