Searched refs:nl_attrs (Results 1 – 1 of 1) sorted by relevance
598 struct nlattr **nl_attrs = info->attrs; in vdpa_nl_cmd_dev_add_set_doit() local611 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]) { in vdpa_nl_cmd_dev_add_set_doit()612 macaddr = nla_data(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]); in vdpa_nl_cmd_dev_add_set_doit()616 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MTU]) { in vdpa_nl_cmd_dev_add_set_doit()618 nla_get_u16(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MTU]); in vdpa_nl_cmd_dev_add_set_doit()621 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MAX_VQP]) { in vdpa_nl_cmd_dev_add_set_doit()623 nla_get_u16(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MAX_VQP]); in vdpa_nl_cmd_dev_add_set_doit()631 if (nl_attrs[VDPA_ATTR_DEV_FEATURES]) { in vdpa_nl_cmd_dev_add_set_doit()635 nla_get_u64(nl_attrs[VDPA_ATTR_DEV_FEATURES]); in vdpa_nl_cmd_dev_add_set_doit()636 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR] && in vdpa_nl_cmd_dev_add_set_doit()[all …]