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]>

