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

2022-12-25 Thread Zhang, Qi Z
> -Original Message- > From: Mike Pattrick > Sent: Tuesday, December 20, 2022 11:54 PM > 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:

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

2022-12-20 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