[dpdk-dev] [RFC PATCH 0/2] Move PMDs out of lib directory

Thomas Monjalon thomas.monjalon at 6wind.com
Mon May 11 11:47:17 CEST 2015


2015-05-07 16:35, Bruce Richardson:
> The "lib" directory is getting very crowded, with both general libs and 
> poll mode drivers in it. This patch set proposes to move the PMDs out of the
> lib folder and to put them in a separate "pmds" folder. This should help
> with code browse-ability as the number of libs, and pmds increases.
> 
> Comments or objections?

When someone is looking for a driver implementation and check what is done in
DPDK, it will be easier to open a directory named "drivers" rather than "pmds".
I agree that they are not really libs as they are used as plugins. So they
deserve a separate directory at the top level.
Moreover, I suspect that the dataplane managed by DPDK can be extended to
crypto and storage devices in the near future.

So, I would suggest
	drivers/net
	drivers/crypto
	drivers/storage
This kind of split could help to clearly define the responsibilities of some
new git subtrees.

Don't you think we could also remove the librte_pmd_ prefix for these new
directories?
Ultimately, I'd like to see the subdirectories for e1000, ixgbe and i40e renamed
to base/.


More information about the dev mailing list