Questions on use of multiple NIC interfaces
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
A message that is not in the archive (sent off-list or not yet received): CF5B3DE5.15605%[email protected]
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
A message that is not in the archive (sent off-list or not yet received): CANDrEHkbYdFNeA4pg9JQt-sf-02UbSH4auvgCeChm=BFq26kEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
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