Lines Matching refs:nlattr
929 struct nlattr *na = (void *)((uintptr_t)nh + off); in mlx5_nl_cmdget_cb()
1013 struct nlattr *na; in mlx5_nl_ifindex()
1316 static struct nlattr *
1319 return (struct nlattr *) in nl_msg_tail()
1326 struct nlattr *nla = nl_msg_tail(nlh); in nl_attr_put()
1329 nla->nla_len = NLMSG_ALIGN(sizeof(struct nlattr)) + alen; in nl_attr_put()
1333 memcpy((uint8_t *)nla + sizeof(struct nlattr), data, alen); in nl_attr_put()
1336 static struct nlattr *
1339 struct nlattr *nest = (struct nlattr *)nl_msg_tail(nlh); in nl_attr_nest_start()
1346 nl_attr_nest_end(struct nlmsghdr *nlh, struct nlattr *nest) in nl_attr_nest_end()
1372 NLMSG_ALIGN(sizeof(struct nlattr)) * 8 + in mlx5_nl_vlan_vmwa_create()
1378 struct nlattr *na_info; in mlx5_nl_vlan_vmwa_create()
1379 struct nlattr *na_vlan; in mlx5_nl_vlan_vmwa_create()
1439 struct nlattr *tail = RTE_PTR_ADD(nh, nh->nlmsg_len); in mlx5_nl_family_id_cb()
1440 struct nlattr *nla = RTE_PTR_ADD(nh, NLMSG_ALIGN(sizeof(*nh)) + in mlx5_nl_family_id_cb()
1477 NLMSG_ALIGN(sizeof(struct nlattr)) + in mlx5_nl_generic_family_id_get()
1536 struct nlattr *tail = RTE_PTR_ADD(nh, nh->nlmsg_len); in mlx5_nl_roce_cb()
1537 struct nlattr *nla = RTE_PTR_ADD(nh, NLMSG_ALIGN(sizeof(*nh)) + in mlx5_nl_roce_cb()
1587 NLMSG_ALIGN(sizeof(struct nlattr)) * 4 + in mlx5_nl_enable_roce_get()
1640 NLMSG_ALIGN(sizeof(struct nlattr)) * 2 + in mlx5_nl_driver_reload()
1692 NLMSG_ALIGN(sizeof(struct nlattr)) * 6 + in mlx5_nl_enable_roce_set()