Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c1503 int rc, frag_idx = 0, ipv6_ext = 0; in qede_start_xmit() local
1677 while (tx_data_bd && frag_idx < skb_shinfo(skb)->nr_frags) { in qede_start_xmit()
1679 &skb_shinfo(skb)->frags[frag_idx], in qede_start_xmit()
1692 frag_idx++; in qede_start_xmit()
1696 for (; frag_idx < skb_shinfo(skb)->nr_frags; frag_idx++, nbd++) { in qede_start_xmit()
1703 &skb_shinfo(skb)->frags[frag_idx], in qede_start_xmit()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c26 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c1820 u16 bd_data = 0, frag_idx; in qed_ll2_prepare_tx_packet_set_bd() local
1888 for (frag_idx = p_ll2->tx_queue.cur_send_frag_num; in qed_ll2_prepare_tx_packet_set_bd()
1889 frag_idx < pkt->num_of_bds; frag_idx++) { in qed_ll2_prepare_tx_packet_set_bd()
1890 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd()
1895 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd()
1896 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_main.c1240 int frag_idx, err, map_idx = 0; in ql_map_send() local
1274 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in ql_map_send()
1275 skb_frag_t *frag = &skb_shinfo(skb)->frags[frag_idx]; in ql_map_send()
1278 if (frag_idx == 6 && frag_cnt > 7) { in ql_map_send()
1317 (frag_cnt - frag_idx)) | TX_DESC_C); in ql_map_send()
/kernel/linux/linux-5.10/net/core/
Dskbuff.c3466 st->frag_idx = st->stepped_offset = 0; in skb_prepare_seq_read()
3518 if (st->frag_idx == 0 && !st->frag_data) in skb_seq_read()
3521 while (st->frag_idx < skb_shinfo(st->cur_skb)->nr_frags) { in skb_seq_read()
3522 frag = &skb_shinfo(st->cur_skb)->frags[st->frag_idx]; in skb_seq_read()
3540 st->frag_idx++; in skb_seq_read()
3551 st->frag_idx = 0; in skb_seq_read()
3555 st->frag_idx = 0; in skb_seq_read()
/kernel/linux/linux-5.10/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2626 int idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local
2728 frag_idx = 0; in myri10ge_xmit()
2818 if (frag_idx == frag_cnt) in myri10ge_xmit()
2822 frag = &skb_shinfo(skb)->frags[frag_idx]; in myri10ge_xmit()
2823 frag_idx++; in myri10ge_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3413 int frag_idx = 0; in bnx2x_pkt_req_lin() local
3431 for (frag_idx = 0; frag_idx < wnd_size - 1; frag_idx++) in bnx2x_pkt_req_lin()
3433 skb_frag_size(&skb_shinfo(skb)->frags[frag_idx]); in bnx2x_pkt_req_lin()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/linux/
Dskbuff.h1203 __u32 frag_idx; member