Home
last modified time | relevance | path

Searched refs:rx_buffer_len (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/intel/igbvf/
Dnetdev.c151 bufsz = adapter->rx_buffer_len; in igbvf_alloc_rx_buffers()
291 adapter->rx_buffer_len, in igbvf_clean_rx_irq()
317 if ((adapter->rx_buffer_len > (PAGE_SIZE / 2)) || in igbvf_clean_rx_irq()
572 adapter->rx_buffer_len, in igbvf_clean_rx_ring()
1348 srrctl |= ALIGN(adapter->rx_buffer_len, 1024) >> in igbvf_setup_srrctl()
1351 if (adapter->rx_buffer_len < 2048) { in igbvf_setup_srrctl()
1632 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN; in igbvf_sw_init()
2420 adapter->rx_buffer_len = 1024; in igbvf_change_mtu()
2422 adapter->rx_buffer_len = 2048; in igbvf_change_mtu()
2425 adapter->rx_buffer_len = 16384; in igbvf_change_mtu()
[all …]
Digbvf.h166 u32 rx_buffer_len; member
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1336 bufsz = adapter->rx_buffer_len + NET_IP_ALIGN; in pch_gbe_alloc_rx_buffers()
1396 bufsz = adapter->rx_buffer_len; in pch_gbe_alloc_rx_buffers_pool()
1949 adapter->rx_buffer_len = PCH_GBE_FRAME_SIZE_2048; in pch_gbe_sw_init()
1968 (u32) adapter->rx_buffer_len, in pch_gbe_sw_init()
2162 unsigned long old_rx_buffer_len = adapter->rx_buffer_len; in pch_gbe_change_mtu()
2166 adapter->rx_buffer_len = PCH_GBE_FRAME_SIZE_2048; in pch_gbe_change_mtu()
2168 adapter->rx_buffer_len = PCH_GBE_FRAME_SIZE_4096; in pch_gbe_change_mtu()
2170 adapter->rx_buffer_len = PCH_GBE_FRAME_SIZE_8192; in pch_gbe_change_mtu()
2172 adapter->rx_buffer_len = PCH_GBE_MAX_RX_BUFFER_SIZE; in pch_gbe_change_mtu()
2178 adapter->rx_buffer_len = old_rx_buffer_len; in pch_gbe_change_mtu()
[all …]
Dpch_gbe.h588 unsigned long rx_buffer_len; member
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c554 adapter->rx_buffer_len = hw->max_frame_size + 8; /* + 8 for errata */ in ixgb_sw_init()
790 if (adapter->rx_buffer_len <= IXGB_RXBUFFER_2048) in ixgb_setup_rctl()
792 else if (adapter->rx_buffer_len <= IXGB_RXBUFFER_4096) in ixgb_setup_rctl()
794 else if (adapter->rx_buffer_len <= IXGB_RXBUFFER_8192) in ixgb_setup_rctl()
796 else if (adapter->rx_buffer_len <= IXGB_RXBUFFER_16384) in ixgb_setup_rctl()
1567 adapter->rx_buffer_len = max_frame + 8; /* + 8 for errata */ in ixgb_change_mtu()
2070 skb = netdev_alloc_skb_ip_align(netdev, adapter->rx_buffer_len); in ixgb_alloc_rx_buffers()
2078 buffer_info->length = adapter->rx_buffer_len; in ixgb_alloc_rx_buffers()
2082 adapter->rx_buffer_len, in ixgb_alloc_rx_buffers()
Dixgb.h115 u32 rx_buffer_len; member
/drivers/net/ethernet/intel/e1000/
De1000_main.c1298 adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE; in e1000_sw_init()
1809 switch (adapter->rx_buffer_len) { in e1000_setup_rctl()
2065 return SKB_DATA_ALIGN(a->rx_buffer_len + E1000_HEADROOM) + in e1000_frag_len()
2099 adapter->rx_buffer_len, in e1000_clean_rx_ring()
2108 adapter->rx_buffer_len, in e1000_clean_rx_ring()
3558 adapter->rx_buffer_len = E1000_RXBUFFER_2048; in e1000_change_mtu()
3561 adapter->rx_buffer_len = E1000_RXBUFFER_16384; in e1000_change_mtu()
3563 adapter->rx_buffer_len = PAGE_SIZE; in e1000_change_mtu()
3570 adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE; in e1000_change_mtu()
4169 adapter->rx_buffer_len, DMA_FROM_DEVICE); in e1000_clean_jumbo_rx_irq()
[all …]
De1000.h208 u32 rx_buffer_len; member
/drivers/net/ethernet/atheros/atlx/
Datl1.c938 adapter->rx_buffer_len = (hw->max_frame_size + 7) & ~7; in atl1_sw_init()
955 hw->rx_jumbo_th = adapter->rx_buffer_len / 8; in atl1_sw_init()
1776 num_buf = (rrd->xsz.xsum_sz.pkt_size + adapter->rx_buffer_len - 1) / in atl1_update_rfd_index()
1777 adapter->rx_buffer_len; in atl1_update_rfd_index()
1857 adapter->rx_buffer_len); in atl1_alloc_rx_buffers()
1866 buffer_info->length = (u16) adapter->rx_buffer_len; in atl1_alloc_rx_buffers()
1870 adapter->rx_buffer_len, in atl1_alloc_rx_buffers()
1873 rfd_desc->buf_len = cpu_to_le16(adapter->rx_buffer_len); in atl1_alloc_rx_buffers()
1928 adapter->rx_buffer_len); in atl1_intr_rx()
2689 adapter->rx_buffer_len = (max_frame + 7) & ~7; in atl1_change_mtu()
[all …]
Datl1.h748 u32 rx_buffer_len; member
/drivers/net/ethernet/atheros/atl1c/
Datl1c.h516 u16 rx_buffer_len; member
Datl1c_main.c498 adapter->rx_buffer_len = mtu > AT_RX_BUF_SIZE ? in atl1c_set_rxbufsize()
1123 adapter->rx_buffer_len & RX_BUF_SIZE_MASK); in atl1c_configure_des_ring()
1787 skb = napi_alloc_skb(&rrd_ring->napi, adapter->rx_buffer_len + 64); in atl1c_alloc_rx_buffer()
1789 skb = netdev_alloc_skb(adapter->netdev, adapter->rx_buffer_len + 64); in atl1c_alloc_rx_buffer()
1807 buffer_info->length = adapter->rx_buffer_len; in atl1c_alloc_rx_buffer()
/drivers/net/ethernet/intel/e1000e/
De1000.h202 u32 rx_buffer_len; member
Dnetdev.c459 adapter->rx_buffer_len, in e1000e_dump()
654 unsigned int bufsz = adapter->rx_buffer_len; in e1000_alloc_rx_buffers()
676 adapter->rx_buffer_len, in e1000_alloc_rx_buffers()
956 adapter->rx_buffer_len, DMA_FROM_DEVICE); in e1000_clean_rx_irq()
1693 adapter->rx_buffer_len, in e1000_clean_rx_ring()
3103 switch (adapter->rx_buffer_len) { in e1000_setup_rctl()
4449 adapter->rx_buffer_len = VLAN_ETH_FRAME_LEN + ETH_FCS_LEN; in e1000_sw_init()
6064 adapter->rx_buffer_len = 2048; in e1000_change_mtu()
6066 adapter->rx_buffer_len = 4096; in e1000_change_mtu()
6070 adapter->rx_buffer_len = VLAN_ETH_FRAME_LEN + ETH_FCS_LEN; in e1000_change_mtu()