Searched refs:sgl_len (Results 1 – 12 of 12) sorted by relevance
501 __be32 sgl_len; member507 u16 sgl_off, u32 sgl_len, u64 sgl_data) in fun_dataop_gl_init() argument512 s->sgl_len = cpu_to_be32(sgl_len); in fun_dataop_gl_init()520 __be32 sgl_len; member528 __be32 sgl_len; member536 .sgl_len = cpu_to_be32(_sgl_len), \
117 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
828 (sgl_len(nents) * 8); in create_cipher_wr()1587 param->sg_len, 16) : (sgl_len(nents) * 8); in create_hash_wr()2483 : (sgl_len(snents) * 8); in create_authenc_wr()3079 (sgl_len(snents) * 8); in create_aead_ccm_wr()3173 (sgl_len(snents) * 8); in create_gcm_wr()
403 be32_to_cpu(gle->sgl_len), DMA_TO_DEVICE); in fun_unmap_pkt()407 be32_to_cpu(gle->sgl_len), in fun_unmap_pkt()412 be32_to_cpu(gle->sgl_len), in fun_unmap_pkt()
343 int sgl_len = (3 * i) / 2 + (i & 1); in init_wr_tab() local345 sgl_len += 3; in init_wr_tab()346 skb_wrs[i] = (sgl_len <= wr_len in init_wr_tab()347 ? 1 : 1 + (sgl_len - 2) / (wr_len - 1)); in init_wr_tab()
149 #define MLX5E_KLM_UMR_WQE_SZ(sgl_len)\ argument151 (sizeof(struct mlx5_klm) * (sgl_len)))
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()1805 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in t4vf_calc_tx_flits()2190 nsgl = sgl_len(skb_shinfo(skb)->nr_frags + 1); in ethofld_calc_tx_flits()2192 nsgl = sgl_len(skb_shinfo(skb)->nr_frags); in ethofld_calc_tx_flits()2194 nsgl = sgl_len(1); in ethofld_calc_tx_flits()2896 return flits + sgl_len(cnt); in calc_tx_flits_ofld()
750 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function950 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2; in calc_tx_descs()1688 return flits_to_desc(flits + sgl_len(cnt)); in calc_tx_descs_ofld()3105 flits_to_desc(sgl_len(MAX_SKB_FRAGS + 1) + 3); in t3_sge_alloc_qset()
387 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()
563 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function587 return flits + sgl_len(cnt); in calc_tx_flits_ofld()