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()
464 priv->rx_obj_num = layout.default_rx; in mcp251xfd_ring_alloc()480 rem = priv->rx_obj_num; in mcp251xfd_ring_alloc()482 u8 rx_obj_num; in mcp251xfd_ring_alloc() local485 rx_obj_num = min_t(u8, priv->rx_obj_num_coalesce_irq * 2, in mcp251xfd_ring_alloc()488 rx_obj_num = min_t(u8, rounddown_pow_of_two(rem), in mcp251xfd_ring_alloc()490 rem -= rx_obj_num; in mcp251xfd_ring_alloc()492 rx_ring = kzalloc(sizeof(*rx_ring) + rx_obj_size * rx_obj_num, in mcp251xfd_ring_alloc()499 rx_ring->obj_num = rx_obj_num; in mcp251xfd_ring_alloc()
634 u8 rx_obj_num; member