[dts] Adding support for a new NIC on DTS

Liu, Yong yong.liu at intel.com
Sun Sep 6 02:48:14 CEST 2015

Hi Eric,
Can you show your settings in execution.cfg? By default NIC port type is "cfg" which mean DTS will only load ports which defined in conf/ports.cfg.

Here is one sample for port configuration file. Setting "pci" mean the pci address of DUT port, "peer" mean the opposite test port pci address.
[root at dpdk-test38 dts]# cat conf/ports.cfg

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Eric Kadison
> Sent: Thursday, September 03, 2015 6:36 AM
> To: dts at dpdk.org
> Subject: [dts] Adding support for a new NIC on DTS
> Hi everyone,
> I'm trying to add support for a new NIC to DTS.  It is clear that the
> driver needs to be identified in the settings.py file (by adding to the
> NICS dict the device name (as the key) and PCI ID (as the value), and then
> adding the kernel driver name (as value) to the same key in the DRIVERS
> dict).  Did I miss anything?
> After entering my DUT host computer information in crbs.py, and setting up
> execution.cfg, I expected some basic tests to run.  The hello_world test
> ran successfully, but it does not bind my ports to the igb_uio driver.  So
> no test that tries to run I/O runs.  In fact, it looks like the code in
> the project_dpdk.py file in set_target tries to bind the NIC to the kernel
> driver.  Can anyone point me at a solution?
> Test configuration use DTS from the master branch and DPDK 2.0.
> Eric Kadison

More information about the dts mailing list