Skip to content

virtio-net: synchronize operstate with admin state on up/down

Jason Wang lkml netdev virtualization 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 16 repliesIn review
  2. v2 posting 1/21 patch 9 repliesSuperseded
  3. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- Try to reuse the virtio core facility to enable and disable the configure interrupt

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio: allow nested disabling of the configure interruptdrivers/virtio/virtio.c include/linux/virtio.h+14 -87 replies
2/3virtio: export virtio_config_{enable|disable}()drivers/virtio/virtio.c include/linux/virtio.h+7 -20 replies
3/3virtio-net: synchronize operstate with admin state on up/downdrivers/net/virtio_net.c+42 -309 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/3] virtio-net: synchronize operstate with admin state on up/down

Hi All:

Currently, we don't synchronize the opersteate with the admin state currently when prevent the link status to be propagated to the stacked device on top of the virtio-net.

This patch fixes this issue.

Changes since V1:
- Try to reuse the virtio core facility to enable and disable the configure interrupt

Jason Wang (3):
virtio: allow nested disabling of the configure interrupt
virtio: export virtio_config_{enable|disable}()
virtio-net: synchronize operstate with admin state on up/down

 drivers/net/virtio_net.c | 72 +++++++++++++++++++++++-----------------
 drivers/virtio/virtio.c  | 26 ++++++++++-----
 include/linux/virtio.h   |  5 ++-
 3 files changed, 63 insertions(+), 40 deletions(-)
Signature · 1 line
2.31.1