> -----Original Message----- > From: Akihiko Odaki <[email protected]> > Sent: Thursday, 20 April 2023 07:47 > Cc: Sriram Yagnaraman <[email protected]>; Jason Wang > <[email protected]>; Dmitry Fleytman <[email protected]>; > Michael S . Tsirkin <[email protected]>; Alex Bennée > <[email protected]>; Philippe Mathieu-Daudé <[email protected]>; > Thomas Huth <[email protected]>; Wainer dos Santos Moschetta > <[email protected]>; Beraldo Leal <[email protected]>; Cleber Rosa > <[email protected]>; Laurent Vivier <[email protected]>; Paolo Bonzini > <[email protected]>; [email protected]; Tomasz Dzieciol > <[email protected]>; Akihiko Odaki > <[email protected]> > Subject: [PATCH v2 29/41] tests/qtest/libqos/igb: Set GPIE.Multiple_MSIX > > GPIE.Multiple_MSIX is not set by default, and needs to be set to get > interrupts > from multiple MSI-X vectors. > > Signed-off-by: Akihiko Odaki <[email protected]> > --- > tests/qtest/libqos/igb.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/qtest/libqos/igb.c b/tests/qtest/libqos/igb.c index > 12fb531bf0..a603468beb 100644 > --- a/tests/qtest/libqos/igb.c > +++ b/tests/qtest/libqos/igb.c > @@ -114,6 +114,7 @@ static void igb_pci_start_hw(QOSGraphObject *obj) > e1000e_macreg_write(&d->e1000e, E1000_RCTL, E1000_RCTL_EN); > > /* Enable all interrupts */ > + e1000e_macreg_write(&d->e1000e, E1000_GPIE, > E1000_GPIE_MSIX_MODE); > e1000e_macreg_write(&d->e1000e, E1000_IMS, 0xFFFFFFFF); > e1000e_macreg_write(&d->e1000e, E1000_EIMS, 0xFFFFFFFF); > > -- > 2.40.0
Reviewed-by: Sriram Yagnaraman <[email protected]>
