Re: [PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-12 Thread Stephen Hemminger
pdk.org > > Subject: Re: [PATCH v5] fix mbuf release function point corrupt in multi- > > process > > > > On Thu, 12 May 2022 05:57:19 + > > Ke Zhang wrote: > > > > > > > > -static const struct iavf_rxq_ops def_rxq_ops = { >

RE: [PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-12 Thread Zhang, Ke1X
> -Original Message- > From: Stephen Hemminger > Sent: Friday, May 13, 2022 1:27 AM > To: Zhang, Ke1X > Cc: Li, Xiaoyun ; Wu, Jingjing ; > Xing, Beilei ; dev@dpdk.org > Subject: Re: [PATCH v5] fix mbuf release function point corrupt in multi- > process > >

Re: [PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-12 Thread Stephen Hemminger
On Thu, 12 May 2022 05:57:19 + Ke Zhang wrote: > > -static const struct iavf_rxq_ops def_rxq_ops = { > - .release_mbufs = release_rxq_mbufs, > +static > +struct iavf_rxq_ops iavf_rxq_release_mbufs_ops[] = { > + [IAVF_REL_MBUFS_DEFAULT].release_mbufs = release_rxq_mbufs, > + [IAV

[PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-12 Thread Ke Zhang
In the multiple process environment, the subprocess operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_

[PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-11 Thread Ke Zhang
In the multiple process environment, the subprocess operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_

[PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-11 Thread Ke Zhang
In the multiple process environment, the subprocess operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_