RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-20 Thread Ruifeng Wang
..@linux.vnet.ibm.com; > roret...@linux.microsoft.com; sta...@dpdk.org; maob...@loongson.cn; nd > ; > david.march...@redhat.com; Honnappa Nagarahalli > ; Tyler > Retzlaff ; konstantin.anan...@huawei.com; nd > > Subject: Re: [PATCH v3] net/ixgbe: add proper memory barriers for

Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-20 Thread Thomas Monjalon
13/06/2023 11:25, Ruifeng Wang: > From: Thomas Monjalon > > 12/06/2023 13:58, zhoumin: > > > On Mon, June 12, 2023 at 6:26PM, Thomas Monjalon wrote: > > > > 15/05/2023 04:10, Zhang, Qi Z: > > > >> From: Ruifeng Wang > > > >>> From: Min Zhou > > > --- > > > v3: > > > - Use rte_smp_

RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-14 Thread Konstantin Ananyev
;honnappa.nagarahalli ;Tyler Retzlaff ;Konstantin Ananyev Date:2023-06-13 04:43:12 Subject:Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions Hi Thomas, On Mon, June 12, 2023 at 8:44PM, Thomas Monjalon wrote: > 12/06/2023 13:58, zhoumin: >> On Mon, June 12,

Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-13 Thread zhoumin
Hi Jiawen, On Tues, June 13, 2023 at 11:30PM, Jiawen Wu wrote: On Tuesday, June 13, 2023 9:43 AM, zhoumin wrote: On Mon, June 12, 2023 at 8:44PM, Thomas Monjalon wrote: 12/06/2023 13:58, zhoumin: On Mon, June 12, 2023 at 6:26PM, Thomas Monjalon wrote: 15/05/2023 04:10, Zhang, Qi Z: From: Ru

RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-13 Thread Ruifeng Wang
..@linux.vnet.ibm.com; > roret...@linux.microsoft.com; sta...@dpdk.org; maob...@loongson.cn; nd > ; > david.march...@redhat.com; Honnappa Nagarahalli > ; Tyler > Retzlaff ; konstantin.anan...@huawei.com > Subject: Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx > f

RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-12 Thread Jiawen Wu
On Tuesday, June 13, 2023 9:43 AM, zhoumin wrote: > On Mon, June 12, 2023 at 8:44PM, Thomas Monjalon wrote: > > 12/06/2023 13:58, zhoumin: > >> On Mon, June 12, 2023 at 6:26PM, Thomas Monjalon wrote: > >>> 15/05/2023 04:10, Zhang, Qi Z: > From: Ruifeng Wang > > From: Min Zhou > >> --

Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-12 Thread zhoumin
Hi Thomas, On Mon, June 12, 2023 at 8:44PM, Thomas Monjalon wrote: 12/06/2023 13:58, zhoumin: On Mon, June 12, 2023 at 6:26PM, Thomas Monjalon wrote: 15/05/2023 04:10, Zhang, Qi Z: From: Ruifeng Wang From: Min Zhou --- v3: - Use rte_smp_rmb() as the proper memory barrier instead of rte_rm

Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-12 Thread Thomas Monjalon
12/06/2023 13:58, zhoumin: > On Mon, June 12, 2023 at 6:26PM, Thomas Monjalon wrote: > > 15/05/2023 04:10, Zhang, Qi Z: > >> From: Ruifeng Wang > >>> From: Min Zhou > --- > v3: > - Use rte_smp_rmb() as the proper memory barrier instead of rte_rmb() > --- > v2: > - Ma

Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-12 Thread zhoumin
Hi Thomas, On Mon, June 12, 2023 at 6:26PM, Thomas Monjalon wrote: 15/05/2023 04:10, Zhang, Qi Z: From: Ruifeng Wang From: Min Zhou Segmentation fault has been observed while running the ixgbe_recv_pkts_lro() function to receive packets on the Loongson 3C5000 processor which has 64 cores an

Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-06-12 Thread Thomas Monjalon
15/05/2023 04:10, Zhang, Qi Z: > From: Ruifeng Wang > > From: Min Zhou > > > > > > Segmentation fault has been observed while running the > > > ixgbe_recv_pkts_lro() function to receive packets on the Loongson > > > 3C5000 processor which has 64 cores and 4 NUMA nodes. > > > > > > From the ixgbe_

RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-05-14 Thread Zhang, Qi Z
; dev@dpdk.org; > sta...@dpdk.org; maob...@loongson.cn; nd > Subject: RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx > functions > > > -Original Message- > > From: Min Zhou > > Sent: Saturday, May 6, 2023 6:24 PM > > To: qi.z.zh...@int

RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-05-07 Thread Ruifeng Wang
vnet.ibm.com; > roret...@linux.microsoft.com; dev@dpdk.org; sta...@dpdk.org; > maob...@loongson.cn > Subject: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx > functions > > Segmentation fault has been observed while running the > ixgbe_recv_pkts_lro() function

[PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-05-06 Thread Min Zhou
Segmentation fault has been observed while running the ixgbe_recv_pkts_lro() function to receive packets on the Loongson 3C5000 processor which has 64 cores and 4 NUMA nodes. >From the ixgbe_recv_pkts_lro() function, we found that as long as the first packet has the EOP bit set, and the length of