Searched refs:rx_buffer_len (Results 1 – 14 of 14) sorted by relevance
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 173 bufsz = adapter->rx_buffer_len; in igbvf_alloc_rx_buffers() 309 adapter->rx_buffer_len, in igbvf_clean_rx_irq() 334 if ((adapter->rx_buffer_len > (PAGE_SIZE / 2)) || in igbvf_clean_rx_irq() 587 adapter->rx_buffer_len, in igbvf_clean_rx_ring() 1335 srrctl |= ALIGN(adapter->rx_buffer_len, 1024) >> in igbvf_setup_srrctl() 1338 if (adapter->rx_buffer_len < 2048) { in igbvf_setup_srrctl() 1569 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN; in igbvf_sw_init() 2374 adapter->rx_buffer_len = 1024; in igbvf_change_mtu() 2376 adapter->rx_buffer_len = 2048; in igbvf_change_mtu() 2379 adapter->rx_buffer_len = 16384; in igbvf_change_mtu() [all …]
|
D | igbvf.h | 190 u32 rx_buffer_len; member
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1409 bufsz = adapter->rx_buffer_len + NET_IP_ALIGN; in pch_gbe_alloc_rx_buffers() 1468 bufsz = adapter->rx_buffer_len; in pch_gbe_alloc_rx_buffers_pool() 2012 adapter->rx_buffer_len = PCH_GBE_FRAME_SIZE_2048; in pch_gbe_sw_init() 2034 (u32) adapter->rx_buffer_len, in pch_gbe_sw_init() 2242 unsigned long old_rx_buffer_len = adapter->rx_buffer_len; in pch_gbe_change_mtu() 2252 adapter->rx_buffer_len = PCH_GBE_FRAME_SIZE_2048; in pch_gbe_change_mtu() 2254 adapter->rx_buffer_len = PCH_GBE_FRAME_SIZE_4096; in pch_gbe_change_mtu() 2256 adapter->rx_buffer_len = PCH_GBE_FRAME_SIZE_8192; in pch_gbe_change_mtu() 2258 adapter->rx_buffer_len = PCH_GBE_MAX_RX_BUFFER_SIZE; in pch_gbe_change_mtu() 2264 adapter->rx_buffer_len = old_rx_buffer_len; in pch_gbe_change_mtu() [all …]
|
D | pch_gbe.h | 627 unsigned long rx_buffer_len; member
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 603 adapter->rx_buffer_len = hw->max_frame_size + 8; /* + 8 for errata */ in ixgb_sw_init() 840 if (adapter->rx_buffer_len <= IXGB_RXBUFFER_2048) in ixgb_setup_rctl() 842 else if (adapter->rx_buffer_len <= IXGB_RXBUFFER_4096) in ixgb_setup_rctl() 844 else if (adapter->rx_buffer_len <= IXGB_RXBUFFER_8192) in ixgb_setup_rctl() 846 else if (adapter->rx_buffer_len <= IXGB_RXBUFFER_16384) in ixgb_setup_rctl() 1645 adapter->rx_buffer_len = max_frame + 8; /* + 8 for errata */ in ixgb_change_mtu() 2145 skb = netdev_alloc_skb_ip_align(netdev, adapter->rx_buffer_len); in ixgb_alloc_rx_buffers() 2153 buffer_info->length = adapter->rx_buffer_len; in ixgb_alloc_rx_buffers() 2157 adapter->rx_buffer_len, in ixgb_alloc_rx_buffers()
|
D | ixgb.h | 142 u32 rx_buffer_len; member
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 958 adapter->rx_buffer_len = (hw->max_frame_size + 7) & ~7; in atl1_sw_init() 975 hw->rx_jumbo_th = adapter->rx_buffer_len / 8; in atl1_sw_init() 1791 num_buf = (rrd->xsz.xsum_sz.pkt_size + adapter->rx_buffer_len - 1) / in atl1_update_rfd_index() 1792 adapter->rx_buffer_len; in atl1_update_rfd_index() 1872 adapter->rx_buffer_len); in atl1_alloc_rx_buffers() 1881 buffer_info->length = (u16) adapter->rx_buffer_len; in atl1_alloc_rx_buffers() 1885 adapter->rx_buffer_len, in atl1_alloc_rx_buffers() 1888 rfd_desc->buf_len = cpu_to_le16(adapter->rx_buffer_len); in atl1_alloc_rx_buffers() 1943 adapter->rx_buffer_len); in atl1_intr_rx() 2711 adapter->rx_buffer_len = (max_frame + 7) & ~7; in atl1_change_mtu() [all …]
|
D | atl1.h | 760 u32 rx_buffer_len; member
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 1310 adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE; in e1000_sw_init() 1813 switch (adapter->rx_buffer_len) { in e1000_setup_rctl() 3570 adapter->rx_buffer_len = E1000_RXBUFFER_2048; in e1000_change_mtu() 3573 adapter->rx_buffer_len = E1000_RXBUFFER_16384; in e1000_change_mtu() 3575 adapter->rx_buffer_len = PAGE_SIZE; in e1000_change_mtu() 3582 adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE; in e1000_change_mtu() 4404 buffer_info->length = adapter->rx_buffer_len; in e1000_alloc_jumbo_rx_buffers() 4469 unsigned int bufsz = adapter->rx_buffer_len; in e1000_alloc_rx_buffers() 4514 buffer_info->length = adapter->rx_buffer_len; in e1000_alloc_rx_buffers() 4535 adapter->rx_buffer_len)) { in e1000_alloc_rx_buffers() [all …]
|
D | e1000.h | 221 u32 rx_buffer_len; member
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c.h | 526 u16 rx_buffer_len; member
|
D | atl1c_main.c | 486 adapter->rx_buffer_len = mtu > AT_RX_BUF_SIZE ? in atl1c_set_rxbufsize() 1080 adapter->rx_buffer_len & RX_BUF_SIZE_MASK); in atl1c_configure_des_ring() 1663 skb = netdev_alloc_skb(adapter->netdev, adapter->rx_buffer_len); in atl1c_alloc_rx_buffer() 1678 buffer_info->length = adapter->rx_buffer_len; in atl1c_alloc_rx_buffer()
|
/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 227 u32 rx_buffer_len; member
|
D | netdev.c | 457 adapter->rx_buffer_len, in e1000e_dump() 647 unsigned int bufsz = adapter->rx_buffer_len; in e1000_alloc_rx_buffers() 669 adapter->rx_buffer_len, in e1000_alloc_rx_buffers() 944 adapter->rx_buffer_len, DMA_FROM_DEVICE); in e1000_clean_rx_irq() 1658 adapter->rx_buffer_len, in e1000_clean_rx_ring() 3037 switch (adapter->rx_buffer_len) { in e1000_setup_rctl() 4085 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN; in e1000_sw_init() 5699 adapter->rx_buffer_len = 2048; in e1000_change_mtu() 5701 adapter->rx_buffer_len = 4096; in e1000_change_mtu() 5706 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN in e1000_change_mtu()
|