/linux/Documentation/networking/ |
H A D | driver.rst | 84 MAX_SKB_FRAGS + 1, 2 * MAX_SKB_FRAGS)) 98 drv_tx_avail(dr), 2 * MAX_SKB_FRAGS);
|
/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.h | 81 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 D | hotdata.c | 21 .sysctl_max_skb_frags = MAX_SKB_FRAGS,
|
H A D | datagram.c | 634 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 D | cxgbit_lro.h | 57 (MAX_SKB_FRAGS * sizeof(struct cxgbit_lro_pdu_cb)))
|
H A D | cxgbit_main.c | 48 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 D | ipoib_verbs.c | 151 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 D | ipoib.h | 191 u64 mapping[MAX_SKB_FRAGS + 1]; 388 struct ib_sge tx_sge[MAX_SKB_FRAGS + 1];
|
/linux/include/net/ |
H A D | tls.h | 146 skb_frag_t frags[MAX_SKB_FRAGS]; 159 struct scatterlist sg_tx_data[MAX_SKB_FRAGS];
|
/linux/drivers/net/ethernet/meta/ |
H A D | Kconfig | 24 depends on MAX_SKB_FRAGS < 22
|
/linux/drivers/net/xen-netback/ |
H A D | netback.c | 461 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 D | funeth_tx.c | 155 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 D | funeth_txrx.h | 20 #define FUNETH_MAX_GL_SZ ((MAX_SKB_FRAGS + 1) * sizeof(struct fun_dataop_gl))
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_txrx.h | 23 #define FBNIC_MAX_SKB_DESC (MAX_SKB_FRAGS + 10)
|
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_tx.h | 48 #define OCTEP_VF_SGLIST_ENTRIES_PER_PKT ((MAX_SKB_FRAGS + 1 + 3) / 4)
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | tx_common.c | 408 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 D | octep_tx.h | 48 #define OCTEP_SGLIST_ENTRIES_PER_PKT ((MAX_SKB_FRAGS + 1 + 3) / 4)
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_fp.c | 269 #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 D | fc_frame.h | 48 #define FC_FRAME_SG_LEN (MAX_SKB_FRAGS - 1)
|
/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_type.h | 441 #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 D | fs_enet-main.c | 171 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 D | mana.h | 121 dma_addr_t dma_handle[MAX_SKB_FRAGS + 2]; 123 u32 size[MAX_SKB_FRAGS + 2];
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.h | 33 #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 D | pasemi_mac.c | 513 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 D | xilinx_axienet_main.c | 52 #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()
|