Searched refs:nl_attrs (Results 1 – 1 of 1) sorted by relevance
572 struct nlattr **nl_attrs = info->attrs; in vdpa_nl_cmd_dev_add_set_doit() local583 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]) { in vdpa_nl_cmd_dev_add_set_doit()584 macaddr = nla_data(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]); in vdpa_nl_cmd_dev_add_set_doit()588 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MTU]) { in vdpa_nl_cmd_dev_add_set_doit()590 nla_get_u16(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MTU]); in vdpa_nl_cmd_dev_add_set_doit()593 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MAX_VQP]) { in vdpa_nl_cmd_dev_add_set_doit()595 nla_get_u16(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MAX_VQP]); in vdpa_nl_cmd_dev_add_set_doit()603 if (nl_attrs[VDPA_ATTR_DEV_FEATURES]) { in vdpa_nl_cmd_dev_add_set_doit()605 nla_get_u64(nl_attrs[VDPA_ATTR_DEV_FEATURES]); in vdpa_nl_cmd_dev_add_set_doit()