DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users]  How to receive packets from non-DPDK requests?
@ 2018-11-14 17:35 Sungho Hong
  2018-11-14 18:53 ` Wiles, Keith
  0 siblings, 1 reply; 6+ messages in thread
From: Sungho Hong @ 2018-11-14 17:35 UTC (permalink / raw)
  To: users

Hello DPDK users,

I am trying to receive the packets from non-DPDK requests,
Currently, I am trying to send ARP requests, but it seems that DPDK
application only understands the packets that are sent by DPDK.

Is there some configuration that needs to be done in order to receive
non-DPDK requests?

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

* Re: [dpdk-users] How to receive packets from non-DPDK requests?
  2018-11-14 17:35 [dpdk-users] How to receive packets from non-DPDK requests? Sungho Hong
@ 2018-11-14 18:53 ` Wiles, Keith
  2018-11-14 19:05   ` Sungho Hong
  0 siblings, 1 reply; 6+ messages in thread
From: Wiles, Keith @ 2018-11-14 18:53 UTC (permalink / raw)
  To: Sungho Hong; +Cc: users



> On Nov 14, 2018, at 11:35 AM, Sungho Hong <maverickjin88@gmail.com> wrote:
> 
> Hello DPDK users,
> 
> I am trying to receive the packets from non-DPDK requests,
> Currently, I am trying to send ARP requests, but it seems that DPDK
> application only understands the packets that are sent by DPDK.
> 
> Is there some configuration that needs to be done in order to receive
> non-DPDK requests?

Not sure what you are asking here, but DPDK does not have a ARP or network stack of any kind. There are a few network stacks for DPDK just google it.

If you want to detect ARP packets then you need to look at the L2 header and then you would need to write the ARP protocol handling code.

HTH

Regards,
Keith

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

* Re: [dpdk-users] How to receive packets from non-DPDK requests?
  2018-11-14 18:53 ` Wiles, Keith
@ 2018-11-14 19:05   ` Sungho Hong
  2018-11-14 19:09     ` Wiles, Keith
  0 siblings, 1 reply; 6+ messages in thread
From: Sungho Hong @ 2018-11-14 19:05 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: users

Thanks for the reply, but excluding  the ARP,
Is it possible to receive POSIX TCP or UDP packets using DPDK-application?

Because DPDK application for me right now, only recognizes the packets sent
from DPDK only. But by the sound of it, and based on your reply

DPDK can receive packets from non-DPDK correct (POSIX, UDP, TCP)?
How can we receive any packets at all from non-DPDK?

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

* Re: [dpdk-users] How to receive packets from non-DPDK requests?
  2018-11-14 19:05   ` Sungho Hong
@ 2018-11-14 19:09     ` Wiles, Keith
  2018-11-14 19:11       ` Wiles, Keith
  0 siblings, 1 reply; 6+ messages in thread
From: Wiles, Keith @ 2018-11-14 19:09 UTC (permalink / raw)
  To: Sungho Hong; +Cc: users



> On Nov 14, 2018, at 1:05 PM, Sungho Hong <maverickjin88@gmail.com> wrote:
> 
> Thanks for the reply, but excluding  the ARP, 
> Is it possible to receive POSIX TCP or UDP packets using DPDK-application? 
> 
> Because DPDK application for me right now, only recognizes the packets sent from DPDK only. But by the sound of it, and based on your reply 
> 
> DPDK can receive packets from non-DPDK correct (POSIX, UDP, TCP)? 
> How can we receive any packets at all from non-DPDK? 

DPDK is just a high speed packet I/O system on top of normal NICs in most cases.

DPDK can receive any packet that is on the wire if you enable promiscuous mode for that port. If you do not have promiscuous mode enabled then the destination MAC address in the L3 header must match the NIC’s MAC address.
> 
> 

Regards,
Keith


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

* Re: [dpdk-users] How to receive packets from non-DPDK requests?
  2018-11-14 19:09     ` Wiles, Keith
@ 2018-11-14 19:11       ` Wiles, Keith
  2018-11-14 19:14         ` Sungho Hong
  0 siblings, 1 reply; 6+ messages in thread
From: Wiles, Keith @ 2018-11-14 19:11 UTC (permalink / raw)
  To: Sungho Hong; +Cc: users



> On Nov 14, 2018, at 1:09 PM, Wiles, Keith <keith.wiles@intel.com> wrote:
> 
> 
> 
>> On Nov 14, 2018, at 1:05 PM, Sungho Hong <maverickjin88@gmail.com> wrote:
>> 
>> Thanks for the reply, but excluding  the ARP, 
>> Is it possible to receive POSIX TCP or UDP packets using DPDK-application? 
>> 
>> Because DPDK application for me right now, only recognizes the packets sent from DPDK only. But by the sound of it, and based on your reply 
>> 
>> DPDK can receive packets from non-DPDK correct (POSIX, UDP, TCP)? 
>> How can we receive any packets at all from non-DPDK? 
> 
> DPDK is just a high speed packet I/O system on top of normal NICs in most cases.
> 
> DPDK can receive any packet that is on the wire if you enable promiscuous mode for that port. If you do not have promiscuous mode enabled then the destination MAC address in the L3 header must match the NIC’s MAC address.

Mistype L2 header.
>> 
>> 
> 
> Regards,
> Keith
> 

Regards,
Keith


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

* Re: [dpdk-users] How to receive packets from non-DPDK requests?
  2018-11-14 19:11       ` Wiles, Keith
@ 2018-11-14 19:14         ` Sungho Hong
  0 siblings, 0 replies; 6+ messages in thread
From: Sungho Hong @ 2018-11-14 19:14 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: users

Thank you!

On Wed, Nov 14, 2018 at 12:11 PM Wiles, Keith <keith.wiles@intel.com> wrote:

>
>
> > On Nov 14, 2018, at 1:09 PM, Wiles, Keith <keith.wiles@intel.com> wrote:
> >
> >
> >
> >> On Nov 14, 2018, at 1:05 PM, Sungho Hong <maverickjin88@gmail.com>
> wrote:
> >>
> >> Thanks for the reply, but excluding  the ARP,
> >> Is it possible to receive POSIX TCP or UDP packets using
> DPDK-application?
> >>
> >> Because DPDK application for me right now, only recognizes the packets
> sent from DPDK only. But by the sound of it, and based on your reply
> >>
> >> DPDK can receive packets from non-DPDK correct (POSIX, UDP, TCP)?
> >> How can we receive any packets at all from non-DPDK?
> >
> > DPDK is just a high speed packet I/O system on top of normal NICs in
> most cases.
> >
> > DPDK can receive any packet that is on the wire if you enable
> promiscuous mode for that port. If you do not have promiscuous mode enabled
> then the destination MAC address in the L3 header must match the NIC’s MAC
> address.
>
> Mistype L2 header.
> >>
> >>
> >
> > Regards,
> > Keith
> >
>
> Regards,
> Keith
>
>

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

end of thread, other threads:[~2018-11-14 19:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 17:35 [dpdk-users] How to receive packets from non-DPDK requests? Sungho Hong
2018-11-14 18:53 ` Wiles, Keith
2018-11-14 19:05   ` Sungho Hong
2018-11-14 19:09     ` Wiles, Keith
2018-11-14 19:11       ` Wiles, Keith
2018-11-14 19:14         ` Sungho Hong

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).