Home
last modified time | relevance | path

Searched refs:frag_idx (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c631 int frag_idx; in ionic_tx_map_skb() local
644 for (frag_idx = 0; frag_idx < nfrags; frag_idx++, frag++) { in ionic_tx_map_skb()
661 while (frag_idx > 0) { in ionic_tx_map_skb()
662 frag_idx--; in ionic_tx_map_skb()
/linux-5.19.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c1491 int rc, frag_idx = 0, ipv6_ext = 0; in qede_start_xmit() local
1665 while (tx_data_bd && frag_idx < skb_shinfo(skb)->nr_frags) { in qede_start_xmit()
1667 &skb_shinfo(skb)->frags[frag_idx], in qede_start_xmit()
1680 frag_idx++; in qede_start_xmit()
1684 for (; frag_idx < skb_shinfo(skb)->nr_frags; frag_idx++, nbd++) { in qede_start_xmit()
1691 &skb_shinfo(skb)->frags[frag_idx], in qede_start_xmit()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c243 int nfrags, frag_idx, curflit, j = d->addr_idx; in unmap_skb() local
246 frag_idx = d->fragidx; in unmap_skb()
248 if (frag_idx == 0 && skb_headlen(skb)) { in unmap_skb()
257 while (frag_idx < nfrags && curflit < WR_FLITS) { in unmap_skb()
259 skb_frag_size(&skb_shinfo(skb)->frags[frag_idx]), in unmap_skb()
267 frag_idx++; in unmap_skb()
270 if (frag_idx < nfrags) { /* SGL continues into next Tx descriptor */ in unmap_skb()
272 d->fragidx = frag_idx; in unmap_skb()
/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c27 u8 nfrags = 0, frag_idx = 0; in chcr_get_nfrags_to_send() local
39 frag = &si->frags[frag_idx]; in chcr_get_nfrags_to_send()
43 frag_idx++; in chcr_get_nfrags_to_send()
44 frag = &si->frags[frag_idx]; in chcr_get_nfrags_to_send()
53 frag_size = min(len, skb_frag_size(&si->frags[frag_idx])); in chcr_get_nfrags_to_send()
56 frag_idx++; in chcr_get_nfrags_to_send()
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c1864 u16 bd_data = 0, frag_idx; in qed_ll2_prepare_tx_packet_set_bd() local
1932 for (frag_idx = p_ll2->tx_queue.cur_send_frag_num; in qed_ll2_prepare_tx_packet_set_bd()
1933 frag_idx < pkt->num_of_bds; frag_idx++) { in qed_ll2_prepare_tx_packet_set_bd()
1934 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd()
1939 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd()
1940 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
/linux-5.19.10/drivers/net/ethernet/neterion/vxge/
Dvxge-traffic.c1479 void *txdlh, u32 frag_idx, in vxge_hw_fifo_txdl_buffer_set() argument
1488 if (frag_idx != 0) in vxge_hw_fifo_txdl_buffer_set()
1504 vxge_assert(frag_idx < txdl_priv->alloc_frags); in vxge_hw_fifo_txdl_buffer_set()
Dvxge-traffic.h2020 u32 frag_idx,
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c913 u8 i = 0, frag_idx = 0, nfrags = 0; in cxgb4_write_partial_sgl() local
927 frag = &si->frags[frag_idx]; in cxgb4_write_partial_sgl()
932 frag_idx++; in cxgb4_write_partial_sgl()
933 frag = &si->frags[frag_idx]; in cxgb4_write_partial_sgl()
939 sgl->addr0 = cpu_to_be64(addr[frag_idx + 1] + start); in cxgb4_write_partial_sgl()
942 frag_idx++; in cxgb4_write_partial_sgl()
962 frag_size = min(len, skb_frag_size(&si->frags[frag_idx])); in cxgb4_write_partial_sgl()
964 to->addr[i & 1] = cpu_to_be64(addr[frag_idx + 1]); in cxgb4_write_partial_sgl()
968 frag_idx++; in cxgb4_write_partial_sgl()
/linux-5.19.10/drivers/staging/qlge/
Dqlge_main.c1235 int frag_idx, err, map_idx = 0; in qlge_map_send() local
1269 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in qlge_map_send()
1270 skb_frag_t *frag = &skb_shinfo(skb)->frags[frag_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()
/linux-5.19.10/net/core/
Dskbuff.c3659 st->frag_idx = st->stepped_offset = 0; in skb_prepare_seq_read()
3712 if (st->frag_idx == 0 && !st->frag_data) in skb_seq_read()
3715 while (st->frag_idx < skb_shinfo(st->cur_skb)->nr_frags) { in skb_seq_read()
3718 frag = &skb_shinfo(st->cur_skb)->frags[st->frag_idx]; in skb_seq_read()
3751 st->frag_idx++; in skb_seq_read()
3762 st->frag_idx = 0; in skb_seq_read()
3766 st->frag_idx = 0; in skb_seq_read()
/linux-5.19.10/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2634 int idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local
2736 frag_idx = 0; in myri10ge_xmit()
2826 if (frag_idx == frag_cnt) in myri10ge_xmit()
2830 frag = &skb_shinfo(skb)->frags[frag_idx]; in myri10ge_xmit()
2831 frag_idx++; in myri10ge_xmit()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3419 int frag_idx = 0; in bnx2x_pkt_req_lin() local
3437 for (frag_idx = 0; frag_idx < wnd_size - 1; frag_idx++) in bnx2x_pkt_req_lin()
3439 skb_frag_size(&skb_shinfo(skb)->frags[frag_idx]); in bnx2x_pkt_req_lin()
/linux-5.19.10/drivers/net/ethernet/emulex/benet/
Dbe_main.c2282 u32 frag_idx = rxq->tail; in get_rx_page_info() local
2284 rx_page_info = &rxo->page_info_tbl[frag_idx]; in get_rx_page_info()
/linux-5.19.10/include/linux/
Dskbuff.h1529 __u32 frag_idx; member