Re: [dpdk-dev] [PATCH] net/vmxnet3: handle bad host framing

2020-05-14 Thread Ferruh Yigit
On 5/13/2020 11:24 PM, Yong Wang wrote: > -Original Message- > From: Stephen Hemminger > Date: Tuesday, May 12, 2020 at 1:40 PM > To: Yong Wang > Cc: "dev@dpdk.org" , Stephen Hemminger > > Subject: [PATCH] net/vmxnet3: handle bad host framing > > The VMXNet3 protocol has a start-of

Re: [dpdk-dev] [PATCH] net/vmxnet3: handle bad host framing

2020-05-13 Thread Yong Wang
-Original Message- From: Stephen Hemminger Date: Tuesday, May 12, 2020 at 1:40 PM To: Yong Wang Cc: "dev@dpdk.org" , Stephen Hemminger Subject: [PATCH] net/vmxnet3: handle bad host framing The VMXNet3 protocol has a start-of-packet (SOP) and end-of-packet (EOP) marker. If there

[dpdk-dev] [PATCH] net/vmxnet3: handle bad host framing

2020-05-12 Thread Stephen Hemminger
The VMXNet3 protocol has a start-of-packet (SOP) and end-of-packet (EOP) marker. If there was a bug where mbuf arrived without SOP the code that chains the mbuf would dereference a null pointer. Also, record any mbuf's dropped in statistics. Although did the initial code no longer have access to V