Home
last modified time | relevance | path

Searched refs:frag_cnt (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/irdma/
Duk.c241 u32 frag_cnt, addl_frag_cnt; in irdma_uk_rdma_write() local
255 frag_cnt = op_info->num_lo_sges + 1; in irdma_uk_rdma_write()
257 frag_cnt = op_info->num_lo_sges; in irdma_uk_rdma_write()
258 addl_frag_cnt = frag_cnt > 1 ? (frag_cnt - 1) : 0; in irdma_uk_rdma_write()
259 ret_code = irdma_fragcnt_to_quanta_sq(frag_cnt, &quanta); in irdma_uk_rdma_write()
292 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(frag_cnt & 0x01) && in irdma_uk_rdma_write()
293 frag_cnt) { in irdma_uk_rdma_write()
415 u32 frag_cnt, addl_frag_cnt; in irdma_uk_send() local
427 frag_cnt = op_info->num_sges + 1; in irdma_uk_send()
429 frag_cnt = op_info->num_sges; in irdma_uk_send()
[all …]
Duser.h404 int irdma_fragcnt_to_quanta_sq(u32 frag_cnt, u16 *quanta);
405 int irdma_fragcnt_to_wqesize_rq(u32 frag_cnt, u16 *wqe_size);
/drivers/net/ethernet/google/gve/
Dgve_rx.c206 ctx->frag_cnt = 0; in gve_rx_ctx_clear()
731 bool is_first_frag = ctx->frag_cnt == 0; in gve_rx()
842 ctx->frag_cnt++; in gve_rx()
845 cnts->cont_pkt_cnt += (ctx->frag_cnt > 1); in gve_rx()
936 (work_done < budget || ctx->frag_cnt)) { in gve_clean_rx_done()
950 if (unlikely(ctx->frag_cnt)) { in gve_clean_rx_done()
Dgve.h179 u8 frag_cnt; member
/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.c549 unsigned int frag_cnt = 0U; in __aq_ring_rx_clean() local
559 frag_cnt++; in __aq_ring_rx_clean()
568 frag_cnt > MAX_SKB_FRAGS) { in __aq_ring_rx_clean()
/drivers/staging/qlge/
Dqlge_main.c1237 int frag_cnt = skb_shinfo(skb)->nr_frags; in qlge_map_send() local
1239 if (frag_cnt) { in qlge_map_send()
1241 "frag_cnt = %d.\n", frag_cnt); in qlge_map_send()
1269 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in qlge_map_send()
1273 if (frag_idx == 6 && frag_cnt > 7) { in qlge_map_send()
1312 (frag_cnt - frag_idx)) | TX_DESC_C); in qlge_map_send()
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2634 int idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local
2735 frag_cnt = skb_shinfo(skb)->nr_frags; in myri10ge_xmit()
2826 if (frag_idx == frag_cnt) in myri10ge_xmit()
/drivers/net/ethernet/qlogic/
Dqla3xxx.c2312 int frag_cnt = (int)skb_shinfo(skb)->nr_frags; in ql_send_map() local
2343 completed_segs < frag_cnt; in ql_send_map()