Lines Matching refs:msdp
892 struct multi_send_data *msdp) in move_pkt_msd() argument
894 *msd_skb = msdp->skb; in move_pkt_msd()
895 *msd_send = msdp->pkt; in move_pkt_msd()
896 msdp->skb = NULL; in move_pkt_msd()
897 msdp->pkt = NULL; in move_pkt_msd()
898 msdp->count = 0; in move_pkt_msd()
916 struct multi_send_data *msdp; in netvsc_send() local
936 msdp = &nvchan->msd; in netvsc_send()
937 if (msdp->pkt) in netvsc_send()
938 msd_len = msdp->pkt->total_data_buflen; in netvsc_send()
940 try_batch = msd_len > 0 && msdp->count < net_device->max_pkt; in netvsc_send()
943 section_index = msdp->pkt->send_buf_index; in netvsc_send()
947 section_index = msdp->pkt->send_buf_index; in netvsc_send()
956 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()
983 if (msdp->pkt) { in netvsc_send()
984 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
985 packet->total_bytes += msdp->pkt->total_bytes; in netvsc_send()
988 if (msdp->skb) in netvsc_send()
989 dev_consume_skb_any(msdp->skb); in netvsc_send()
992 msdp->skb = skb; in netvsc_send()
993 msdp->pkt = packet; in netvsc_send()
994 msdp->count++; in netvsc_send()
997 msdp->skb = NULL; in netvsc_send()
998 msdp->pkt = NULL; in netvsc_send()
999 msdp->count = 0; in netvsc_send()
1002 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()