netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] mlx4_en XDP TX improvements
@ 2017-10-11 10:17 Tariq Toukan
  2017-10-11 10:17 ` [PATCH net-next 1/3] net/mlx4_en: Replace netdev parameter with priv in XDP xmit function Tariq Toukan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tariq Toukan @ 2017-10-11 10:17 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Eran Ben Elisha, kernel-team, Tariq Toukan

Hi Dave,

This patchset contains performance improvements
to the XDP_TX use case in the mlx4 Eth driver.

Patch 1 is a simple change in a function parameter type.
Patch 2 replaces a call to a generic function with the
  relevant parts inlined.
Patch 3 moves the write of descriptors' constant values
  from data path to control path.

Series generated against net-next commit:
833e0e2f24fd net: dst: move cpu inside ifdef to avoid compilation warning

Thanks,
Tariq.


Tariq Toukan (3):
  net/mlx4_en: Replace netdev parameter with priv in XDP xmit function
  net/mlx4_en: Obsolete call to generic write_desc in XDP xmit flow
  net/mlx4_en: XDP_TX, assign constant values of TX descs on ring
    creaion

 drivers/net/ethernet/mellanox/mlx4/en_netdev.c |  1 +
 drivers/net/ethernet/mellanox/mlx4/en_rx.c     |  2 +-
 drivers/net/ethernet/mellanox/mlx4/en_tx.c     | 46 +++++++++++++++++---------
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h   |  4 ++-
 4 files changed, 36 insertions(+), 17 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-12  3:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11 10:17 [PATCH net-next 0/3] mlx4_en XDP TX improvements Tariq Toukan
2017-10-11 10:17 ` [PATCH net-next 1/3] net/mlx4_en: Replace netdev parameter with priv in XDP xmit function Tariq Toukan
2017-10-11 10:17 ` [PATCH net-next 2/3] net/mlx4_en: Obsolete call to generic write_desc in XDP xmit flow Tariq Toukan
2017-10-11 10:17 ` [PATCH net-next 3/3] net/mlx4_en: XDP_TX, assign constant values of TX descs on ring creaion Tariq Toukan
2017-10-12  3:21 ` [PATCH net-next 0/3] mlx4_en XDP TX improvements David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).