Lines Matching refs:msdp
1037 struct multi_send_data *msdp) in move_pkt_msd() argument
1039 *msd_skb = msdp->skb; in move_pkt_msd()
1040 *msd_send = msdp->pkt; in move_pkt_msd()
1041 msdp->skb = NULL; in move_pkt_msd()
1042 msdp->pkt = NULL; in move_pkt_msd()
1043 msdp->count = 0; in move_pkt_msd()
1082 struct multi_send_data *msdp; in netvsc_send() local
1103 msdp = &nvchan->msd; in netvsc_send()
1104 if (msdp->pkt) in netvsc_send()
1105 msd_len = msdp->pkt->total_data_buflen; in netvsc_send()
1107 try_batch = msd_len > 0 && msdp->count < net_device->max_pkt; in netvsc_send()
1110 section_index = msdp->pkt->send_buf_index; in netvsc_send()
1114 section_index = msdp->pkt->send_buf_index; in netvsc_send()
1123 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()
1150 if (msdp->pkt) { in netvsc_send()
1151 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
1152 packet->total_bytes += msdp->pkt->total_bytes; in netvsc_send()
1155 if (msdp->skb) in netvsc_send()
1156 dev_consume_skb_any(msdp->skb); in netvsc_send()
1159 msdp->skb = skb; in netvsc_send()
1160 msdp->pkt = packet; in netvsc_send()
1161 msdp->count++; in netvsc_send()
1164 msdp->skb = NULL; in netvsc_send()
1165 msdp->pkt = NULL; in netvsc_send()
1166 msdp->count = 0; in netvsc_send()
1169 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()