[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200903154609.363e8c00@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 3 Sep 2020 15:46:09 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Saeed Mahameed <saeedm@...dia.com>
Cc: "David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>,
Maxim Mikityanskiy <maximmi@...lanox.com>,
"Tariq Toukan" <tariqt@...lanox.com>
Subject: Re: [net-next 06/10] net/mlx5e: Support multiple SKBs in a TX WQE
On Thu, 3 Sep 2020 14:00:18 -0700 Saeed Mahameed wrote:
> +static inline void mlx5e_tx_wi_consume_fifo_skbs(struct mlx5e_txqsq *sq,
> + struct mlx5e_tx_wqe_info *wi,
> + struct mlx5_cqe64 *cqe,
> + int napi_budget)
> +{
> + int i;
> +
> + for (i = 0; i < wi->num_fifo_pkts; i++) {
> + struct sk_buff *skb = mlx5e_skb_fifo_pop(sq);
> +
> + mlx5e_consume_skb(sq, skb, cqe, napi_budget);
> + }
> +}
The compiler was not inlining this one either?
Powered by blists - more mailing lists