[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-07 Thread Rahul Lakkireddy
On Monday, October 10/05/15, 2015 at 20:37:31 +0530, Rahul Lakkireddy wrote: > On Monday, October 10/05/15, 2015 at 07:09:27 -0700, Ananyev, Konstantin > wrote: > > Hi Rahul, > > [...] > > > > > > This additional check seems redundant for single segment > > > > > packets since rte_pktmbuf_free_s

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-05 Thread Rahul Lakkireddy
On Monday, October 10/05/15, 2015 at 07:09:27 -0700, Ananyev, Konstantin wrote: > Hi Rahul, [...] > > > > This additional check seems redundant for single segment > > > > packets since rte_pktmbuf_free_seg also performs rte_mbuf_sanity_check. > > > > > > > > Several PMDs already prefer to use rte

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-05 Thread Rahul Lakkireddy
Conole > > Cc: dev at dpdk.org; Felix Marti; Kumar A S; Nirranjan Kirubaharan > > Subject: Re: [dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance > > for 40G > > > > Hi Aaron, > > > > On Friday, October 10/02/15, 2015 at 14:48:28 -0700,

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-05 Thread Rahul Lakkireddy
Hi Aaron, On Friday, October 10/02/15, 2015 at 14:48:28 -0700, Aaron Conole wrote: > Hi Rahul, > > Rahul Lakkireddy writes: > > > Update sge initialization with respect to free-list manager configuration > > and ingress arbiter. Also update refill logic to refill mbufs only after > > a certain

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-05 Thread Ananyev, Konstantin
bounces at dpdk.org] On Behalf Of Rahul Lakkireddy > > > Sent: Monday, October 05, 2015 11:06 AM > > > To: Aaron Conole > > > Cc: dev at dpdk.org; Felix Marti; Kumar A S; Nirranjan Kirubaharan > > > Subject: Re: [dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding > &

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-05 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rahul Lakkireddy > Sent: Monday, October 05, 2015 11:06 AM > To: Aaron Conole > Cc: dev at dpdk.org; Felix Marti; Kumar A S; Nirranjan Kirubaharan > Subject: Re: [dpdk-dev] [PATCH 1/

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-02 Thread Aaron Conole
Hi Rahul, Rahul Lakkireddy writes: > Update sge initialization with respect to free-list manager configuration > and ingress arbiter. Also update refill logic to refill mbufs only after > a certain threshold for rx. Optimize tx packet prefetch and free. <> > for (i = 0; i

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-02 Thread Rahul Lakkireddy
Update sge initialization with respect to free-list manager configuration and ingress arbiter. Also update refill logic to refill mbufs only after a certain threshold for rx. Optimize tx packet prefetch and free. Approx. 4 MPPS improvement seen in forwarding performance after the optimization. S