[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240709080214.9790-1-jasowang@redhat.com>
Date: Tue, 9 Jul 2024 16:02:11 +0800
From: Jason Wang <jasowang@...hat.com>
To: mst@...hat.com,
jasowang@...hat.com,
xuanzhuo@...ux.alibaba.com,
eperezma@...hat.com
Cc: virtualization@...ts.linux.dev,
linux-kernel@...r.kernel.org,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
netdev@...r.kernel.org
Subject: [PATCH net-next v3 0/3] virtio-net: synchronize op/admin state
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
Powered by blists - more mailing lists