Searched refs:rx_obj_num (Results 1 – 3 of 3) sorted by relevance
28 ring->rx_pending = priv->rx_obj_num; in mcp251xfd_ring_get_ringparam()43 if ((layout.cur_rx != priv->rx_obj_num || in mcp251xfd_ring_set_ringparam()48 priv->rx_obj_num = layout.cur_rx; in mcp251xfd_ring_set_ringparam()94 .rx_pending = priv->rx_obj_num, in mcp251xfd_ring_set_coalesce()108 priv->rx_obj_num = layout.cur_rx; in mcp251xfd_ring_set_coalesce()138 priv->rx_obj_num = layout.default_rx; in mcp251xfd_ethtool_init()
481 .rx_pending = priv->rx_obj_num, in mcp251xfd_ring_alloc()496 priv->rx_obj_num = layout.cur_rx; in mcp251xfd_ring_alloc()517 rem = priv->rx_obj_num; in mcp251xfd_ring_alloc()519 u8 rx_obj_num; in mcp251xfd_ring_alloc() local522 rx_obj_num = min_t(u8, priv->rx_obj_num_coalesce_irq * 2, in mcp251xfd_ring_alloc()525 rx_obj_num = min_t(u8, rounddown_pow_of_two(rem), in mcp251xfd_ring_alloc()527 rem -= rx_obj_num; in mcp251xfd_ring_alloc()529 rx_ring = kzalloc(sizeof(*rx_ring) + rx_obj_size * rx_obj_num, in mcp251xfd_ring_alloc()536 rx_ring->obj_num = rx_obj_num; in mcp251xfd_ring_alloc()538 ilog2(rx_obj_num); in mcp251xfd_ring_alloc()
649 u8 rx_obj_num; member