[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150622.063554.1081040359354241131.davem@davemloft.net>
Date: Mon, 22 Jun 2015 06:35:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: achiad.mellanox@...il.com
Cc: ogerlitz@...lanox.com, netdev@...r.kernel.org, amirv@...lanox.com,
talal@...lanox.com, saeedm@...lanox.com
Subject: Re: [PATCH net-next 05/12] net/mlx5e: Poll rx cq before tx cq to
improve round-trip latency
From: achiad shochat <achiad.mellanox@...il.com>
Date: Mon, 22 Jun 2015 00:35:37 +0300
> Hello Dave,
>
> In mlx5 the RX processing is broken down into two stages:
> 1) Hand to kernel SKBs of completed RX packets - @mlx5e_poll_rx_cq()
> 2) Allocate and post to HW new RX buffers - @mlx5e_post_rx_wqes()
>
> Would handling of TX completions in between stages (1) and (2) be OK?
I would do all of TX processing first and synchronously. It's very
cheap and makes lots of resources available for RX processing.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
Powered by blists - more mailing lists