diff options
author | Si-Wei Liu <si-wei.liu@oracle.com> | 2023-02-06 15:12:03 -0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-02-20 19:27:00 -0500 |
commit | 033779a708f0b0aa89d3a9ad937fb1a97a06a10c (patch) | |
tree | 4f0a6792e1c3ff572e5e8c85da48487c6e64c0bb /drivers/mailbox/qcom-apcs-ipc-mailbox.c | |
parent | dbb6f1c42ade73f2c1652bf167d48f20f98bb834 (diff) |
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 'drivers/mailbox/qcom-apcs-ipc-mailbox.c')
0 files changed, 0 insertions, 0 deletions