[PATCH net-next v3 0/3] virtio-net: synchronize op/admin state

Jason Wang posted 3 patches 1 year, 5 months ago
There is a newer version of this series
drivers/net/virtio_net.c | 64 ++++++++++++++++++++++++----------------
drivers/virtio/virtio.c  | 59 ++++++++++++++++++++++++++++--------
include/linux/virtio.h   | 11 +++++--
3 files changed, 93 insertions(+), 41 deletions(-)
[PATCH net-next v3 0/3] virtio-net: synchronize op/admin state
Posted by Jason Wang 1 year, 5 months ago
Hi All:

This series tries to synchronize the operstate with the admin state
which allows the lower virtio-net to propagate the link status to the
upper devices like macvlan.

This is done by toggling carrier during ndo_open/stop.

Changes since V2:

- introduce config_driver_disabled and helpers
- schedule config change work unconditionally

Jason Wang (3):
  virtio: rename virtio_config_enabled to virtio_config_core_enabled
  virtio: allow driver to disable the configure change notification
  virtio-net: synchronize operstate with admin state on up/down

 drivers/net/virtio_net.c | 64 ++++++++++++++++++++++++----------------
 drivers/virtio/virtio.c  | 59 ++++++++++++++++++++++++++++--------
 include/linux/virtio.h   | 11 +++++--
 3 files changed, 93 insertions(+), 41 deletions(-)

-- 
2.31.1