Hi Dmitry,
2015-12-22 1:19 GMT+08:00 Dmitry Fleytman <
address@hidden>:
Hello Miao,
While patches look good technically, I cannot find any code snippets that prove correctness of these changes.
Linux driver does not read those registers currently,
not sure about Windows version.
How do you know this is the correct behaviour? Could you please extend commit messages with corresponding references?
This behavior can be observed by modifying linux driver to read those registers
at probe time (in vmxnet3_device_probe) and kernel log will have the following
message (running on esxi server, of source):
[ 198.427389] VMware vmxnet3 virtual NIC driver - version 1.2.0.0-k-NAPI
[ 198.428863] vmxnet3 0000:03:00.0: # of Tx queues : 1, # of Rx queues : 1
[ 198.559625] vmxnet3 DID lo: 0x7b0, high: 0x1, dev_info: 0x0
[ 198.561151] vmxnet3 0000:03:00.0: irq 72 for MSI/MSI-X
Here DID_LO is the pci device id, DID_HIGH is 0x1 and
GET_DEV_EXTRA_INFO returns 0.
putting above into commit message should be enough ?