Linux PCI Non-Transparent Bridge framework and drivers
 help / color / mirror / Atom feed
* [PATCH 0/2] NTB: Stash private data in transport client device
@ 2018-10-12 20:20 Aaron Sierra
  2018-10-12 20:20 ` [PATCH 1/2] NTB: transport: Support client device private data Aaron Sierra
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Aaron Sierra @ 2018-10-12 20:20 UTC (permalink / raw)
  To: linux-ntb; +Cc: Jon Mason, Dave Jiang, Allen Hubbe, David S. Miller

Support NTB transport client device drivers stashing a reference to
their private device representation within the transport client device
for trivial lookup.

Use the new stashing mechanism to simplify ntb_netdev device probe
and remove. This optimization will also benefit any out-of-tree
drivers that care to use it.

Aaron Sierra (2):
  NTB: transport: Support client device private data
  ntb_netdev: Simplify remove with client private data

 drivers/net/ntb_netdev.c      | 28 +++-------------------------
 drivers/ntb/ntb_transport.c   | 19 +++++++++++++++++++
 include/linux/ntb_transport.h |  2 ++
 3 files changed, 24 insertions(+), 25 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2018-10-15 20:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-12 20:20 [PATCH 0/2] NTB: Stash private data in transport client device Aaron Sierra
2018-10-12 20:20 ` [PATCH 1/2] NTB: transport: Support client device private data Aaron Sierra
2018-10-12 20:20 ` [PATCH 2/2] ntb_netdev: Simplify remove with client " Aaron Sierra
2018-10-15 14:59 ` [PATCH 0/2] NTB: Stash private data in transport client device Allen Hubbe
2018-10-15 16:27   ` Aaron Sierra
2018-10-15 16:50     ` Aaron Sierra
2018-10-15 17:55     ` Logan Gunthorpe
2018-10-15 20:32 ` [PATCH] ntb_netdev: Simplify remove with client device drvdata Aaron Sierra
2018-10-15 20:42   ` Logan Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox