Searched refs:sgl_len (Results 1 – 9 of 9) sorted by relevance
118 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
835 (sgl_len(nents) * 8); in create_cipher_wr()1593 param->sg_len, 16) : (sgl_len(nents) * 8); in create_hash_wr()2489 : (sgl_len(snents) * 8); in create_authenc_wr()3085 (sgl_len(snents) * 8); in create_aead_ccm_wr()3179 (sgl_len(snents) * 8); in create_gcm_wr()
341 int sgl_len = (3 * i) / 2 + (i & 1); in init_wr_tab() local343 sgl_len += 3; in init_wr_tab()344 skb_wrs[i] = (sgl_len <= wr_len in init_wr_tab()345 ? 1 : 1 + (sgl_len - 2) / (wr_len - 1)); in init_wr_tab()
687 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function780 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in calc_tx_flits()1804 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in t4vf_calc_tx_flits()2184 nsgl = sgl_len(skb_shinfo(skb)->nr_frags + 1); in ethofld_calc_tx_flits()2186 nsgl = sgl_len(skb_shinfo(skb)->nr_frags); in ethofld_calc_tx_flits()2188 nsgl = sgl_len(1); in ethofld_calc_tx_flits()2890 return flits + sgl_len(cnt); in calc_tx_flits_ofld()
749 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function951 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2; in calc_tx_descs()1686 return flits_to_desc(flits + sgl_len(cnt)); in calc_tx_descs_ofld()3101 flits_to_desc(sgl_len(MAX_SKB_FRAGS + 1) + 3); in t3_sge_alloc_qset()
389 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in calc_tx_sec_flits()
40 return sgl_len(cnt) * 8; in data_sgl_len()588 return flits + sgl_len(cnt); in calc_tx_flits()
789 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function873 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in calc_tx_flits()
561 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function585 return flits + sgl_len(cnt); in calc_tx_flits_ofld()