github.com/vishvananda/netlink@v1.3.0/nl/vdpa_linux.go (about) 1 package nl 2 3 const ( 4 VDPA_GENL_NAME = "vdpa" 5 VDPA_GENL_VERSION = 0x1 6 ) 7 8 const ( 9 VDPA_CMD_UNSPEC = iota 10 VDPA_CMD_MGMTDEV_NEW 11 VDPA_CMD_MGMTDEV_GET /* can dump */ 12 VDPA_CMD_DEV_NEW 13 VDPA_CMD_DEV_DEL 14 VDPA_CMD_DEV_GET /* can dump */ 15 VDPA_CMD_DEV_CONFIG_GET /* can dump */ 16 VDPA_CMD_DEV_VSTATS_GET 17 ) 18 19 const ( 20 VDPA_ATTR_UNSPEC = iota 21 VDPA_ATTR_MGMTDEV_BUS_NAME 22 VDPA_ATTR_MGMTDEV_DEV_NAME 23 VDPA_ATTR_MGMTDEV_SUPPORTED_CLASSES 24 VDPA_ATTR_DEV_NAME 25 VDPA_ATTR_DEV_ID 26 VDPA_ATTR_DEV_VENDOR_ID 27 VDPA_ATTR_DEV_MAX_VQS 28 VDPA_ATTR_DEV_MAX_VQ_SIZE 29 VDPA_ATTR_DEV_MIN_VQ_SIZE 30 VDPA_ATTR_DEV_NET_CFG_MACADDR 31 VDPA_ATTR_DEV_NET_STATUS 32 VDPA_ATTR_DEV_NET_CFG_MAX_VQP 33 VDPA_ATTR_DEV_NET_CFG_MTU 34 VDPA_ATTR_DEV_NEGOTIATED_FEATURES 35 VDPA_ATTR_DEV_MGMTDEV_MAX_VQS 36 VDPA_ATTR_DEV_SUPPORTED_FEATURES 37 VDPA_ATTR_DEV_QUEUE_INDEX 38 VDPA_ATTR_DEV_VENDOR_ATTR_NAME 39 VDPA_ATTR_DEV_VENDOR_ATTR_VALUE 40 VDPA_ATTR_DEV_FEATURES 41 )