Messages in this thread |  | | Date | Sun, 4 Dec 2022 13:20:49 +0200 | From | Leon Romanovsky <> | Subject | Re: [PATCH net v4] igbvf: Regard vf reset nack as success |
| |
On Thu, Dec 01, 2022 at 07:20:03PM +0900, Akihiko Odaki wrote: > vf reset nack actually represents the reset operation itself is > performed but no address is assigned. Therefore, e1000_reset_hw_vf > should fill the "perm_addr" with the zero address and return success on > such an occasion. This prevents its callers in netdev.c from saying PF > still resetting, and instead allows them to correctly report that no > address is assigned. > > Fixes: 6ddbc4cf1f4d ("igb: Indicate failure on vf reset for empty mac address") > Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> > --- > V3 -> V4: Removed blank lines between cases > V2 -> V3: Added Fixes: tag > > drivers/net/ethernet/intel/igbvf/vf.c | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) >
Thanks, Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
|  |