Lines Matching refs:upcall_info

214 					  const struct dp_upcall_info *upcall_info,  in ovs_vport_update_upcall_stats()  argument
220 if (upcall_info->cmd != OVS_PACKET_CMD_MISS && in ovs_vport_update_upcall_stats()
221 upcall_info->cmd != OVS_PACKET_CMD_ACTION) in ovs_vport_update_upcall_stats()
311 const struct dp_upcall_info *upcall_info, in ovs_dp_upcall() argument
318 trace_ovs_dp_upcall(dp, skb, key, upcall_info); in ovs_dp_upcall()
320 if (upcall_info->portid == 0) { in ovs_dp_upcall()
326 err = queue_userspace_packet(dp, skb, key, upcall_info, cutlen); in ovs_dp_upcall()
328 err = queue_gso_packets(dp, skb, key, upcall_info, cutlen); in ovs_dp_upcall()
330 ovs_vport_update_upcall_stats(skb, upcall_info, !err); in ovs_dp_upcall()
348 const struct dp_upcall_info *upcall_info, in queue_gso_packets() argument
377 err = queue_userspace_packet(dp, skb, key, upcall_info, cutlen); in queue_gso_packets()
393 static size_t upcall_msg_size(const struct dp_upcall_info *upcall_info, in upcall_msg_size() argument
403 if (upcall_info->userdata) in upcall_msg_size()
404 size += NLA_ALIGN(upcall_info->userdata->nla_len); in upcall_msg_size()
407 if (upcall_info->egress_tun_info) in upcall_msg_size()
411 if (upcall_info->actions_len) in upcall_msg_size()
415 if (upcall_info->mru) in upcall_msg_size()
416 size += nla_total_size(sizeof(upcall_info->mru)); in upcall_msg_size()
433 const struct dp_upcall_info *upcall_info, in queue_userspace_packet() argument
480 len = upcall_msg_size(upcall_info, hlen - cutlen, in queue_userspace_packet()
489 0, upcall_info->cmd); in queue_userspace_packet()
500 if (upcall_info->userdata) in queue_userspace_packet()
502 nla_len(upcall_info->userdata), in queue_userspace_packet()
503 nla_data(upcall_info->userdata)); in queue_userspace_packet()
505 if (upcall_info->egress_tun_info) { in queue_userspace_packet()
513 upcall_info->egress_tun_info); in queue_userspace_packet()
520 if (upcall_info->actions_len) { in queue_userspace_packet()
526 err = ovs_nla_put_actions(upcall_info->actions, in queue_userspace_packet()
527 upcall_info->actions_len, in queue_userspace_packet()
536 if (upcall_info->mru && in queue_userspace_packet()
537 nla_put_u16(user_skb, OVS_PACKET_ATTR_MRU, upcall_info->mru)) { in queue_userspace_packet()
579 err = genlmsg_unicast(ovs_dp_get_net(dp), user_skb, upcall_info->portid); in queue_userspace_packet()