Displaying 2 results from an estimated 2 matches for "mlx5_virtio_net_f_host_ecn".
2023 Mar 21
0
[PATCH v3 1/2] vdpa/mlx5: Extend driver support for new features
...44
> --- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
> +++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
> @@ -778,12 +778,28 @@ static bool vq_is_tx(u16 idx)
> return idx % 2;
> }
>
> -static u16 get_features_12_3(u64 features)
> +enum {
> + MLX5_VIRTIO_NET_F_MRG_RXBUF = 2,
> + MLX5_VIRTIO_NET_F_HOST_ECN = 4,
> + MLX5_VIRTIO_NET_F_GUEST_ECN = 6,
> + MLX5_VIRTIO_NET_F_GUEST_TSO6 = 7,
> + MLX5_VIRTIO_NET_F_GUEST_TSO4 = 8,
> + MLX5_VIRTIO_NET_F_GUEST_CSUM = 9,
> + MLX5_VIRTIO_NET_F_CSUM = 10,
> + MLX5_VIRTIO_NET_F_HOST_TSO6 = 11,
> + MLX5_VIRTIO_NET_F_HOST_TSO4 = 12,
> +};
>...
2023 Mar 17
0
[PATCH v2 1/2] vdpa/mlx5: Extend driver support for new features
.../drivers/vdpa/mlx5/net/mlx5_vnet.c
> @@ -778,12 +778,32 @@ static bool vq_is_tx(u16 idx)
> return idx % 2;
> }
>
> -static u16 get_features_12_3(u64 features)
> +enum {
> + MLX5_VIRTIO_NET_F_MRG_RXBUF = 2,
> + MLX5_VIRTIO_NET_F_HOST_UFO = 3,
> + MLX5_VIRTIO_NET_F_HOST_ECN = 4,
> + MLX5_VIRTIO_NET_F_GUEST_UFO = 5,
> + MLX5_VIRTIO_NET_F_GUEST_ECN = 6,
> + MLX5_VIRTIO_NET_F_GUEST_TSO6 = 7,
> + MLX5_VIRTIO_NET_F_GUEST_TSO4 = 8,
> + MLX5_VIRTIO_NET_F_GUEST_CSUM = 9,
> + MLX5_VIRTIO_NET_F_CSUM = 10,
> + MLX5_V...