On Wed, 12 Jun 2019 15:57:09 +0000, Maxim Mikityanskiy wrote:
> @@ -390,6 +391,12 @@ void mlx5e_ethtool_get_channels(struct mlx5e_priv *priv,
> {
> ch->max_combined = mlx5e_get_netdev_max_channels(priv->netdev);
> ch->combined_count = priv->channels.params.num_channels;
> +
> + /* XSK RQs */
> + ch->max_rx = ch->max_combined;
> + /* rx_count shows the number of XSK RQs up to the highest active one. */
> + ch->rx_count =
> mlx5e_xsk_first_unused_channel(&priv->channels.params,
> + &priv->xsk);
> }
Ah, Maciej pointed out to me this is why you want the patch 7 to do
what it does. This count is for stack's queues.
Nacked-by: Jakub Kicinski <[email protected]>