On Fri, Mar 06, 2026 at 10:58:21AM +0000, Anatoly Burakov wrote: > Currently, there is a certain amount of duplication and unnecessary > branching in the virtchnl message handling function which makes it > difficult to read and reason about. > > Refactor the function to achieve the following: > > - clean and explicit distinction between synchronous and asynchronous ops > - common looping and error handling logic > - fewer and clearer special cases > > Signed-off-by: Anatoly Burakov <[email protected]> > --- > drivers/net/intel/iavf/iavf_vchnl.c | 151 +++++++++++++--------------- > 1 file changed, 70 insertions(+), 81 deletions(-) > Acked-by: Bruce Richardson <[email protected]>
- Re: [PATCH v2 1/1] net/iavf: remove global adminq re... Burakov, Anatoly
- Re: [PATCH v2 1/1] net/iavf: remove global adminq re... Bruce Richardson
- Re: [PATCH v2 1/1] net/iavf: remove global admin... Bruce Richardson
- [PATCH v3 0/8] Reduce reliance on global response buffer ... Anatoly Burakov
- [PATCH v3 1/8] net/iavf: avoid passing around pointe... Anatoly Burakov
- [PATCH v3 2/8] net/iavf: add a variable for hena Anatoly Burakov
- Re: [PATCH v3 2/8] net/iavf: add a variable for ... Bruce Richardson
- [PATCH v3 3/8] net/iavf: add virtchnl interrupt enab... Anatoly Burakov
- Re: [PATCH v3 3/8] net/iavf: add virtchnl interr... Bruce Richardson
- [PATCH v3 5/8] net/iavf: refactor sending virtchnl m... Anatoly Burakov
- Re: [PATCH v3 5/8] net/iavf: refactor sending vi... Bruce Richardson
- [PATCH v3 4/8] net/iavf: rework "async" vi... Anatoly Burakov
- Re: [PATCH v3 4/8] net/iavf: rework "async&... Bruce Richardson
- [PATCH v3 6/8] net/iavf: respect output buffer in vi... Anatoly Burakov
- Re: [PATCH v3 6/8] net/iavf: respect output buff... Bruce Richardson
- [PATCH v3 7/8] net/iavf: do not use global virtchnl ... Anatoly Burakov
- Re: [PATCH v3 7/8] net/iavf: do not use global v... Bruce Richardson
- [PATCH v3 8/8] net/iavf: embed virtchnl response buf... Anatoly Burakov
- Re: [PATCH v3 8/8] net/iavf: embed virtchnl resp... Bruce Richardson
- Re: [PATCH v3 0/8] Reduce reliance on global respons... Bruce Richardson

