net/vmxnet3: fix a missing vmxnet3 register command
Subsystems (2)
Ronak Doshi
maintainerPATCH 1/1 net/vmxnet3: fix a missing vmxnet3 register command
Vmxnet3 uses capability registers to advertize 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.
This patch fixes this issue by adding a reserved
command in its place.
Fixes 5241d61bd865 ("net/vmxnet3: support capability registers")
Signed-off-by Ronak Doshi <[email protected]>
--- drivers/net/vmxnet3/base/vmxnet3_defs.h | 1 + 1 file changed, 1 insertion(+)
drivers/net/vmxnet3/base/vmxnet3_defs.h +1 -0
@@ -126,6 +126,7 @@ typedef enum {VMXNET3_CMD_RESERVED7 ,VMXNET3_CMD_RESERVED8 ,VMXNET3_CMD_GET_MAX_QUEUES_CONF , +VMXNET3_CMD_RESERVED11 ,VMXNET3_CMD_GET_MAX_CAPABILITIES ,VMXNET3_CMD_GET_DCR0_REG , } Vmxnet3_Cmd;
Signature · 1 line
2.11.0