[dpdk-users] KNI interfaces at bonding ports

Alex Kiselev kiselev99 at gmail.com
Thu Jun 22 11:06:15 CEST 2017


Hello.

Is it possible to create a KNI interface at a bonding port?

My code that works perfectly fine with usual dpdk ports fails
when I try to use it with bonding ports.

  rte_eth_dev_info_get(port_id, &dev_info);
  conf.addr = dev_info.pci_dev->addr;
  ...
  return rte_kni_alloc(pktmbuf_pool, &conf, &ops);


The code fails because pci_dev member of variable dev_info is NULL.
Is there any workarounds for this problem?

Thanks.

--
Alexander Kiselev


More information about the users mailing list