diff options
author | Eli Cohen <elic@nvidia.com> | 2023-03-21 13:28:09 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-21 03:02:31 -0400 |
commit | e9d67e59f151eae964f749af74dbe4bd3b01b0d2 (patch) | |
tree | b26625bcab15a1e8d44b087e0957077e8b91c075 /lib | |
parent | 791a1cb7b8591ece6a5075dfed803da379e7ecd3 (diff) |
vdpa/mlx5: Extend driver support for new features
Extend the possible list for features that can be supported by firmware.
Note that different versions of firmware may or may not support these
features. The driver is made aware of them by querying the firmware.
While doing this, improve the code so we use enum names instead of hard
coded numerical values.
The new features supported by the driver are the following:
VIRTIO_NET_F_MRG_RXBUF
VIRTIO_NET_F_HOST_ECN
VIRTIO_NET_F_GUEST_ECN
VIRTIO_NET_F_GUEST_TSO6
VIRTIO_NET_F_GUEST_TSO4
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Eli Cohen <elic@nvidia.com>
Message-Id: <20230321112809.221432-3-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eugenio PĂ©rez Martin <eperezma@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions