summary refs log tree commit diff stats
path: root/hw/net/cadence_gem.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2023-10-23 17:45:07 +0200
committerJason Wang <jasowang@redhat.com>2023-11-13 15:33:37 +0800
commitd90014fc337ab77f37285b1a30fd4f545056be0a (patch)
tree4e157b53dfa73bbe25b9922e592dd7729789c73e /hw/net/cadence_gem.c
parentfe73674af1e80ad7375e627563042395a1a746b6 (diff)
downloadfocaccia-qemu-d90014fc337ab77f37285b1a30fd4f545056be0a.tar.gz
focaccia-qemu-d90014fc337ab77f37285b1a30fd4f545056be0a.zip
igb: Add Function Level Reset to PF and VF
The Intel 82576EB GbE Controller say that the Physical and Virtual
Functions support Function Level Reset. Add the capability to the PF
device model using device property "x-pcie-flr-init" which is "on" by
default and "off" for machines <= 8.1 to preserve compatibility.

The FLR capability of the VF model is defined according to the FLR
property of the PF, this to avoid adding an extra compatibility
property.

Cc: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Fixes: 3a977deebe6b ("Intrdocue igb device emulation")
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/cadence_gem.c')
0 files changed, 0 insertions, 0 deletions