Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dipoib_rx.c28 int skb_size = SKB_DATA_ALIGN(size + HFI1_IPOIB_SKB_PAD); in prepare_frag_skb() local
31 skb_size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in prepare_frag_skb()
32 skb_size = SKB_DATA_ALIGN(skb_size); in prepare_frag_skb()
33 frag = napi_alloc_frag(skb_size); in prepare_frag_skb()
38 skb = build_skb(frag, skb_size); in prepare_frag_skb()
53 int skb_size = size + HFI1_IPOIB_ENCAP_LEN; in hfi1_ipoib_prepare_skb() local
61 skb = napi_alloc_skb(napi, skb_size); in hfi1_ipoib_prepare_skb()
63 skb = prepare_frag_skb(napi, skb_size); in hfi1_ipoib_prepare_skb()
/drivers/net/ethernet/marvell/
Dpxa168_eth.c222 int skb_size; member
313 skb = netdev_alloc_skb(dev, pep->skb_size); in rxq_refill()
875 int skb_size; in pxa168_eth_recalc_skb_size() local
883 skb_size = pep->dev->mtu + 36; in pxa168_eth_recalc_skb_size()
890 pep->skb_size = (skb_size + 7) & ~7; in pxa168_eth_recalc_skb_size()
898 pep->skb_size += SKB_DMA_REALIGN; in pxa168_eth_recalc_skb_size()
904 int skb_size; in set_port_config_ext() local
907 if (pep->skb_size <= 1518) in set_port_config_ext()
908 skb_size = PCXR_MFL_1518; in set_port_config_ext()
909 else if (pep->skb_size <= 1536) in set_port_config_ext()
[all …]
Dmv643xx_eth.c388 int skb_size; member
609 skb = netdev_alloc_skb(mp->dev, mp->skb_size); in rxq_refill()
2391 int skb_size; in mv643xx_eth_recalc_skb_size() local
2399 skb_size = mp->dev->mtu + 36; in mv643xx_eth_recalc_skb_size()
2406 mp->skb_size = (skb_size + 7) & ~7; in mv643xx_eth_recalc_skb_size()
2414 mp->skb_size += SKB_DMA_REALIGN; in mv643xx_eth_recalc_skb_size()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c220 rds_ring->skb_size = in netxen_alloc_sw_resources()
229 rds_ring->skb_size = in netxen_alloc_sw_resources()
246 rds_ring->skb_size = in netxen_alloc_sw_resources()
253 rds_ring->skb_size = rds_ring->dma_size + NET_IP_ALIGN; in netxen_alloc_sw_resources()
1460 buffer->skb = netdev_alloc_skb(adapter->netdev, rds_ring->skb_size); in netxen_alloc_rx_skb()
1544 if (length > rds_ring->skb_size) in netxen_process_rcv()
1545 skb_put(skb, rds_ring->skb_size); in netxen_process_rcv()
Dnetxen_nic.h613 u32 skb_size; member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c821 skb = netdev_alloc_skb(adapter->netdev, rds_ring->skb_size); in qlcnic_alloc_rx_skb()
1229 if (length > rds_ring->skb_size) in qlcnic_process_rcv()
1230 skb_put(skb, rds_ring->skb_size); in qlcnic_process_rcv()
1516 if (length > rds_ring->skb_size) in qlcnic_process_rcv_diag()
1517 skb_put(skb, rds_ring->skb_size); in qlcnic_process_rcv_diag()
1746 if (length > rds_ring->skb_size) in qlcnic_83xx_process_rcv()
1747 skb_put(skb, rds_ring->skb_size); in qlcnic_83xx_process_rcv()
2196 if (length > rds_ring->skb_size) in qlcnic_83xx_process_rcv_diag()
2197 skb_put(skb, rds_ring->skb_size); in qlcnic_83xx_process_rcv_diag()
Dqlcnic_init.c205 rds_ring->skb_size = rds_ring->dma_size + NET_IP_ALIGN; in qlcnic_alloc_sw_resources()
217 rds_ring->skb_size = in qlcnic_alloc_sw_resources()
Dqlcnic.h580 u32 skb_size; member
/drivers/net/ethernet/broadcom/
Db44.c822 int skb_size; in b44_rx() local
823 skb_size = b44_alloc_rx_skb(bp, cons, bp->rx_prod); in b44_rx()
824 if (skb_size < 0) in b44_rx()
827 skb_size, DMA_FROM_DEVICE); in b44_rx()
Dtg3.c6650 unsigned int skb_size = SKB_DATA_ALIGN(map_sz + TG3_RX_OFFSET(tp)) + in tg3_rx_data_free() local
6658 tg3_frag_free(skb_size <= PAGE_SIZE, ri->data); in tg3_rx_data_free()
6682 int skb_size, data_size, dest_idx; in tg3_alloc_rx_data() local
6709 skb_size = SKB_DATA_ALIGN(data_size + TG3_RX_OFFSET(tp)) + in tg3_alloc_rx_data()
6711 if (skb_size <= PAGE_SIZE) { in tg3_alloc_rx_data()
6712 data = napi_alloc_frag(skb_size); in tg3_alloc_rx_data()
6713 *frag_size = skb_size; in tg3_alloc_rx_data()
6715 data = kmalloc(skb_size, GFP_ATOMIC); in tg3_alloc_rx_data()
6724 tg3_frag_free(skb_size <= PAGE_SIZE, data); in tg3_alloc_rx_data()
6882 int skb_size; in tg3_rx() local
[all …]
/drivers/net/ethernet/intel/e1000e/
Dethtool.c1215 unsigned int skb_size = 1024; in e1000_setup_desc_rings() local
1217 skb = alloc_skb(skb_size, GFP_KERNEL); in e1000_setup_desc_rings()
1222 skb_put(skb, skb_size); in e1000_setup_desc_rings()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c5793 int skb_size; in rtl8xxxu_submit_rx_urb() local
5799 skb_size = fops->rx_agg_buf_size; in rtl8xxxu_submit_rx_urb()
5800 skb_size += (rx_desc_sz + sizeof(struct rtl8723au_phy_stats)); in rtl8xxxu_submit_rx_urb()
5802 skb_size = IEEE80211_MAX_FRAME_LEN; in rtl8xxxu_submit_rx_urb()
5805 skb = __netdev_alloc_skb(NULL, skb_size, GFP_KERNEL); in rtl8xxxu_submit_rx_urb()
5811 skb_size, rtl8xxxu_rx_complete, skb); in rtl8xxxu_submit_rx_urb()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c194 vxge_rx_alloc(void *dtrh, struct vxge_ring *ring, const int skb_size) in vxge_rx_alloc() argument
207 skb = netdev_alloc_skb(dev, skb_size + in vxge_rx_alloc()
224 rx_priv->data_size = skb_size; in vxge_rx_alloc()