[dpdk-dev] Clarification for - SoC specific driver based common sub component placing
hemant.agrawal at nxp.com
Fri Nov 18 13:44:16 CET 2016
We like to introduce NXP's DPAA (Data Path Acceleration Architecture Gen2) Poll mode drivers into the DPDK.
We need some clarification w.r.t the right placing of some dependent components, which can be common across drivers. E.g. We have hardware queue and buffer manager driver. This will be used by both network driver and crypto driver. But it is specific to NXP platform only.
What is the right place for such common hardware specific components in DPDK?
1. Add a new generic Soc library structure. e.g. librte_soc/nxp/. For each soc configuration only the required components will be compiled-in.
2. Create a drivers/soc/nxp/dpaa2 structure to keep common driver libs. And link the network and crypto drivers to it.
3. Add it to main network driver and make the crypto driver dependent on it.
More information about the dev