Hi Michael,
the following two patches aim to fix a failure to set the vdpa driver
status bit VIRTIO_NET_S_LINK_UP thus causing failure to bring the link
up. I break it to two patches:
1. Introduce proper mlx5 API to set 16 bit status fields per virtio
requirements.
2. Fix the failure to set the bit
Eli Cohen (2):
vdpa/mlx5: Make use of a specific 16 bit endianness API
vdpa/mlx5: Fix failure to bring link up
drivers/vdpa/mlx5/net/mlx5_vnet.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
2.27.0
On 2020/9/17 下午8:13, Eli Cohen wrote:
> Hi Michael,
>
> the following two patches aim to fix a failure to set the vdpa driver
> status bit VIRTIO_NET_S_LINK_UP thus causing failure to bring the link
> up. I break it to two patches:
>
> 1. Introduce proper mlx5 API to set 16 bit status fields per virtio
> requirements.
> 2. Fix the failure to set the bit
>
> Eli Cohen (2):
> vdpa/mlx5: Make use of a specific 16 bit endianness API
> vdpa/mlx5: Fix failure to bring link up
>
> drivers/vdpa/mlx5/net/mlx5_vnet.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
Acked-by: Jason Wang <[email protected]>