[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-23 Thread Jiajia, SunX
ntinuation of TX testing setup. Prepare 3 packet streams and > each stream has 100 packets. > > Respectively, send these streams from portA, portB and portC. Verify > only the primary slave port0 will > > receive 100 packets, and port3 will transmit 100 packets. > > > > >

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-20 Thread Thomas Monjalon
> > From: Pawel Wodkowski > > > > When bulk alloc is enabled at compile time but preconditions for > > it are not met at runtime the ixgbe_reset_rx_queue() function > > overrides rxq->sw_ring not allocated elements. > > > > Fixes: 01fa1d6 ("ixgbe: unify Rx setup") Thanks for using the Fixes: ta

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-20 Thread Thomas Monjalon
port3 will receive > all packets---no missed packets and no error packets. Port 1-2 transmitting > packets will be represented as > packet1 and packet2 respectively and their average packets will be > represented as mean. Then verify port1 and > port2 will meet the situation: &g

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-20 Thread Jiajia, SunX
portB and portC. Verify port0, port1 and port2 will receive nothing. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pawel Wodkowski > Sent: Friday, March 20, 2015 12:09 AM > To: dev at dpdk.org > Cc: Wodkowski, PawelX > Subject: [dpdk-dev] [PATCH] i

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-19 Thread Ananyev, Konstantin
> -Original Message- > From: Wodkowski, PawelX > Sent: Thursday, March 19, 2015 4:09 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Ananyev, Konstantin; Mcnamara, John; Zhang, Helin; > Wodkowski, PawelX > Subject: [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-19 Thread Pawel Wodkowski
From: Pawel Wodkowski When bulk alloc is enabled at compile time but preconditions for it are not met at runtime the ixgbe_reset_rx_queue() function overrides rxq->sw_ring not allocated elements. Fixes: 01fa1d6 ("ixgbe: unify Rx setup") Signed-off-by: Pawel Wodkowski --- lib/librte_pmd_ixgbe/i

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-19 Thread De Lara Guarch, Pablo
> -Original Message- > From: Wodkowski, PawelX > Sent: Thursday, March 19, 2015 4:09 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Ananyev, Konstantin; Mcnamara, John; Zhang, > Helin; Wodkowski, PawelX > Subject: [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup >