netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] mlx4: Misc bug fixes after reinitializing queues
@ 2017-02-01  6:35 Martin KaFai Lau
  2017-02-01  6:35 ` [PATCH net v2 1/2] mlx4: Fix memory leak after mlx4_en_update_priv() Martin KaFai Lau
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Martin KaFai Lau @ 2017-02-01  6:35 UTC (permalink / raw)
  To: netdev; +Cc: Saeed Mahameed, Tariq Toukan, Kernel Team

This patchset fixes misc bugs after reinitializing
queues (e.g. by ethtool -L).

v2:
* Add another fix to mem leak in tx_ring[t] and tx_cq[t]
* In mlx4_en_try_alloc_resources(),
  move all xdp_prog logic after calling mlx4_en_alloc_resources()

Martin KaFai Lau (2):
  mlx4: Fix memory leak after mlx4_en_update_priv()
  mlx4: xdp_prog becomes inactive after mlx4_en_try_alloc_resources()

 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c |  4 +--
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c  | 35 ++++++++++++++++++-------
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h    |  3 ++-
 3 files changed, 29 insertions(+), 13 deletions(-)

-- 
2.5.1

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

end of thread, other threads:[~2017-02-03  2:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-01  6:35 [PATCH net v2 0/2] mlx4: Misc bug fixes after reinitializing queues Martin KaFai Lau
2017-02-01  6:35 ` [PATCH net v2 1/2] mlx4: Fix memory leak after mlx4_en_update_priv() Martin KaFai Lau
2017-02-02 17:10   ` Tariq Toukan
2017-02-01  6:35 ` [PATCH net v2 2/2] mlx4: xdp_prog becomes inactive after ethtool '-L' or '-G' Martin KaFai Lau
2017-02-02 17:13   ` Tariq Toukan
2017-02-03  2:27 ` [PATCH net v2 0/2] mlx4: Misc bug fixes after reinitializing queues 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).