Re: [PATCH net-next] virtio-net: synchronize operstate with admin state on up/down

2024-05-26 Thread Jason Wang
On Tue, May 21, 2024 at 4:14 PM Paolo Abeni wrote: > > On Mon, 2024-05-20 at 09:03 +0800, Jason Wang wrote: > > This patch synchronize operstate with admin state per RFC2863. > > > > This is done by trying to toggle the carrier upon open/close and > > synchronize with the config change work. This

Re: [PATCH net-next] virtio-net: synchronize operstate with admin state on up/down

2024-05-21 Thread Paolo Abeni
On Mon, 2024-05-20 at 09:03 +0800, Jason Wang wrote: > This patch synchronize operstate with admin state per RFC2863. > > This is done by trying to toggle the carrier upon open/close and > synchronize with the config change work. This allows propagate status > correctly to stacked devices like: >

Re: [PATCH net-next] virtio-net: synchronize operstate with admin state on up/down

2024-05-21 Thread Michael S. Tsirkin
On Mon, May 20, 2024 at 09:03:02AM +0800, Jason Wang wrote: > This patch synchronize operstate with admin state per RFC2863. > > This is done by trying to toggle the carrier upon open/close and > synchronize with the config change work. This allows propagate status > correctly to stacked devices l

Re: [PATCH net-next] virtio-net: synchronize operstate with admin state on up/down

2024-05-20 Thread Xuan Zhuo
On Mon, 20 May 2024 09:03:02 +0800, Jason Wang wrote: > This patch synchronize operstate with admin state per RFC2863. > > This is done by trying to toggle the carrier upon open/close and > synchronize with the config change work. This allows propagate status > correctly to stacked devices like: >

[PATCH net-next] virtio-net: synchronize operstate with admin state on up/down

2024-05-19 Thread Jason Wang
This patch synchronize operstate with admin state per RFC2863. This is done by trying to toggle the carrier upon open/close and synchronize with the config change work. This allows propagate status correctly to stacked devices like: ip link add link enp0s3 macvlan0 type macvlan ip link set link e