Lines Matching refs:req
103 int sr_iov_set_netlink_message(SRIOV *sr_iov, sd_netlink_message *req) { in sr_iov_set_netlink_message() argument
107 assert(req); in sr_iov_set_netlink_message()
109 r = sd_netlink_message_open_container(req, IFLA_VFINFO_LIST); in sr_iov_set_netlink_message()
113 r = sd_netlink_message_open_container(req, IFLA_VF_INFO); in sr_iov_set_netlink_message()
123 … r = sd_netlink_message_append_data(req, IFLA_VF_MAC, &ivm, sizeof(struct ifla_vf_mac)); in sr_iov_set_netlink_message()
134 … r = sd_netlink_message_append_data(req, IFLA_VF_SPOOFCHK, &ivs, sizeof(struct ifla_vf_spoofchk)); in sr_iov_set_netlink_message()
145 …r = sd_netlink_message_append_data(req, IFLA_VF_RSS_QUERY_EN, &ivs, sizeof(struct ifla_vf_rss_quer… in sr_iov_set_netlink_message()
156 … r = sd_netlink_message_append_data(req, IFLA_VF_TRUST, &ivt, sizeof(struct ifla_vf_trust)); in sr_iov_set_netlink_message()
167 …r = sd_netlink_message_append_data(req, IFLA_VF_LINK_STATE, &ivl, sizeof(struct ifla_vf_link_state… in sr_iov_set_netlink_message()
180 r = sd_netlink_message_open_container(req, IFLA_VF_VLAN_LIST); in sr_iov_set_netlink_message()
184 …r = sd_netlink_message_append_data(req, IFLA_VF_VLAN_INFO, &ivvi, sizeof(struct ifla_vf_vlan_info)… in sr_iov_set_netlink_message()
188 r = sd_netlink_message_close_container(req); in sr_iov_set_netlink_message()
193 r = sd_netlink_message_close_container(req); in sr_iov_set_netlink_message()
197 r = sd_netlink_message_close_container(req); in sr_iov_set_netlink_message()