Lines Matching refs:msdp
889 struct multi_send_data *msdp) in move_pkt_msd() argument
891 *msd_skb = msdp->skb; in move_pkt_msd()
892 *msd_send = msdp->pkt; in move_pkt_msd()
893 msdp->skb = NULL; in move_pkt_msd()
894 msdp->pkt = NULL; in move_pkt_msd()
895 msdp->count = 0; in move_pkt_msd()
913 struct multi_send_data *msdp; in netvsc_send() local
933 msdp = &nvchan->msd; in netvsc_send()
934 if (msdp->pkt) in netvsc_send()
935 msd_len = msdp->pkt->total_data_buflen; in netvsc_send()
937 try_batch = msd_len > 0 && msdp->count < net_device->max_pkt; in netvsc_send()
940 section_index = msdp->pkt->send_buf_index; in netvsc_send()
944 section_index = msdp->pkt->send_buf_index; in netvsc_send()
953 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()
980 if (msdp->pkt) { in netvsc_send()
981 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
982 packet->total_bytes += msdp->pkt->total_bytes; in netvsc_send()
985 if (msdp->skb) in netvsc_send()
986 dev_consume_skb_any(msdp->skb); in netvsc_send()
989 msdp->skb = skb; in netvsc_send()
990 msdp->pkt = packet; in netvsc_send()
991 msdp->count++; in netvsc_send()
994 msdp->skb = NULL; in netvsc_send()
995 msdp->pkt = NULL; in netvsc_send()
996 msdp->count = 0; in netvsc_send()
999 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()