Home
last modified time | relevance | path

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

/linux/drivers/greybus/
H A Dgb-beagleplay.c81 u16 rx_buffer_len; member
349 crc = crc_ccitt(0xffff, bg->rx_buffer, bg->rx_buffer_len); in hdlc_rx_frame()
357 len = bg->rx_buffer_len - 4; in hdlc_rx_frame()
385 if (bg->rx_buffer_len) in hdlc_rx()
388 bg->rx_buffer_len = 0; in hdlc_rx()
399 if (bg->rx_buffer_len < MAX_RX_HDLC) { in hdlc_rx()
400 bg->rx_buffer[bg->rx_buffer_len] = c; in hdlc_rx()
401 bg->rx_buffer_len++; in hdlc_rx()
404 bg->rx_buffer_len = 0; in hdlc_rx()
424 bg->rx_buffer_len = 0; in hdlc_init()
[all …]
/linux/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c151 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 Digbvf.h166 u32 rx_buffer_len; member
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A 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 …]
H A Dpch_gbe.h588 unsigned long rx_buffer_len; member
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c1295 adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE; in e1000_sw_init()
1806 switch (adapter->rx_buffer_len) { in e1000_setup_rctl()
2062 return SKB_DATA_ALIGN(a->rx_buffer_len + E1000_HEADROOM) + in e1000_frag_len()
2096 adapter->rx_buffer_len, in e1000_clean_rx_ring()
2105 adapter->rx_buffer_len, in e1000_clean_rx_ring()
3555 adapter->rx_buffer_len = E1000_RXBUFFER_2048; in e1000_change_mtu()
3558 adapter->rx_buffer_len = E1000_RXBUFFER_16384; in e1000_change_mtu()
3560 adapter->rx_buffer_len = PAGE_SIZE; in e1000_change_mtu()
3567 adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE; in e1000_change_mtu()
4166 adapter->rx_buffer_len, DMA_FROM_DEVICE); in e1000_clean_jumbo_rx_irq()
[all …]
H A De1000.h208 u32 rx_buffer_len; member
/linux/drivers/net/ethernet/atheros/atlx/
H A 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()
2687 adapter->rx_buffer_len = (max_frame + 7) & ~7; in atl1_change_mtu()
[all …]
H A Datl1.h748 u32 rx_buffer_len; member
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c.h516 u16 rx_buffer_len; member
H A Datl1c_main.c488 adapter->rx_buffer_len = mtu > AT_RX_BUF_SIZE ? in atl1c_set_rxbufsize()
1114 adapter->rx_buffer_len & RX_BUF_SIZE_MASK); in atl1c_configure_des_ring()
1778 skb = napi_alloc_skb(&rrd_ring->napi, adapter->rx_buffer_len + 64); in atl1c_alloc_rx_buffer()
1780 skb = netdev_alloc_skb(adapter->netdev, adapter->rx_buffer_len + 64); in atl1c_alloc_rx_buffer()
1798 buffer_info->length = adapter->rx_buffer_len; in atl1c_alloc_rx_buffer()
/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h203 u32 rx_buffer_len; member
H A Dnetdev.c461 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()