[dpdk-dev] Must kni be associated with a dpdk port?

Ferruh Yigit ferruh.yigit at intel.com
Thu Mar 31 11:55:33 CEST 2016


On 3/30/2016 6:20 PM, ALeX Wang wrote:
> Hi,
> 
> I want to use 'rte_kni_alloc()' to create a kernel iface and
> use it to test application rx.  From the api and example in
> 'examples/kni/main.c', i saw the 'conf' argument is assigned
> with pci info of a dpdk port.
> 
> Want to ask if this is compulsory...  Must kni always be
> used together with a dpdk port?
> 
> Thanks,
> 

Hi Alex,

You don't have to associate kni with dpdk port.

pci info is required for ethtool support, if you are only interested in
data transfer, you don't have to provide pci information.

Regards,
ferruh


More information about the dev mailing list