Home
last modified time | relevance | path

Searched refs:MAX_SKB_FRAGS (Results 1 – 25 of 137) sorted by relevance

123456

/linux/Documentation/networking/
H A Ddriver.rst84 MAX_SKB_FRAGS + 1, 2 * MAX_SKB_FRAGS))
98 drv_tx_avail(dr), 2 * MAX_SKB_FRAGS);
/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.h81 min_t(u32, MAX_SKB_FRAGS << PAGE_SHIFT, CXGBI_ULP2_MAX_ISO_PAYLOAD)
109 dma_addr_t addr[MAX_SKB_FRAGS + 1];
384 #define SKB_WR_LIST_SIZE (MAX_SKB_FRAGS + 2)
544 struct page_frag frags[MAX_SKB_FRAGS];
/linux/net/core/
H A Dhotdata.c21 .sysctl_max_skb_frags = MAX_SKB_FRAGS,
H A Ddatagram.c634 struct page *pages[MAX_SKB_FRAGS]; in zerocopy_fill_skb_from_iter()
639 if (frag == MAX_SKB_FRAGS) in zerocopy_fill_skb_from_iter()
643 MAX_SKB_FRAGS - frag, &start); in zerocopy_fill_skb_from_iter()
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_lro.h57 (MAX_SKB_FRAGS * sizeof(struct cxgbit_lro_pdu_cb)))
H A Dcxgbit_main.c48 mdsl = min_t(u32, mdsl, (MAX_SKB_FRAGS - 1) * PAGE_SIZE); in cxgbit_set_mdsl()
414 MAX_SKB_FRAGS) || (lro_cb->pdu_totallen >= LRO_FLUSH_LEN_MAX))) || in cxgbit_lro_receive()
415 (lro_cb->pdu_idx >= MAX_SKB_FRAGS)) { in cxgbit_lro_receive()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c151 MAX_SKB_FRAGS + 1), in ipoib_transport_dev_init()
221 for (i = 0; i < MAX_SKB_FRAGS + 1; ++i) in ipoib_transport_dev_init()
H A Dipoib.h191 u64 mapping[MAX_SKB_FRAGS + 1];
388 struct ib_sge tx_sge[MAX_SKB_FRAGS + 1];
/linux/include/net/
H A Dtls.h146 skb_frag_t frags[MAX_SKB_FRAGS];
159 struct scatterlist sg_tx_data[MAX_SKB_FRAGS];
/linux/drivers/net/ethernet/meta/
H A DKconfig24 depends on MAX_SKB_FRAGS < 22
/linux/drivers/net/xen-netback/
H A Dnetback.c461 for (shinfo->nr_frags = 0; nr_slots > 0 && shinfo->nr_frags < MAX_SKB_FRAGS; in xenvif_get_requests()
1040 if (skb_shinfo(skb)->nr_frags > MAX_SKB_FRAGS) { in xenvif_tx_build_gops()
1041 frag_overflow = skb_shinfo(skb)->nr_frags - MAX_SKB_FRAGS; in xenvif_tx_build_gops()
1042 BUG_ON(frag_overflow > MAX_SKB_FRAGS); in xenvif_tx_build_gops()
1043 skb_shinfo(skb)->nr_frags = MAX_SKB_FRAGS; in xenvif_tx_build_gops()
1114 skb_frag_t frags[MAX_SKB_FRAGS]; in xenvif_handle_frag_list()
1133 BUG_ON(i >= MAX_SKB_FRAGS); in xenvif_handle_frag_list()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c155 unsigned int lens[MAX_SKB_FRAGS + 1]; in write_pkt_desc()
156 dma_addr_t addrs[MAX_SKB_FRAGS + 1]; in write_pkt_desc()
518 unsigned int lens[MAX_SKB_FRAGS + 1]; in fun_xdp_tx()
519 dma_addr_t dma[MAX_SKB_FRAGS + 1]; in fun_xdp_tx()
H A Dfuneth_txrx.h20 #define FUNETH_MAX_GL_SZ ((MAX_SKB_FRAGS + 1) * sizeof(struct fun_dataop_gl))
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.h23 #define FBNIC_MAX_SKB_DESC (MAX_SKB_FRAGS + 10)
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_tx.h48 #define OCTEP_VF_SGLIST_ENTRIES_PER_PKT ((MAX_SKB_FRAGS + 1 + 3) / 4)
/linux/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c408 unsigned int max_descs = EFX_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in efx_siena_tx_max_skb_descs()
416 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, in efx_siena_tx_max_skb_descs()
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_tx.h48 #define OCTEP_SGLIST_ENTRIES_PER_PKT ((MAX_SKB_FRAGS + 1 + 3) / 4)
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c269 #if ((MAX_SKB_FRAGS + 2) > ETH_TX_MAX_BDS_PER_NON_LSO_PACKET)
490 >= (MAX_SKB_FRAGS + 1))) { in qede_tx_int()
1502 WARN_ON(qed_chain_get_elem_left(&txq->tx_pbl) < (MAX_SKB_FRAGS + 1)); in qede_start_xmit()
1506 #if ((MAX_SKB_FRAGS + 2) > ETH_TX_MAX_BDS_PER_NON_LSO_PACKET) in qede_start_xmit()
1719 < (MAX_SKB_FRAGS + 1))) { in qede_start_xmit()
1734 (MAX_SKB_FRAGS + 1)) && in qede_start_xmit()
/linux/include/scsi/
H A Dfc_frame.h48 #define FC_FRAME_SG_LEN (MAX_SKB_FRAGS - 1)
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_type.h441 #if MAX_SKB_FRAGS < 8
442 #define WX_RX_BUFSZ ALIGN(WX_MAX_RXBUFFER / MAX_SKB_FRAGS, 1024)
452 #define DESC_NEEDED (MAX_SKB_FRAGS + 4)
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c171 if (++fep->tx_free == MAX_SKB_FRAGS) in fs_enet_napi()
571 if (fep->tx_free < MAX_SKB_FRAGS) in fs_enet_start_xmit()
608 wake = fep->tx_free >= MAX_SKB_FRAGS && in fs_timeout_work()
/linux/include/net/mana/
H A Dmana.h121 dma_addr_t dma_handle[MAX_SKB_FRAGS + 2];
123 u32 size[MAX_SKB_FRAGS + 2];
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.h33 #define IDPF_MIN_TX_DESC_NEEDED (MAX_SKB_FRAGS + 6)
242 #define IDPF_TX_DESC_NEEDED (MAX_SKB_FRAGS + IDPF_TX_DESCS_FOR_CTX + \
/linux/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.c513 dma_addr_t dmas[MAX_SKB_FRAGS+1]; in pasemi_mac_free_tx_resources()
812 #define TX_CLEAN_BATCHSIZE (128/MAX_SKB_FRAGS)
824 dma_addr_t dmas[TX_CLEAN_BATCHSIZE][MAX_SKB_FRAGS+1]; in pasemi_mac_clean_tx()
1433 dma_addr_t map[MAX_SKB_FRAGS+1]; in pasemi_mac_start_tx()
1434 unsigned int map_size[MAX_SKB_FRAGS+1]; in pasemi_mac_start_tx()
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c52 #define TX_BD_NUM_MIN (MAX_SKB_FRAGS + 1)
846 2 * MAX_SKB_FRAGS); in axienet_dma_tx_cb()
930 MAX_SKB_FRAGS + 1, 2 * MAX_SKB_FRAGS); in axienet_start_xmit_dmaengine()
976 if (!axienet_check_tx_bd_space(lp, MAX_SKB_FRAGS + 1)) in axienet_tx_poll()
1094 if (axienet_check_tx_bd_space(lp, MAX_SKB_FRAGS + 1)) { in axienet_start_xmit()
1101 if (!axienet_check_tx_bd_space(lp, MAX_SKB_FRAGS + 1)) in axienet_start_xmit()

123456