/Linux-v6.6/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 1490 int rc, frag_idx = 0, ipv6_ext = 0; in qede_start_xmit() local 1664 while (tx_data_bd && frag_idx < skb_shinfo(skb)->nr_frags) { in qede_start_xmit() 1666 &skb_shinfo(skb)->frags[frag_idx], in qede_start_xmit() 1679 frag_idx++; in qede_start_xmit() 1683 for (; frag_idx < skb_shinfo(skb)->nr_frags; frag_idx++, nbd++) { in qede_start_xmit() 1690 &skb_shinfo(skb)->frags[frag_idx], in qede_start_xmit()
|
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 729 int frag_idx; in ionic_tx_map_skb() local 742 for (frag_idx = 0; frag_idx < nfrags; frag_idx++, frag++) { in ionic_tx_map_skb() 759 while (frag_idx > 0) { in ionic_tx_map_skb() 760 frag_idx--; in ionic_tx_map_skb()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 238 int nfrags, frag_idx, curflit, j = d->addr_idx; in unmap_skb() local 241 frag_idx = d->fragidx; in unmap_skb() 243 if (frag_idx == 0 && skb_headlen(skb)) { in unmap_skb() 252 while (frag_idx < nfrags && curflit < WR_FLITS) { in unmap_skb() 254 skb_frag_size(&skb_shinfo(skb)->frags[frag_idx]), in unmap_skb() 262 frag_idx++; in unmap_skb() 265 if (frag_idx < nfrags) { /* SGL continues into next Tx descriptor */ in unmap_skb() 267 d->fragidx = frag_idx; in unmap_skb()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 27 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-v6.6/drivers/net/ethernet/qlogic/qed/ |
D | qed_ll2.c | 1866 u16 bd_data = 0, frag_idx; in qed_ll2_prepare_tx_packet_set_bd() local 1934 for (frag_idx = p_ll2->tx_queue.cur_send_frag_num; in qed_ll2_prepare_tx_packet_set_bd() 1935 frag_idx < pkt->num_of_bds; frag_idx++) { in qed_ll2_prepare_tx_packet_set_bd() 1936 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd() 1941 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd() 1942 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 913 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-v6.6/drivers/staging/qlge/ |
D | qlge_main.c | 1235 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-v6.6/net/core/ |
D | skbuff.c | 4099 st->frag_idx = st->stepped_offset = 0; in skb_prepare_seq_read() 4152 if (st->frag_idx == 0 && !st->frag_data) in skb_seq_read() 4155 while (st->frag_idx < skb_shinfo(st->cur_skb)->nr_frags) { in skb_seq_read() 4158 frag = &skb_shinfo(st->cur_skb)->frags[st->frag_idx]; in skb_seq_read() 4191 st->frag_idx++; in skb_seq_read() 4202 st->frag_idx = 0; in skb_seq_read() 4206 st->frag_idx = 0; in skb_seq_read()
|
/Linux-v6.6/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 2634 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-v6.6/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3434 int frag_idx = 0; in bnx2x_pkt_req_lin() local 3449 for (frag_idx = 0; frag_idx < wnd_size - 1; frag_idx++) in bnx2x_pkt_req_lin() 3451 skb_frag_size(&skb_shinfo(skb)->frags[frag_idx]); in bnx2x_pkt_req_lin()
|
/Linux-v6.6/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 2282 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-v6.6/include/linux/ |
D | skbuff.h | 1389 __u32 frag_idx; member
|