[dpdk-dev] [RFC] vhost user: add error handling for fd > 1023

2016-03-18 Thread Patrik Andersson
r with a value > 1023. Such an attempt will lead to an abort() and a restart of any vswitch using DPDK. A discussion topic exist in the ovs-discuss mailing list that can provide a little more background: http://openvswitch.org/pipermail/discuss/2016-February/020243.html Signed-off-by: Patrik

Re: [dpdk-dev] [PATCH v2] virtio_net: kick guest even when virtio queue is full

2017-12-18 Thread Patrik Andersson R
. Regards, Patrik Från: Maxime Coquelin Skickat: den 8 december 2017 17:11 Till: Ágota Benyhe; dev@dpdk.org Kopia: Patrik Andersson R; Yuanhan Liu; Jianfeng Tan Ämne: Re: [dpdk-dev] [PATCH v2] virtio_net: kick guest even when virtio queue is full   Hi Agota, Patrick, On 12/05/2017 12:30 PM

[dpdk-dev] vhost: no protection against malformed queue descriptors in rte_vhost_dequeue_burst()

2016-03-16 Thread Patrik Andersson R
Hello, When taking a snapshot of a running VM instance, using OpenStack "nova image-create", I noticed that one OVS pmd-thread eventually failed in DPDK rte_vhost_dequeue_burst() with repeating log entries: compute-0-6 ovs-vswitchd[38172]: VHOST_DATA: Failed to allocate memory for mbuf. De

[dpdk-dev] vhost: no protection against malformed queue descriptors in rte_vhost_dequeue_burst()

2016-03-17 Thread Patrik Andersson R
, Xie, Huawei wrote: > On 3/16/2016 8:53 PM, Patrik Andersson R wrote: >> Hello, >> >> When taking a snapshot of a running VM instance, using OpenStack >> "nova image-create", I noticed that one OVS pmd-thread eventually >> failed in DPDK rte_vhost

[dpdk-dev] [RFC] vhost user: add error handling for fd > 1023

2016-04-05 Thread Patrik Andersson R
o venture an opinion. On 03/30/2016 11:05 AM, Xie, Huawei wrote: > On 3/18/2016 5:15 PM, Patrik Andersson wrote: >> Protect against DPDK crash when allocation of listen fd >= 1023. >> For events on fd:s >1023, the current implementation will trigger >> an ab

[dpdk-dev] [RFC] vhost user: add error handling for fd > 1023

2016-04-11 Thread Patrik Andersson R
I fully agree with this course of action. Thank you, Patrik On 04/08/2016 08:47 AM, Xie, Huawei wrote: > On 4/7/2016 10:52 PM, Christian Ehrhardt wrote: >> I totally agree to that there is no deterministic rule what to expect. >> The only rule is that #fd certainly always is > #vhost_user devic

[dpdk-dev] [RFC] vhost user: add error handling for fd > 1023

2016-04-11 Thread Patrik Andersson R
istenfd); > free(vserver); >return -1; > } > > > Christian Ehrhardt > Software Engineer, Ubuntu Server > Canonical Ltd > > On Mon, Apr 11, 2016 at 8:06 AM, Patrik Andersson R > <mailto:patrik.r.andersson at ericsson.com>> wrote: >

[dpdk-dev] Vhost user: Increase robustness by kicking guest at ring full

2016-08-25 Thread Patrik Andersson R
Hi, during trouble shooting sessions (OVS 2.4.1, DPDK 2.2.0) it was noticed that some guests trigger the SET_VRING_CALL message rather frequently. This can be all from a few times per minute up to 10 times per second. From DPDK log: ... 2016-08-01T19:58:39.829222+09:00 compute-0-6 ovs-vswitchd[1