diff options
author | Si-Wei Liu <si-wei.liu@oracle.com> | 2023-02-07 00:12:03 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-02-21 01:27:00 +0100 |
commit | 033779a708f0b0aa89d3a9ad937fb1a97a06a10c (patch) | |
tree | 4f0a6792e1c3ff572e5e8c85da48487c6e64c0bb /include/net/ip6_tunnel.h | |
parent | vdpa: validate device feature provisioning against supported class (diff) | |
download | linux-033779a708f0b0aa89d3a9ad937fb1a97a06a10c.tar.xz linux-033779a708f0b0aa89d3a9ad937fb1a97a06a10c.zip |
vdpa/mlx5: make MTU/STATUS presence conditional on feature bits
The spec says:
mtu only exists if VIRTIO_NET_F_MTU is set
status only exists if VIRTIO_NET_F_STATUS is set
We should only present MTU and STATUS conditionally depending on
the feature bits.
Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
Message-Id: <1675725124-7375-6-git-send-email-si-wei.liu@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/net/ip6_tunnel.h')
0 files changed, 0 insertions, 0 deletions