DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev]  is ixgbe supporting multi-segment mbuf?
@ 2016-03-28 20:24 Clarylin L
  2016-03-29  1:10 ` Lu, Wenzhuo
  0 siblings, 1 reply; 5+ messages in thread
From: Clarylin L @ 2016-03-28 20:24 UTC (permalink / raw)
  To: dev

ixgbe_recv_scattered_pkts was set to be the rx function. Receiving packets
smaller than mbuf size works perfectly. However, if an incoming packet is
greater than the maximum acceptable length of one “mbuf” data size,
receiving does not work. In this case, isn't it supposed to use
mbuf chaining to receive?

The port has both jumbo_frame and enable_scatter being on. are these two
flags good enough to make mbuf chaining going?

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

* Re: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
  2016-03-28 20:24 [dpdk-dev] is ixgbe supporting multi-segment mbuf? Clarylin L
@ 2016-03-29  1:10 ` Lu, Wenzhuo
  2016-03-29  1:37   ` Clearasu
  0 siblings, 1 reply; 5+ messages in thread
From: Lu, Wenzhuo @ 2016-03-29  1:10 UTC (permalink / raw)
  To: Clarylin L, dev


Hi  Clarylin,


> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Clarylin L
> Sent: Tuesday, March 29, 2016 4:24 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
> 
> ixgbe_recv_scattered_pkts was set to be the rx function. Receiving packets
I see this function is already deprecated. Do you use an old version? Would you like to try the newest code?

> smaller than mbuf size works perfectly. However, if an incoming packet is
> greater than the maximum acceptable length of one “mbuf” data size, receiving
> does not work. In this case, isn't it supposed to use mbuf chaining to receive?
> 
> The port has both jumbo_frame and enable_scatter being on. are these two
> flags good enough to make mbuf chaining going?

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

* Re: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
  2016-03-29  1:10 ` Lu, Wenzhuo
@ 2016-03-29  1:37   ` Clearasu
  2016-03-29  2:38     ` Lu, Wenzhuo
  2016-03-29  9:49     ` Ananyev, Konstantin
  0 siblings, 2 replies; 5+ messages in thread
From: Clearasu @ 2016-03-29  1:37 UTC (permalink / raw)
  To: Lu, Wenzhuo; +Cc: dev

Hi Wenzhuo,

Thanks. For some reason, we have to stick to dpdk 2.0 for now. Is multi-segment mbuf supported in this version (any known issue with multi-seg in this version?) or do we have to upgrade to latest dpdk version for multi-segment support? 

Clarylin

> On Mar 28, 2016, at 6:10 PM, Lu, Wenzhuo <wenzhuo.lu@intel.com> wrote:
> 
> 
> Hi  Clarylin,
> 
> 
>> -----Original Message-----
>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Clarylin L
>> Sent: Tuesday, March 29, 2016 4:24 AM
>> To: dev@dpdk.org
>> Subject: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
>> 
>> ixgbe_recv_scattered_pkts was set to be the rx function. Receiving packets
> I see this function is already deprecated. Do you use an old version? Would you like to try the newest code?
> 
>> smaller than mbuf size works perfectly. However, if an incoming packet is
>> greater than the maximum acceptable length of one “mbuf” data size, receiving
>> does not work. In this case, isn't it supposed to use mbuf chaining to receive?
>> 
>> The port has both jumbo_frame and enable_scatter being on. are these two
>> flags good enough to make mbuf chaining going?

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

* Re: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
  2016-03-29  1:37   ` Clearasu
@ 2016-03-29  2:38     ` Lu, Wenzhuo
  2016-03-29  9:49     ` Ananyev, Konstantin
  1 sibling, 0 replies; 5+ messages in thread
From: Lu, Wenzhuo @ 2016-03-29  2:38 UTC (permalink / raw)
  To: Clearasu; +Cc: dev

Hi Clarylin,


> -----Original Message-----
> From: Clearasu [mailto:clearasu@gmail.com]
> Sent: Tuesday, March 29, 2016 9:38 AM
> To: Lu, Wenzhuo
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
> 
> Hi Wenzhuo,
> 
> Thanks. For some reason, we have to stick to dpdk 2.0 for now. Is multi-segment
> mbuf supported in this version (any known issue with multi-seg in this version?)
> or do we have to upgrade to latest dpdk version for multi-segment support?
Yes, I suggest to try at least 2.1.  It should help.
And to my opinion, the newer the better. As you know there'll be more functions and less bugs :)

> 
> Clarylin
> 
> > On Mar 28, 2016, at 6:10 PM, Lu, Wenzhuo <wenzhuo.lu@intel.com> wrote:
> >
> >
> > Hi  Clarylin,
> >
> >
> >> -----Original Message-----
> >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Clarylin L
> >> Sent: Tuesday, March 29, 2016 4:24 AM
> >> To: dev@dpdk.org
> >> Subject: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
> >>
> >> ixgbe_recv_scattered_pkts was set to be the rx function. Receiving
> >> packets
> > I see this function is already deprecated. Do you use an old version? Would
> you like to try the newest code?
> >
> >> smaller than mbuf size works perfectly. However, if an incoming
> >> packet is greater than the maximum acceptable length of one "mbuf"
> >> data size, receiving does not work. In this case, isn't it supposed to use mbuf
> chaining to receive?
> >>
> >> The port has both jumbo_frame and enable_scatter being on. are these
> >> two flags good enough to make mbuf chaining going?

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

* Re: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
  2016-03-29  1:37   ` Clearasu
  2016-03-29  2:38     ` Lu, Wenzhuo
@ 2016-03-29  9:49     ` Ananyev, Konstantin
  1 sibling, 0 replies; 5+ messages in thread
From: Ananyev, Konstantin @ 2016-03-29  9:49 UTC (permalink / raw)
  To: Clearasu, Lu, Wenzhuo; +Cc: dev

Hi,
yep, it should be supported in dpdk 2.0.
Did you setup rxmode.max_rx_pkt_len inside your rte_eth_conf?
You need to setup both max_rx_pkt_len and jumbo_frame.
You can have a look how dpdk examples doing it.
Konstantin


> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Clearasu
> Sent: Tuesday, March 29, 2016 2:38 AM
> To: Lu, Wenzhuo
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
> 
> Hi Wenzhuo,
> 
> Thanks. For some reason, we have to stick to dpdk 2.0 for now. Is multi-segment mbuf supported in this version (any known issue
> with multi-seg in this version?) or do we have to upgrade to latest dpdk version for multi-segment support?
> 
> Clarylin
> 
> > On Mar 28, 2016, at 6:10 PM, Lu, Wenzhuo <wenzhuo.lu@intel.com> wrote:
> >
> >
> > Hi  Clarylin,
> >
> >
> >> -----Original Message-----
> >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Clarylin L
> >> Sent: Tuesday, March 29, 2016 4:24 AM
> >> To: dev@dpdk.org
> >> Subject: [dpdk-dev] is ixgbe supporting multi-segment mbuf?
> >>
> >> ixgbe_recv_scattered_pkts was set to be the rx function. Receiving packets
> > I see this function is already deprecated. Do you use an old version? Would you like to try the newest code?
> >
> >> smaller than mbuf size works perfectly. However, if an incoming packet is
> >> greater than the maximum acceptable length of one "mbuf" data size, receiving
> >> does not work. In this case, isn't it supposed to use mbuf chaining to receive?
> >>
> >> The port has both jumbo_frame and enable_scatter being on. are these two
> >> flags good enough to make mbuf chaining going?

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

end of thread, other threads:[~2016-03-29  9:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-28 20:24 [dpdk-dev] is ixgbe supporting multi-segment mbuf? Clarylin L
2016-03-29  1:10 ` Lu, Wenzhuo
2016-03-29  1:37   ` Clearasu
2016-03-29  2:38     ` Lu, Wenzhuo
2016-03-29  9:49     ` Ananyev, Konstantin

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