DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How to test DPDK port in VM workstation player
@ 2021-03-02 12:21 Vijayakumar Athithan
  2021-03-02 17:14 ` Dmitry Kozlyuk
  0 siblings, 1 reply; 4+ messages in thread
From: Vijayakumar Athithan @ 2021-03-02 12:21 UTC (permalink / raw)
  To: users, Vijayakumar Athithan

Hi,

I have been exploring DPDK 19.xx for a firewall use case demo. Over the
last few weeks I was able to understand how to run testpmd, dpdk-pdump,
basicfwd. I was able to build DPDK, compile examples and bind the DPDK
drivers to NIC interfaces as well using dpdk-setup.sh.

I struggle to test DPDK applications as my laptop NIC is not supported by
DPDK. Then I used a VMware workstation player where host OS is Windows10
and guest OS is Ubuntu 16.xx. In VM I get e1000 (  Intel Corporation 82540EM)
as ethernet controller.

I get I/O error when I try to run DPDK applications as there is known
limitation on using  Intel Corporation 82540EM based on one of the
references.
Is there way to change e1000-82540EM into other supported NIC in vm player ?

I also read about TAP interface. Not sure how to use it.

I  have done binding NIC with DPDK drivers. But I lack DPDK supported
physical NIC.

I would like to test sample DPDK applications but not sure to bring right
NIC.

Would be great if someone provides guidance so that I can run sample
application ip-pipeline and modify later for firewall.

Thanks,
B. Vijayakumar Athithan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] How to test DPDK port in VM workstation player
  2021-03-02 12:21 [dpdk-users] How to test DPDK port in VM workstation player Vijayakumar Athithan
@ 2021-03-02 17:14 ` Dmitry Kozlyuk
  2021-03-03  5:07   ` Vijayakumar Athithan
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Kozlyuk @ 2021-03-02 17:14 UTC (permalink / raw)
  To: Vijayakumar Athithan; +Cc: users

2021-03-02 17:51, Vijayakumar Athithan:
> Hi,
> 
> I have been exploring DPDK 19.xx for a firewall use case demo. Over the
> last few weeks I was able to understand how to run testpmd, dpdk-pdump,
> basicfwd. I was able to build DPDK, compile examples and bind the DPDK
> drivers to NIC interfaces as well using dpdk-setup.sh.
> 
> I struggle to test DPDK applications as my laptop NIC is not supported by
> DPDK. Then I used a VMware workstation player where host OS is Windows10
> and guest OS is Ubuntu 16.xx. In VM I get e1000 (  Intel Corporation 82540EM)
> as ethernet controller.
> 
> I get I/O error when I try to run DPDK applications as there is known
> limitation on using  Intel Corporation 82540EM based on one of the
> references.
> Is there way to change e1000-82540EM into other supported NIC in vm player ?

Hi Vijayakumar,

You're looking for vmxnet3, VMWare-native paravirtualized device.
There's a vmxnet3 PMD in DPDK.
Adapter type should be configurable in VM properties.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] How to test DPDK port in VM workstation player
  2021-03-02 17:14 ` Dmitry Kozlyuk
@ 2021-03-03  5:07   ` Vijayakumar Athithan
  2021-03-18 15:34     ` Vijayakumar Athithan
  0 siblings, 1 reply; 4+ messages in thread
From: Vijayakumar Athithan @ 2021-03-03  5:07 UTC (permalink / raw)
  To: Dmitry Kozlyuk; +Cc: users

On Tue, Mar 2, 2021 at 10:44 PM Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
wrote:

> 2021-03-02 17:51, Vijayakumar Athithan:
> > Hi,
> >
> > I have been exploring DPDK 19.xx for a firewall use case demo. Over the
> > last few weeks I was able to understand how to run testpmd, dpdk-pdump,
> > basicfwd. I was able to build DPDK, compile examples and bind the DPDK
> > drivers to NIC interfaces as well using dpdk-setup.sh.
> >
> > I struggle to test DPDK applications as my laptop NIC is not supported by
> > DPDK. Then I used a VMware workstation player where host OS is Windows10
> > and guest OS is Ubuntu 16.xx. In VM I get e1000 (  Intel Corporation
> 82540EM)
> > as ethernet controller.
> >
> > I get I/O error when I try to run DPDK applications as there is known
> > limitation on using  Intel Corporation 82540EM based on one of the
> > references.
> > Is there way to change e1000-82540EM into other supported NIC in vm
> player ?
>
> Hi Vijayakumar,
>
> You're looking for vmxnet3, VMWare-native paravirtualized device.
> There's a vmxnet3 PMD in DPDK.
> Adapter type should be configurable in VM properties.
>
>
Hi  Dmitry,

Thanks for your inputs. Let me try with your inputs and get back to you.

Thanks,
B.Vijayakumar Athithan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] How to test DPDK port in VM workstation player
  2021-03-03  5:07   ` Vijayakumar Athithan
@ 2021-03-18 15:34     ` Vijayakumar Athithan
  0 siblings, 0 replies; 4+ messages in thread
From: Vijayakumar Athithan @ 2021-03-18 15:34 UTC (permalink / raw)
  To: Dmitry Kozlyuk; +Cc: users

On Wed, Mar 3, 2021 at 10:37 AM Vijayakumar Athithan <
athithanvijay@gmail.com> wrote:

> On Tue, Mar 2, 2021 at 10:44 PM Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
> wrote:
>
>> 2021-03-02 17:51, Vijayakumar Athithan:
>> > Hi,
>> >
>> > I have been exploring DPDK 19.xx for a firewall use case demo. Over the
>> > last few weeks I was able to understand how to run testpmd, dpdk-pdump,
>> > basicfwd. I was able to build DPDK, compile examples and bind the DPDK
>> > drivers to NIC interfaces as well using dpdk-setup.sh.
>> >
>> > I struggle to test DPDK applications as my laptop NIC is not supported
>> by
>> > DPDK. Then I used a VMware workstation player where host OS is Windows10
>> > and guest OS is Ubuntu 16.xx. In VM I get e1000 (  Intel Corporation
>> 82540EM)
>> > as ethernet controller.
>> >
>> > I get I/O error when I try to run DPDK applications as there is known
>> > limitation on using  Intel Corporation 82540EM based on one of the
>> > references.
>> > Is there way to change e1000-82540EM into other supported NIC in vm
>> player ?
>>
>> Hi Vijayakumar,
>>
>> You're looking for vmxnet3, VMWare-native paravirtualized device.
>> There's a vmxnet3 PMD in DPDK.
>> Adapter type should be configurable in VM properties.
>>
>>
> Hi  Dmitry,
>
> Thanks for your inputs. Let me try with your inputs and get back to you.
>
> Thanks,
> B.Vijayakumar Athithan
>

I tried the Ubuntu 18.x version with DPDK 19.xx. e1000 is working there.
Not sure what I missed earlier. Thanks for inputs.

Thanks,
B.Vijayakumar Athithan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-18 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02 12:21 [dpdk-users] How to test DPDK port in VM workstation player Vijayakumar Athithan
2021-03-02 17:14 ` Dmitry Kozlyuk
2021-03-03  5:07   ` Vijayakumar Athithan
2021-03-18 15:34     ` Vijayakumar Athithan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).