vmxnet3: use correct intrConf reference when using extended queues
authorRonak Doshi <doshir@vmware.com>
Wed, 30 Nov 2022 08:21:47 +0000 (00:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Dec 2022 10:37:24 +0000 (11:37 +0100)
commit6c88c764e0c426d11b07a5b2606527ccaca3ca02
tree846cace1e523bbf63a2e4cace088e98dcaad82a0
parent5ad0d85757f8673acc4c0cda8a052e26f735c1b7
vmxnet3: use correct intrConf reference when using extended queues

[ Upstream commit 409e8ec8c5825591895937b8499b54aa2476fae7 ]

Commit 39f9895a00f4 ("vmxnet3: add support for 32 Tx/Rx queues")
added support for 32Tx/Rx queues. As a part of this patch, intrConf
structure was extended to incorporate increased queues.

This patch fixes the issue where incorrect reference is being used.

Fixes: 39f9895a00f4 ("vmxnet3: add support for 32 Tx/Rx queues")
Signed-off-by: Ronak Doshi <doshir@vmware.com>
Acked-by: Guolin Yang <gyang@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/vmxnet3/vmxnet3_drv.c