OSDN Git Service

igb: Add a VF reset handler
authorCédric Le Goater <clg@redhat.com>
Mon, 23 Oct 2023 15:45:06 +0000 (17:45 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 13 Nov 2023 07:33:37 +0000 (15:33 +0800)
commitfe73674af1e80ad7375e627563042395a1a746b6
tree990cef48cb12eb9cb63f047729a12f658600712a
parent69680740eafa1838527c90155a7432d51b8ff203
igb: Add a VF reset handler

Export the igb_vf_reset() helper routine from the PF model to let the
IGBVF model implement its own device reset.

Cc: Akihiko Odaki <akihiko.odaki@daynix.com>
Suggested-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/igb.c
hw/net/igb_common.h
hw/net/igb_core.c
hw/net/igb_core.h
hw/net/igbvf.c
hw/net/trace-events