Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/vmxnet3: fix missing register command
vmxnet3 uses capability registers to advertise the supported capabilities of UPT device. It uses DCR0_REG command register for this purpose. However, the register command enum misses one command which technically is not used by dpdk vmxnet3 driver yet. This can cause issue for commands added later. For example, DCR0_REG and MAX_CAPABILITIES register commands when issued will lead to incorrect command being executed in the hypervisor. The return values can be unexpected and can result in some capabilities being disabled and affect vnics requesting Uniform Passthroguh (UPT) mode. This patch fixes this issue by adding a reserved command in its place. Fixes: 5241d61 ("net/vmxnet3: support capability registers") Cc: stable@dpdk.org Signed-off-by: Ronak Doshi <ronak.doshi@broadcom.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
- Loading branch information