Home
last modified time | relevance | path

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

123

/linux-3.4.99/drivers/net/
Dvirtio_net.c79 struct scatterlist rx_sg[MAX_SKB_FRAGS + 2];
80 struct scatterlist tx_sg[MAX_SKB_FRAGS + 2];
204 if (unlikely(len > MAX_SKB_FRAGS * PAGE_SIZE)) { in page_to_skb()
232 if (i >= MAX_SKB_FRAGS) { in receive_mergeable()
387 for (i = MAX_SKB_FRAGS + 1; i > 1; --i) { in add_recvbuf_big()
418 err = virtqueue_add_buf(vi->rvq, vi->rx_sg, 0, MAX_SKB_FRAGS + 2, in add_recvbuf_big()
654 if (capacity < 2+MAX_SKB_FRAGS) { in start_xmit()
659 if (capacity >= 2+MAX_SKB_FRAGS) { in start_xmit()
Dmacvtap.c520 struct page *page[MAX_SKB_FRAGS]; in zerocopy_sg_from_iovec()
533 if (i + size > MAX_SKB_FRAGS) in zerocopy_sg_from_iovec()
717 <= MAX_SKB_FRAGS) in macvtap_get_user()
/linux-3.4.99/Documentation/networking/
Ddriver.txt32 if (TX_BUFFS_AVAIL(dp) <= (MAX_SKB_FRAGS + 1))
44 TX_BUFFS_AVAIL(dp) > (MAX_SKB_FRAGS + 1))
/linux-3.4.99/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c196 init_attr.cap.max_send_sge = MAX_SKB_FRAGS + 1; in ipoib_transport_dev_init()
208 for (i = 0; i < MAX_SKB_FRAGS + 1; ++i) in ipoib_transport_dev_init()
Dipoib.h155 u64 mapping[MAX_SKB_FRAGS + 1];
318 struct ib_sge tx_sge[MAX_SKB_FRAGS + 1];
/linux-3.4.99/include/scsi/
Dfc_frame.h60 #define FC_FRAME_SG_LEN (MAX_SKB_FRAGS - 1)
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h147 struct page_frag frags[MAX_SKB_FRAGS];
Dsge.c118 ETHTXQ_MAX_FRAGS = MAX_SKB_FRAGS + 1,
893 struct ulptx_sge_pair buf[MAX_SKB_FRAGS / 2 + 1]; in write_sgl()
1084 dma_addr_t addr[MAX_SKB_FRAGS + 1]; in t4vf_eth_xmit()
1686 BUG_ON(frag >= MAX_SKB_FRAGS); in process_responses()
/linux-3.4.99/drivers/scsi/cxgbi/
Dlibcxgbi.h171 dma_addr_t addr[MAX_SKB_FRAGS + 1];
421 #define SKB_WR_LIST_SIZE (MAX_SKB_FRAGS + 2)
/linux-3.4.99/drivers/net/ethernet/pasemi/
Dpasemi_mac.c562 dma_addr_t dmas[MAX_SKB_FRAGS+1]; in pasemi_mac_free_tx_resources()
862 #define TX_CLEAN_BATCHSIZE (128/MAX_SKB_FRAGS)
874 dma_addr_t dmas[TX_CLEAN_BATCHSIZE][MAX_SKB_FRAGS+1]; in pasemi_mac_clean_tx()
1485 dma_addr_t map[MAX_SKB_FRAGS+1]; in pasemi_mac_start_tx()
1486 unsigned int map_size[MAX_SKB_FRAGS+1]; in pasemi_mac_start_tx()
/linux-3.4.99/drivers/net/ethernet/qlogic/
Dqla3xxx.h1017 #define MAX_OAL_CNT ((MAX_SKB_FRAGS-1)/4 + 1)
1041 struct map_list map[MAX_SKB_FRAGS+1];
/linux-3.4.99/drivers/infiniband/hw/amso1100/
Dc2.c369 if (c2_port->tx_avail > MAX_SKB_FRAGS + 1) in c2_tx_clean()
414 && c2_port->tx_avail > MAX_SKB_FRAGS + 1) in c2_tx_interrupt()
828 if (c2_port->tx_avail <= MAX_SKB_FRAGS + 1) { in c2_xmit_frame()
/linux-3.4.99/net/xfrm/
Dxfrm_ipcomp.c76 if (WARN_ON(skb_shinfo(skb)->nr_frags >= MAX_SKB_FRAGS)) in ipcomp_decompress()
/linux-3.4.99/drivers/net/ethernet/neterion/vxge/
Dvxge-main.h412 dma_addr_t dma_buffers[MAX_SKB_FRAGS+1];
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c87 if ((nbd - 1) > (MAX_SKB_FRAGS + 2)) { in bnx2x_free_tx_pkt()
199 (bnx2x_tx_avail(bp, txdata) >= MAX_SKB_FRAGS + 4)) in bnx2x_tx_int()
440 if (pages > min_t(u32, 8, MAX_SKB_FRAGS)*SGE_PAGE_SIZE*PAGES_PER_SGE) { in bnx2x_fill_frag_skb()
2445 #if (MAX_SKB_FRAGS >= MAX_FETCH_BD - 3)
2760 #if (MAX_SKB_FRAGS >= MAX_FETCH_BD - 3) in bnx2x_start_xmit()
3011 if (unlikely(bnx2x_tx_avail(bp, txdata) < MAX_SKB_FRAGS + 4)) { in bnx2x_start_xmit()
3020 if (bnx2x_tx_avail(bp, txdata) >= MAX_SKB_FRAGS + 4) in bnx2x_start_xmit()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlge/
Dqlge.h62 #if ((MAX_SKB_FRAGS - TX_DESC_PER_IOCB) + 2) > 0
63 #define TX_DESC_PER_OAL ((MAX_SKB_FRAGS - TX_DESC_PER_IOCB) + 2)
1354 struct map_list map[MAX_SKB_FRAGS + 2];
/linux-3.4.99/net/ipv4/
Dip_output.c1006 if (i == MAX_SKB_FRAGS) { in __ip_append_data()
1014 } else if (i < MAX_SKB_FRAGS) { in __ip_append_data()
1247 } else if (i < MAX_SKB_FRAGS) { in ip_append_page()
/linux-3.4.99/include/linux/
Dskbuff.h147 #define MAX_SKB_FRAGS 16UL macro
149 #define MAX_SKB_FRAGS (65536/PAGE_SIZE + 1) macro
271 skb_frag_t frags[MAX_SKB_FRAGS];
/linux-3.4.99/net/core/
Dskbuff.c1717 .nr_pages_max = MAX_SKB_FRAGS, in skb_splice_bits()
2343 (skb_shinfo(skb)->nr_frags - from) > (MAX_SKB_FRAGS - to)) in skb_shift()
2350 if (to == MAX_SKB_FRAGS) in skb_shift()
2605 if (frg_cnt >= MAX_SKB_FRAGS) in skb_append_datato_frags()
2865 if (nr_frags > MAX_SKB_FRAGS) in skb_gro_receive()
/linux-3.4.99/drivers/net/ethernet/sfc/
Dtx.c127 unsigned int max_descs = EFX_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in efx_tx_max_skb_descs()
135 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, in efx_tx_max_skb_descs()
/linux-3.4.99/drivers/net/xen-netback/
Dnetback.c282 max += MAX_SKB_FRAGS + 1; /* extra_info + frags */ in max_required_rx_slots()
660 if (count + MAX_SKB_FRAGS >= XEN_NETIF_RX_RING_SIZE) in xen_netbk_rx_action()
1107 BUG_ON(shinfo->nr_frags > MAX_SKB_FRAGS); in xen_netbk_get_requests()
/linux-3.4.99/drivers/net/ethernet/3com/
Dtyphoon.c142 #if defined(NETIF_F_TSO) && MAX_SKB_FRAGS > 32
147 #if TXLO_ENTRIES <= (2 * MAX_SKB_FRAGS)
843 numDesc = MAX_SKB_FRAGS + TSO_NUM_DESCRIPTORS + 1; in typhoon_start_tx()
1543 int numDesc = MAX_SKB_FRAGS + 1; in typhoon_tx_complete()
/linux-3.4.99/drivers/net/ethernet/alteon/
Dacenic.h701 #define TX_RESERVED MAX_SKB_FRAGS
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h143 #define DESC_NEEDED ((MAX_SKB_FRAGS * TXD_USE_COUNT(PAGE_SIZE)) + 4)
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h106 #define TX_STOP_THRESH ((MAX_SKB_FRAGS >> 2) + MAX_TSO_HEADER_DESC \
381 struct qlcnic_skb_frag frag_array[MAX_SKB_FRAGS + 1];

123