Skip to contentSkip to conversation

Questions on use of multiple NIC interfaces

DISCUSSION Sujith Sankar (ssujith) 2 participants 3 messages Mar 28, 2014 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi all,

Could someone answer the following questions about the usage of multiple NIC interfaces with DPDK?

1.  If my server has two identical Intel NICs, could I use both with DPDK and its applications?
2.  If both the NIC cards could be used with DPDK, could I use them with separate instances of applications?  E.g., NIC1 used by App1 and NIC2 used by App2.
3.  If answer to qn no 2 is yes, does the driver take care to avoid reinitialising NIC1 when App2 tries to initialise NIC2?  From what I’ve seen, DPDK calls the driver init for all the matching devices (vendor id and device id).

Thanks,
-Sujith

#2 lore raw
In reply to a message not in the archive

1. Yes.
2. Yes. Look at programmer's guide section 16 Multi-process support.
3. You can use blacklist eal option.

Regards,
Vladimir

2014-03-28 13:25 GMT+04:00 Sujith Sankar (ssujith) <[email protected]>:

Quoted 18 lines

Hi all,

Could someone answer the following questions about the usage of multiple NIC interfaces with DPDK?

1. If my server has two identical Intel NICs, could I use both with DPDK and its applications?
2. If both the NIC cards could be used with DPDK, could I use them with separate instances of applications? E.g., NIC1 used by App1 and NIC2 used by App2.
3. If answer to qn no 2 is yes, does the driver take care to avoid reinitialising NIC1 when App2 tries to initialise NIC2? From what I've seen, DPDK calls the driver init for all the matching devices (vendor id and device id).

Thanks,
-Sujith

#4 lore raw
In reply to a message not in the archive

Thank you Vladimir !

-Sujith

From: Vladimir Medvedkin <[email protected]<mailto:[email protected]>>
Date: Friday, 28 March 2014 3:13 pm
To: "Sujith Sankar (ssujith)" <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: Re: [dpdk-dev] Questions on use of multiple NIC interfaces

1. Yes.
2. Yes. Look at programmer's guide section 16 Multi-process support.
3. You can use blacklist eal option.

Regards,
Vladimir

2014-03-28 13:25 GMT+04:00 Sujith Sankar (ssujith) <[email protected]<mailto:[email protected]>>:
Hi all,

Could someone answer the following questions about the usage of multiple NIC interfaces with DPDK?

1.  If my server has two identical Intel NICs, could I use both with DPDK and its applications?
2.  If both the NIC cards could be used with DPDK, could I use them with separate instances of applications?  E.g., NIC1 used by App1 and NIC2 used by App2.
3.  If answer to qn no 2 is yes, does the driver take care to avoid reinitialising NIC1 when App2 tries to initialise NIC2?  From what I’ve seen, DPDK calls the driver init for all the matching devices (vendor id and device id).

Thanks,
-Sujith