RE: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

2022-03-02 Thread Xia, Chenbo
> -Original Message- > From: Zhang, Yuying > Sent: Wednesday, March 2, 2022 4:59 PM > To: David Marchand > Cc: dev ; Maxime Coquelin ; Xia, > Chenbo ; dpdk stable ; > step...@networkplumber.org > Subject: RE: [PATCH v1] net/vhost: clear data of packet mbuf afte

RE: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

2022-03-02 Thread Zhang, Yuying
Hi Marchand, > -Original Message- > From: David Marchand > Sent: Tuesday, March 1, 2022 5:48 PM > To: Zhang, Yuying > Cc: dev ; Maxime Coquelin ; > Xia, Chenbo ; dpdk stable > Subject: Re: [PATCH v1] net/vhost: clear data of packet mbuf after sending > pkts >

Re: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

2022-03-01 Thread Stephen Hemminger
t; Cc: dev ; Maxime Coquelin ; > > > Xia, Chenbo ; dpdk stable > > > Subject: Re: [PATCH v1] net/vhost: clear data of packet mbuf after > > > sending pkts > > > > > > On Tue, Mar 1, 2022 at 8:29 AM Yuying Zhang > > > wrote: > > > &g

Re: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

2022-03-01 Thread David Marchand
On Tue, Mar 1, 2022 at 10:02 AM Zhang, Yuying wrote: > > -Original Message- > > From: David Marchand > > Sent: Tuesday, March 1, 2022 4:44 PM > > To: Zhang, Yuying > > Cc: dev ; Maxime Coquelin ; > > Xia, Chenbo ; dpdk stable > > Subject: Re:

RE: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

2022-03-01 Thread Zhang, Yuying
Hi Marchand, > -Original Message- > From: David Marchand > Sent: Tuesday, March 1, 2022 4:44 PM > To: Zhang, Yuying > Cc: dev ; Maxime Coquelin ; > Xia, Chenbo ; dpdk stable > Subject: Re: [PATCH v1] net/vhost: clear data of packet mbuf after sending > pkts >

Re: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

2022-03-01 Thread David Marchand
On Tue, Mar 1, 2022 at 8:29 AM Yuying Zhang wrote: > > The PMD frees a packet mbuf back into its original mempool > after sending a packet. However, old data is not cleaned up > which causes error in payload of new packets. This patch clear > data of packet mbuf before freeing mbuf. This patch lo

RE: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

2022-03-01 Thread Ling, WeiX
> -Original Message- > From: Yuying Zhang > Sent: Tuesday, March 1, 2022 3:28 PM > To: dev@dpdk.org; maxime.coque...@redhat.com; Xia, Chenbo > > Cc: Zhang, Yuying ; sta...@dpdk.org > Subject: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts > > The PMD frees a packet mb