On 10/29/18 6:28 AM, Tiwei Bie wrote:
We need to check the status field in virtio net config structure
instead of the bits read from ISR register to know whether we need
to do guest announce.

Fixes: 7365504f77e3 ("net/virtio: support guest announce")
Cc: [email protected]

Signed-off-by: Tiwei Bie <[email protected]>
---
  drivers/net/virtio/virtio_ethdev.c | 16 +++++++++++-----
  1 file changed, 11 insertions(+), 5 deletions(-)

Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to