[dpdk-dev] 答复: Port-ids and NIC features

安宏奎 anhk_ at 126.com
Thu Aug 15 03:51:00 CEST 2013


For the question one, maybe you can detect it before binding to igb_uio


-----邮件原件-----
发件人: dev-bounces at dpdk.org [mailto:dev-bounces at dpdk.org] 代表 Marc Sune
发送时间: 2013年8月14日 16:57
收件人: dev at dpdk.org
主题: [dpdk-dev] Port-ids and NIC features

Dear all,

Two quick questions:

1) Is there a way to get the features available in the NIC? In particular, I
cannot see a way to retrieve the *maximum speed* of the card and I need to
determine whether is a FE, GE or 10GE card.

2) For a certain number of NICs installed in the system and bound to the
IGB_UIO driver, is it safe to assume that the association phyisical port <->
port_id will always be the same? Even after reboot, and regardless of the
order that are bound to the IGB_UIO driver (e.g. using pci_unbind.py)?

Best
marc




More information about the dev mailing list