Searched refs:rx_buffer_len (Results 1 – 15 of 15) sorted by relevance
/openbmc/qemu/hw/net/fsl_etsec/ |
H A D | rings.c | 469 etsec->rx_buffer_len = size; in rx_init_frame() 478 if (etsec->rx_buffer_len < 60) { in rx_init_frame() 479 etsec->rx_padding += 60 - etsec->rx_buffer_len; in rx_init_frame() 483 etsec->rx_remaining_data = etsec->rx_buffer_len; in rx_init_frame() 485 etsec->rx_buffer_len, etsec->rx_padding); in rx_init_frame() 492 if (etsec->rx_buffer_len != 0) { in etsec_rx_ring_write() 538 if (etsec->rx_buffer_len == 0) { in etsec_walk_rx_ring() 546 + (etsec->rx_buffer_len - etsec->rx_remaining_data); in etsec_walk_rx_ring() 547 size = etsec->rx_buffer_len + etsec->rx_padding; in etsec_walk_rx_ring() 651 etsec->rx_buffer_len = 0; in etsec_walk_rx_ring()
|
H A D | etsec.h | 110 uint32_t rx_buffer_len; member
|
H A D | etsec.c | 176 if (etsec->rx_buffer_len != 0) { in write_dmactrl() 339 etsec->rx_buffer_len = 0; in etsec_reset()
|
/openbmc/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 151 bufsz = adapter->rx_buffer_len; in igbvf_alloc_rx_buffers() 290 adapter->rx_buffer_len, in igbvf_clean_rx_irq() 316 if ((adapter->rx_buffer_len > (PAGE_SIZE / 2)) || in igbvf_clean_rx_irq() 571 adapter->rx_buffer_len, in igbvf_clean_rx_ring() 1347 srrctl |= ALIGN(adapter->rx_buffer_len, 1024) >> in igbvf_setup_srrctl() 1350 if (adapter->rx_buffer_len < 2048) { in igbvf_setup_srrctl() 1631 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN; in igbvf_sw_init() 2419 adapter->rx_buffer_len = 1024; in igbvf_change_mtu() 2421 adapter->rx_buffer_len = 2048; in igbvf_change_mtu() 2424 adapter->rx_buffer_len = 16384; in igbvf_change_mtu() [all …]
|
H A D | igbvf.h | 166 u32 rx_buffer_len; member
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 1336 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 …]
|
H A D | pch_gbe.h | 588 unsigned long rx_buffer_len; member
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 1298 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 …]
|
H A D | e1000.h | 208 u32 rx_buffer_len; member
|
/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 938 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 …]
|
H A D | atl1.h | 748 u32 rx_buffer_len; member
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c.h | 516 u16 rx_buffer_len; member
|
H A D | atl1c_main.c | 488 adapter->rx_buffer_len = mtu > AT_RX_BUF_SIZE ? in atl1c_set_rxbufsize() 1113 adapter->rx_buffer_len & RX_BUF_SIZE_MASK); in atl1c_configure_des_ring() 1777 skb = napi_alloc_skb(&rrd_ring->napi, adapter->rx_buffer_len + 64); in atl1c_alloc_rx_buffer() 1779 skb = netdev_alloc_skb(adapter->netdev, adapter->rx_buffer_len + 64); in atl1c_alloc_rx_buffer() 1797 buffer_info->length = adapter->rx_buffer_len; in atl1c_alloc_rx_buffer()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | e1000.h | 203 u32 rx_buffer_len; member
|
H A D | netdev.c | 461 adapter->rx_buffer_len, in e1000e_dump() 656 unsigned int bufsz = adapter->rx_buffer_len; in e1000_alloc_rx_buffers() 678 adapter->rx_buffer_len, in e1000_alloc_rx_buffers() 958 adapter->rx_buffer_len, DMA_FROM_DEVICE); in e1000_clean_rx_irq() 1685 adapter->rx_buffer_len, in e1000_clean_rx_ring() 3093 switch (adapter->rx_buffer_len) { in e1000_setup_rctl() 4443 adapter->rx_buffer_len = VLAN_ETH_FRAME_LEN + ETH_FCS_LEN; in e1000_sw_init() 6057 adapter->rx_buffer_len = 2048; in e1000_change_mtu() 6059 adapter->rx_buffer_len = 4096; in e1000_change_mtu() 6063 adapter->rx_buffer_len = VLAN_ETH_FRAME_LEN + ETH_FCS_LEN; in e1000_change_mtu()
|