linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Open-coded get_netdev implementation in MANA IB
@ 2024-06-17 11:56 Leon Romanovsky
  2024-06-17 12:11 ` Konstantin Taranov
  0 siblings, 1 reply; 5+ messages in thread
From: Leon Romanovsky @ 2024-06-17 11:56 UTC (permalink / raw)
  To: Konstantin Taranov; +Cc: RDMA mailing list

Hi,

I looked again on the patch 3b73eb3a4acd ("RDMA/mana_ib: Introduce mana_ib_get_netdev helper function")
and wonder if it is correct thing to do.

All new drivers shouldn't open-code get_netdev() and use the helpers ib_device_get_netdev() and
ib_device_set_netdev() instead of storing netdev in the driver.

Can you please convert MANA IB driver to proper API usage?

Thanks

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

end of thread, other threads:[~2024-06-21 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 11:56 Open-coded get_netdev implementation in MANA IB Leon Romanovsky
2024-06-17 12:11 ` Konstantin Taranov
2024-06-17 12:38   ` Leon Romanovsky
2024-06-19 14:14     ` Konstantin Taranov
2024-06-21 18:10       ` Leon Romanovsky

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).