]> git.ipfire.org Git - thirdparty/iproute2.git/commit
vdpa: allow provisioning device features
authorJason Wang <jasowang@redhat.com>
Tue, 29 Nov 2022 04:28:16 +0000 (12:28 +0800)
committerDavid Ahern <dsahern@kernel.org>
Fri, 2 Dec 2022 15:54:01 +0000 (08:54 -0700)
commita4442ce58ebbbff8dda9126ccbcad86f3997ab1c
tree3acbfc6aa0e4b9809040e6081ebdea81fdbaad51
parent43aa9d9ce7f89fe3f14a3589c9b05e513dd3073c
vdpa: allow provisioning device features

This patch allows device features to be provisioned via vdpa. This
will be useful for preserving migration compatibility between source
and destination:

# vdpa dev add name dev1 mgmtdev pci/0000:02:00.0 device_features 0x300020000
# vdpa dev config show dev1
# dev1: mac 52:54:00:12:34:56 link up link_announce false mtu 65535
      negotiated_features CTRL_VQ VERSION_1 ACCESS_PLATFORM

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
man/man8/vdpa-dev.8
vdpa/vdpa.c