[dpdk-dev] [PATCH v1] add dpdk-quickstart python script
Burakov, Anatoly
anatoly.burakov at intel.com
Fri Aug 3 15:02:02 CEST 2018
On 03-Aug-18 12:41 PM, David Hunt wrote:
> This patch contains two section.
> 1. Updates to the existing quick-start.html page giving
> infomration on the new dpdk-quickstart.py script.
> 2. The dpdk-quickstart.py script itself.
>
> 1. The Quick start section contains some instructions for
> building DPDK and running TestPMD.
> While this is still useful, automating these steps
> through a script would provide a much faster and painless
> way to have DPDK up and running. The new dpdk-quickstart.py
> aims to address this.
>
> 2. This script performs the following:
> - Gets the latest DPDK release
> - Gets the necessary dependencies (if needed)
> - Builds DPDK with the default target
> - Sets up hugepages
> - Helps the user to select the ports to use on DPDK
> - Runs TestPMD, showing packet forwarding between two ports
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko at intel.com>
> Signed-off-by: David Hunt <david.hunt at intel.com>
> ---
Just a side note (and i'm being selfish here, because i want reviews!) -
usages like this is exactly what i had in mind when i created the Python
library RFC [1]. This has a lot of code duplication with the DPDK
devbind etc., which could've been avoided if the code has been more modular.
[1] http://patches.dpdk.org/project/dpdk/list/?series=225&state=*
--
Thanks,
Anatoly
More information about the dev
mailing list