diff options
author | Sriram Yagnaraman <sriram.yagnaraman@est.tech> | 2023-03-24 16:34:56 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2023-03-28 13:10:55 +0800 |
commit | 1c1e649761a20e92053cbec81c2947ca82258ef7 (patch) | |
tree | 7935e69b2a7081bb3ebee7c2dddd8c0aa29d2a84 /hw/net/igb_core.c | |
parent | 2e68546a4318228e7dd73f73b471a00f31e64064 (diff) |
igb: add ICR_RXDW
IGB uses RXDW ICR bit to indicate that rx descriptor has been written
back. This is the same as RXT0 bit in older HW.
Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/igb_core.c')
-rw-r--r-- | hw/net/igb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/igb_core.c b/hw/net/igb_core.c index 6ba9696637..9ab90e8576 100644 --- a/hw/net/igb_core.c +++ b/hw/net/igb_core.c @@ -1583,7 +1583,7 @@ igb_receive_internal(IGBCore *core, const struct iovec *iov, int iovcnt, continue; } - n |= E1000_ICR_RXT0; + n |= E1000_ICR_RXDW; igb_rx_fix_l4_csum(core, core->rx_pkt); igb_write_packet_to_guest(core, core->rx_pkt, &rxr, &rss_info); |