Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c1450 int rc, frag_idx = 0, ipv6_ext = 0; in qede_start_xmit() local
1617 while (tx_data_bd && frag_idx < skb_shinfo(skb)->nr_frags) { in qede_start_xmit()
1619 &skb_shinfo(skb)->frags[frag_idx], in qede_start_xmit()
1632 frag_idx++; in qede_start_xmit()
1636 for (; frag_idx < skb_shinfo(skb)->nr_frags; frag_idx++, nbd++) { in qede_start_xmit()
1643 &skb_shinfo(skb)->frags[frag_idx], in qede_start_xmit()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c241 int nfrags, frag_idx, curflit, j = d->addr_idx; in unmap_skb() local
244 frag_idx = d->fragidx; in unmap_skb()
246 if (frag_idx == 0 && skb_headlen(skb)) { in unmap_skb()
255 while (frag_idx < nfrags && curflit < WR_FLITS) { in unmap_skb()
257 skb_frag_size(&skb_shinfo(skb)->frags[frag_idx]), in unmap_skb()
265 frag_idx++; in unmap_skb()
268 if (frag_idx < nfrags) { /* SGL continues into next Tx descriptor */ in unmap_skb()
270 d->fragidx = frag_idx; in unmap_skb()
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c1688 u16 bd_data = 0, frag_idx; in qed_ll2_prepare_tx_packet_set_bd() local
1753 for (frag_idx = p_ll2->tx_queue.cur_send_frag_num; in qed_ll2_prepare_tx_packet_set_bd()
1754 frag_idx < pkt->num_of_bds; frag_idx++) { in qed_ll2_prepare_tx_packet_set_bd()
1755 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd()
1760 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd()
1761 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-traffic.c1494 void *txdlh, u32 frag_idx, in vxge_hw_fifo_txdl_buffer_set() argument
1503 if (frag_idx != 0) in vxge_hw_fifo_txdl_buffer_set()
1519 vxge_assert(frag_idx < txdl_priv->alloc_frags); in vxge_hw_fifo_txdl_buffer_set()
Dvxge-traffic.h2020 u32 frag_idx,
/Linux-v4.19/net/core/
Dskbuff.c3232 st->frag_idx = st->stepped_offset = 0; in skb_prepare_seq_read()
3284 if (st->frag_idx == 0 && !st->frag_data) in skb_seq_read()
3287 while (st->frag_idx < skb_shinfo(st->cur_skb)->nr_frags) { in skb_seq_read()
3288 frag = &skb_shinfo(st->cur_skb)->frags[st->frag_idx]; in skb_seq_read()
3306 st->frag_idx++; in skb_seq_read()
3317 st->frag_idx = 0; in skb_seq_read()
3321 st->frag_idx = 0; in skb_seq_read()
/Linux-v4.19/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c1315 int frag_idx, err, map_idx = 0; in ql_map_send() local
1349 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in ql_map_send()
1350 skb_frag_t *frag = &skb_shinfo(skb)->frags[frag_idx]; in ql_map_send()
1352 if (frag_idx == 6 && frag_cnt > 7) { in ql_map_send()
1391 (frag_cnt - frag_idx)) | TX_DESC_C); in ql_map_send()
/Linux-v4.19/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2639 int idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local
2741 frag_idx = 0; in myri10ge_xmit()
2831 if (frag_idx == frag_cnt) in myri10ge_xmit()
2835 frag = &skb_shinfo(skb)->frags[frag_idx]; in myri10ge_xmit()
2836 frag_idx++; in myri10ge_xmit()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3408 int frag_idx = 0; in bnx2x_pkt_req_lin() local
3426 for (frag_idx = 0; frag_idx < wnd_size - 1; frag_idx++) in bnx2x_pkt_req_lin()
3428 skb_frag_size(&skb_shinfo(skb)->frags[frag_idx]); in bnx2x_pkt_req_lin()
/Linux-v4.19/include/linux/
Dskbuff.h1094 __u32 frag_idx; member
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_main.c2286 u32 frag_idx = rxq->tail; in get_rx_page_info() local
2288 rx_page_info = &rxo->page_info_tbl[frag_idx]; in get_rx_page_info()