Lines Matching refs:msdp
947 struct multi_send_data *msdp) in move_pkt_msd() argument
949 *msd_skb = msdp->skb; in move_pkt_msd()
950 *msd_send = msdp->pkt; in move_pkt_msd()
951 msdp->skb = NULL; in move_pkt_msd()
952 msdp->pkt = NULL; in move_pkt_msd()
953 msdp->count = 0; in move_pkt_msd()
972 struct multi_send_data *msdp; in netvsc_send() local
993 msdp = &nvchan->msd; in netvsc_send()
994 if (msdp->pkt) in netvsc_send()
995 msd_len = msdp->pkt->total_data_buflen; in netvsc_send()
997 try_batch = msd_len > 0 && msdp->count < net_device->max_pkt; in netvsc_send()
1000 section_index = msdp->pkt->send_buf_index; in netvsc_send()
1004 section_index = msdp->pkt->send_buf_index; in netvsc_send()
1013 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()
1040 if (msdp->pkt) { in netvsc_send()
1041 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
1042 packet->total_bytes += msdp->pkt->total_bytes; in netvsc_send()
1045 if (msdp->skb) in netvsc_send()
1046 dev_consume_skb_any(msdp->skb); in netvsc_send()
1049 msdp->skb = skb; in netvsc_send()
1050 msdp->pkt = packet; in netvsc_send()
1051 msdp->count++; in netvsc_send()
1054 msdp->skb = NULL; in netvsc_send()
1055 msdp->pkt = NULL; in netvsc_send()
1056 msdp->count = 0; in netvsc_send()
1059 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()