vmxnet3: Report the Device Serial Number capability
commit3509866ab36972043d6757a03c48097c7b5ae22b
authorShmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Thu, 24 Dec 2015 07:17:41 +0000 (24 09:17 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 11 Jan 2016 03:01:35 +0000 (11 11:01 +0800)
tree7441cb1f3ba911eafa4fd28e33d02c1143f23fb4
parentf713d4d2f1b9babc88cbae8802b93f2cc2eabf0c
vmxnet3: Report the Device Serial Number capability

Report the DSN extended PCI capability at 0x100.
DSN value is a transformation of device MAC address, as calculated
by VMware virtual hardware.

DSN is reported only if device is pcie.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/vmxnet3.c