RE: [PATCH v4] net/iavf: add lock for vf commands

2023-01-16 Thread Zhang, Qi Z
> -Original Message- > From: Mike Pattrick > Sent: Thursday, December 29, 2022 7:00 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; tho...@monjalon.net; > david.march...@redhat.com; Zhou, YidingX ; > ktray...@redhat.com; Mike Pattrick ; sta...@dpdk.org > Subject:

Re: [PATCH v4] net/iavf: add lock for vf commands

2023-01-13 Thread David Marchand
Hi iavf maintainers, On Thu, Dec 29, 2022 at 12:00 AM Mike Pattrick wrote: > > iavf admin queue commands aren't thread-safe. Bugs surrounding this > issue can manifest in a variety of ways but frequently pend_cmd is > over written. Simultaneously executing commands can result in a > misconfigured

[PATCH v4] net/iavf: add lock for vf commands

2022-12-28 Thread Mike Pattrick
iavf admin queue commands aren't thread-safe. Bugs surrounding this issue can manifest in a variety of ways but frequently pend_cmd is over written. Simultaneously executing commands can result in a misconfigured device or DPDK sleeping in a thread for 2 second. Despite this limitation, vf command