Home
last modified time | relevance | path

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

/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c648 int frag_idx; in ionic_tx_map_skb() local
661 for (frag_idx = 0; frag_idx < nfrags; frag_idx++, frag++) { in ionic_tx_map_skb()
678 while (frag_idx > 0) { in ionic_tx_map_skb()
679 frag_idx--; in ionic_tx_map_skb()
/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()
/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()
/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()
/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c1826 u16 bd_data = 0, frag_idx; in qed_ll2_prepare_tx_packet_set_bd() local
1894 for (frag_idx = p_ll2->tx_queue.cur_send_frag_num; in qed_ll2_prepare_tx_packet_set_bd()
1895 frag_idx < pkt->num_of_bds; frag_idx++) { in qed_ll2_prepare_tx_packet_set_bd()
1896 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd()
1901 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd()
1902 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
/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()
/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,
/drivers/staging/qlge/
Dqlge_main.c1239 int frag_idx, err, map_idx = 0; in qlge_map_send() local
1273 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in qlge_map_send()
1274 skb_frag_t *frag = &skb_shinfo(skb)->frags[frag_idx]; in qlge_map_send()
1277 if (frag_idx == 6 && frag_cnt > 7) { in qlge_map_send()
1316 (frag_cnt - frag_idx)) | TX_DESC_C); in qlge_map_send()
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2632 int idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local
2734 frag_idx = 0; in myri10ge_xmit()
2824 if (frag_idx == frag_cnt) in myri10ge_xmit()
2828 frag = &skb_shinfo(skb)->frags[frag_idx]; in myri10ge_xmit()
2829 frag_idx++; in myri10ge_xmit()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3418 int frag_idx = 0; in bnx2x_pkt_req_lin() local
3436 for (frag_idx = 0; frag_idx < wnd_size - 1; frag_idx++) in bnx2x_pkt_req_lin()
3438 skb_frag_size(&skb_shinfo(skb)->frags[frag_idx]); in bnx2x_pkt_req_lin()
/drivers/net/ethernet/emulex/benet/
Dbe_main.c2283 u32 frag_idx = rxq->tail; in get_rx_page_info() local
2285 rx_page_info = &rxo->page_info_tbl[frag_idx]; in get_rx_page_info()