DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] kernel binding of devices + hotplug
@ 2018-04-13 16:31 Thomas Monjalon
  2018-04-13 16:40 ` Bruce Richardson
  2018-04-15  1:48 ` Stephen Hemminger
  0 siblings, 2 replies; 26+ messages in thread
From: Thomas Monjalon @ 2018-04-13 16:31 UTC (permalink / raw)
  To: dev
  Cc: bruce.richardson, anatoly.burakov, pmatilai, david.marchand,
	jia.guo, matan, konstantin.ananyev, stephen, fbl

It's time to think (again) how we bind devices with kernel modules.
We need to decide how we want to manage hotplugged devices with DPDK.

A bit of history first.
There was some code in DPDK for bind/unbind, but it has been removed
in DPDK 1.7 - http://dpdk.org/commit/5d8751b83
Copy of the commit message (in 2014):
"
	The bind/unbind operations should not be handled by the eal.
	These operations should be either done outside of dpdk or
	inside the PMDs themselves as these are their problems.
"

The question raised at this time (4 years ago) is still under discussion.
Should we manage binding inside or outside DPDK?
Should it be controlled in the application or in the OS base?

As you know, we use dpdk-devbind.py.
This tool lacks two major features:
	- persistent configuration
	- hotplug

If we consider that the DPDK applications should be able to apply its own
policy to choose the devices to bind, then we need to implement binding
in the PMD (with EAL helpers).

On the other hand, if we consider that it is the system responsibility,
then we could choose systemd/udev and driverctl.

The debate is launched!

Please find more details in the references below.

Announce of driverctl:
	http://dpdk.org/ml/archives/dev/2015-December/029500.html
Repository of driverctl:
	https://gitlab.com/driverctl/driverctl

Discussion about binding script and driverctl:
	http://dpdk.org/ml/archives/dev/2018-April/095687.html

Patch to implement binding in DPDK (for hotplug):
	http://dpdk.org/ml/archives/dev/2018-April/095714.html

Discussion in the same hotplug series:
	http://dpdk.org/ml/archives/dev/2018-April/097058.html

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

end of thread, other threads:[~2018-04-22 11:26 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-13 16:31 [dpdk-dev] kernel binding of devices + hotplug Thomas Monjalon
2018-04-13 16:40 ` Bruce Richardson
2018-04-13 17:40   ` Burakov, Anatoly
2018-04-14 20:10     ` Matan Azrad
2018-04-16  8:31       ` Bruce Richardson
2018-04-16 16:11         ` Matan Azrad
2018-04-16 16:57           ` Stephen Hemminger
2018-04-16 17:10             ` Matan Azrad
2018-04-16 17:18               ` Stephen Hemminger
2018-04-16 17:32                 ` Matan Azrad
2018-04-16 17:50             ` Thomas Monjalon
2018-04-17  9:23           ` Ananyev, Konstantin
2018-04-17 10:42             ` Matan Azrad
2018-04-17 11:00               ` Ananyev, Konstantin
2018-04-22 11:26                 ` Matan Azrad
2018-04-16  9:26       ` Guo, Jia
2018-04-16 16:11         ` Matan Azrad
2018-04-15  5:01   ` Wiles, Keith
2018-04-15  1:48 ` Stephen Hemminger
2018-04-18 14:11   ` Flavio Leitner
2018-04-18 18:17     ` Stephen Hemminger
2018-04-18 18:54       ` Flavio Leitner
2018-04-19  6:04         ` Alejandro Lucero
2018-04-19  8:24           ` Thomas Monjalon
2018-04-19  8:40             ` Bruce Richardson
2018-04-19  9:47               ` Thomas Monjalon

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