Home
last modified time | relevance | path

Searched refs:frame_max (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_ring.c88 u16 frame_max = self->frame_max; in aq_get_rxpages() local
96 rxbuf->rxdata.pg_off += frame_max + page_offset + in aq_get_rxpages()
98 if (rxbuf->rxdata.pg_off + frame_max + tail_size <= in aq_get_rxpages()
204 self->frame_max = AQ_CFG_RX_FRAME_MAX; in aq_ring_rx_alloc()
213 self->page_order = fls(self->frame_max / PAGE_SIZE + in aq_ring_rx_alloc()
214 (self->frame_max % PAGE_SIZE ? 1 : 0)) - 1; in aq_ring_rx_alloc()
653 self->frame_max); in __aq_ring_rx_clean()
672 self->frame_max); in __aq_ring_rx_clean()
717 int frame_sz = rx_ring->page_offset + rx_ring->frame_max + in __aq_ring_xdp_clean()
888 buff->len = self->frame_max; in aq_ring_rx_fill()
A Daq_ring.h148 u16 frame_max; member
/linux-6.3-rc2/net/packet/
A Dinternal.h65 unsigned int frame_max; member
A Ddiag.c83 pdr.pdr_frame_nr = ring->frame_max + 1; in pdiag_put_ring()
A Daf_packet.c1192 unsigned int previous = rb->head ? rb->head - 1 : rb->frame_max; in packet_previous_frame()
1198 buff->head = buff->head != buff->frame_max ? buff->head+1 : 0; in packet_increment_head()
1251 len = READ_ONCE(po->rx_ring.frame_max) + 1; in __tpacket_has_room()
4489 rb->frame_max = (req->tp_frame_nr - 1); in packet_set_ring()
/linux-6.3-rc2/drivers/net/fjes/
A Dfjes_hw.c163 info->v1i.frame_max = FJES_MTU_TO_FRAME_SIZE(mtu); in fjes_hw_setup_epbuf()
165 EP_RING_NUM(info->v1i.buffer_size, info->v1i.frame_max); in fjes_hw_setup_epbuf()
843 return ((info->v1i.frame_max == FJES_MTU_TO_FRAME_SIZE(mtu)) && in fjes_hw_check_mtu()
917 info->v1i.frame_max]); in fjes_hw_epbuf_rx_curpkt_get_addr()
948 info->v1i.frame_max]); in fjes_hw_epbuf_tx_pkt_send()
A Dfjes_hw.h209 u32 frame_max; member
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/
A Dhw_atl_b0.c769 aq_ring->frame_max / 1024U, in hw_atl_b0_hw_ring_rx_init()
979 ring->frame_max; in hw_atl_b0_hw_ring_rx_receive()
981 buff->len : ring->frame_max; in hw_atl_b0_hw_ring_rx_receive()
986 rxd_wb->pkt_len > ring->frame_max ? in hw_atl_b0_hw_ring_rx_receive()
987 ring->frame_max : rxd_wb->pkt_len; in hw_atl_b0_hw_ring_rx_receive()
A Dhw_atl_a0.c534 aq_ring->frame_max / 1024U, in hw_atl_a0_hw_ring_rx_init()
709 ring->frame_max; in hw_atl_a0_hw_ring_rx_receive()
711 buff->len : ring->frame_max; in hw_atl_a0_hw_ring_rx_receive()
/linux-6.3-rc2/arch/mips/cavium-octeon/executive/
A Dcvmx-helper.c811 uint64_t frame_max = in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
957 frame_max); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
/linux-6.3-rc2/drivers/usb/gadget/function/
A Df_ncm.c1183 unsigned frame_max = le16_to_cpu(ecm_desc.wMaxSegmentSize); in ncm_unwrap_ntb() local
1282 (dg_len > frame_max)) { in ncm_unwrap_ntb()

Completed in 32 milliseconds