Lines Matching refs:user_skb

438 	struct sk_buff *user_skb = NULL; /* to be queued to userspace */  in queue_userspace_packet()  local
482 user_skb = genlmsg_new(len, GFP_ATOMIC); in queue_userspace_packet()
483 if (!user_skb) { in queue_userspace_packet()
488 upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, in queue_userspace_packet()
496 err = ovs_nla_put_key(key, key, OVS_PACKET_ATTR_KEY, false, user_skb); in queue_userspace_packet()
501 __nla_put(user_skb, OVS_PACKET_ATTR_USERDATA, in queue_userspace_packet()
506 nla = nla_nest_start_noflag(user_skb, in queue_userspace_packet()
512 err = ovs_nla_put_tunnel_info(user_skb, in queue_userspace_packet()
517 nla_nest_end(user_skb, nla); in queue_userspace_packet()
521 nla = nla_nest_start_noflag(user_skb, OVS_PACKET_ATTR_ACTIONS); in queue_userspace_packet()
528 user_skb); in queue_userspace_packet()
530 nla_nest_end(user_skb, nla); in queue_userspace_packet()
532 nla_nest_cancel(user_skb, nla); in queue_userspace_packet()
537 nla_put_u16(user_skb, OVS_PACKET_ATTR_MRU, upcall_info->mru)) { in queue_userspace_packet()
544 nla_put_u32(user_skb, OVS_PACKET_ATTR_LEN, skb->len)) { in queue_userspace_packet()
557 if (nla_put(user_skb, OVS_PACKET_ATTR_HASH, sizeof (u64), &hash)) { in queue_userspace_packet()
564 if (!(nla = nla_reserve(user_skb, OVS_PACKET_ATTR_PACKET, 0))) { in queue_userspace_packet()
570 err = skb_zerocopy(user_skb, skb, skb->len - cutlen, hlen); in queue_userspace_packet()
575 pad_packet(dp, user_skb); in queue_userspace_packet()
577 ((struct nlmsghdr *) user_skb->data)->nlmsg_len = user_skb->len; in queue_userspace_packet()
579 err = genlmsg_unicast(ovs_dp_get_net(dp), user_skb, upcall_info->portid); in queue_userspace_packet()
580 user_skb = NULL; in queue_userspace_packet()
584 consume_skb(user_skb); in queue_userspace_packet()