Laswell; Wiles, Keith; dev at dpdk.org; Assaad, Sami (Sami)
> > Subject: Re: [dpdk-dev] DPDK Port Mirroring
>
> > On Fri, Jul 10, 2015 at 01:46:21PM +, Sanford, Robert wrote:
> > > Silly questions: Why use rte_pktmbuf_clone()? Assuming that one is not
> &
On Fri, Jul 10, 2015 at 01:46:21PM +, Sanford, Robert wrote:
> Silly questions: Why use rte_pktmbuf_clone()? Assuming that one is not
> going to modify the mbuf at all, why not just increment the reference
> count with rte_mbuf_refcnt_update()?
>
Yep, that should work fine too.
/Bruce
> --
>
ardson [mailto:bruce.richardson at intel.com]
> Sent: Friday, July 10, 2015 9:48 AM
> To: Sanford, Robert
> Cc: Matt Laswell; Wiles, Keith; dev at dpdk.org; Assaad, Sami (Sami)
> Subject: Re: [dpdk-dev] DPDK Port Mirroring
> On Fri, Jul 10, 2015 at 01:46:21PM +, Sanford, Robert wrote:
>
Silly questions: Why use rte_pktmbuf_clone()? Assuming that one is not
going to modify the mbuf at all, why not just increment the reference
count with rte_mbuf_refcnt_update()?
--
Thanks,
Robert
>Keith speaks truth. If I were going to do what you're describing, I would
>do the following:
>
Big Thanks!
Sami.
From: Matt Laswell [mailto:lasw...@infiniteio.com]
Sent: Thursday, July 09, 2015 4:28 PM
To: Wiles, Keith
Cc: Assaad, Sami (Sami); dev at dpdk.org; Richardson, Bruce
Subject: Re: [dpdk-dev] DPDK Port Mirroring
Keith speaks truth. If I were going to do what you're describing
On 7/9/15, 12:26 PM, "dev on behalf of Assaad, Sami (Sami)"
wrote:
>Hello,
>
>I want to build a DPDK app that is able to port-mirror all ingress
>traffic from two 10G interfaces.
>
>1. Is it possible in port-mirroring traffic consisting of 450byte
>packets at 20G without losing more than
Hello,
I want to build a DPDK app that is able to port-mirror all ingress traffic from
two 10G interfaces.
1. Is it possible in port-mirroring traffic consisting of 450byte packets
at 20G without losing more than 5% of traffic?
2. Would you have any performance results due to
Keith speaks truth. If I were going to do what you're describing, I would
do the following:
1. Start with the l2fwd example application.
2. Remove the part where it modifies the ethernet MAC address of received
packets.
3. Add a call in to clone mbufs via rte_pktmbuf_clone() and send the cloned
8 matches
Mail list logo