mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
e1000e: Fix spurious RX TCP ACK interrupts
Do not raise ACK interrupts when RFCTL.ACKDIS bit is set (see spec. 10.2.5.16). Signed-off-by: Dmitry Fleytman <dmitry@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
8b54c6e187
commit
4100c026b6
1 changed files with 2 additions and 1 deletions
|
@ -1710,7 +1710,8 @@ e1000e_receive_iov(E1000ECore *core, const struct iovec *iov, int iovcnt)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Perform ACK receive detection */
|
/* Perform ACK receive detection */
|
||||||
if (e1000e_is_tcp_ack(core, core->rx_pkt)) {
|
if (!(core->mac[RFCTL] & E1000_RFCTL_ACK_DIS) &&
|
||||||
|
(e1000e_is_tcp_ack(core, core->rx_pkt))) {
|
||||||
n |= E1000_ICS_ACK;
|
n |= E1000_ICS_ACK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue