Skip to contentSkip to conversation

"ifconfig" commands/status using the dpdk:igb_uio driver

DISCUSSION Navneet Rao 2 participants 3 messages Aug 3, 2015 – Aug 4, 2015

lore
Share & tools
lore
#0 lore raw

Hello:

How can I configure my NIC setting(s) when loaded with the dpdk:igb_uio driver?

E.g I need to keep the MAC address and the IP address of the NIC the "same as before" after switching to a dpdk:igb_uio driver for the NIC.

Is there a equiv of "ifconfig" utility in dpdk?

How do I address the NIC? I can only view the status using the dpdk_nic_bind.py!!!

Thanks

-Navneet

#1 lore raw

Hello Experts:

How can I configure my NIC setting(s) when loaded with the dpdk:igb_uio driver?
E.g I need to keep the MAC address and the IP address of the NIC the "same as before" after switching to a dpdk:igb_uio driver for the NIC.

Is there a equiv of "ifconfig" utility in dpdk?
How do I address the NIC? I can only view the status using the dpdk_nic_bind.py!!!

Thanks
-Navneet

#2 lore raw
Quoted 5 lines · Navneet Rao

Hello Experts:

How can I configure my NIC setting(s) when loaded with the dpdk:igb_uio driver?
E.g I need to keep the MAC address and the IP address of the NIC the "same as before" after switching to a dpdk:igb_uio driver for the NIC.

When you bind to igb_uio the NIC is "disconnected" from the kernel. Therefore ifconfig won't work. DPDK applications can configure the PHY and other parameters via DPDK APIs:

http://dpdk.org/doc/api/

and act as IP endpoints.

Marc

Quoted 14 lines

Is there a equiv of "ifconfig" utility in dpdk?
How do I address the NIC? I can only view the status using the dpdk_nic_bind.py!!!

Thanks
-Navneet