> -----Original Message----- > From: Akihiko Odaki <[email protected]> > Sent: Thursday, 20 April 2023 07:46 > 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 04/41] igb: Fix Rx packet type encoding > > igb's advanced descriptor uses a packet type encoding different from one used > in e1000e's extended descriptor. Fix the logic to encode Rx packet type > accordingly. > > Fixes: 3a977deebe ("Intrdocue igb device emulation") > Signed-off-by: Akihiko Odaki <[email protected]> > --- > hw/net/igb_regs.h | 5 +++++ > hw/net/igb_core.c | 38 +++++++++++++++++++------------------- > 2 files changed, 24 insertions(+), 19 deletions(-) >
Reviewed-by: Sriram Yagnaraman <[email protected]>
