Lines Matching refs:msdp
1142 struct multi_send_data *msdp) in move_pkt_msd() argument
1144 *msd_skb = msdp->skb; in move_pkt_msd()
1145 *msd_send = msdp->pkt; in move_pkt_msd()
1146 msdp->skb = NULL; in move_pkt_msd()
1147 msdp->pkt = NULL; in move_pkt_msd()
1148 msdp->count = 0; in move_pkt_msd()
1187 struct multi_send_data *msdp; in netvsc_send() local
1208 msdp = &nvchan->msd; in netvsc_send()
1209 if (msdp->pkt) in netvsc_send()
1210 msd_len = msdp->pkt->total_data_buflen; in netvsc_send()
1212 try_batch = msd_len > 0 && msdp->count < net_device->max_pkt; in netvsc_send()
1215 section_index = msdp->pkt->send_buf_index; in netvsc_send()
1219 section_index = msdp->pkt->send_buf_index; in netvsc_send()
1228 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()
1255 if (msdp->pkt) { in netvsc_send()
1256 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
1257 packet->total_bytes += msdp->pkt->total_bytes; in netvsc_send()
1260 if (msdp->skb) in netvsc_send()
1261 dev_consume_skb_any(msdp->skb); in netvsc_send()
1264 msdp->skb = skb; in netvsc_send()
1265 msdp->pkt = packet; in netvsc_send()
1266 msdp->count++; in netvsc_send()
1269 msdp->skb = NULL; in netvsc_send()
1270 msdp->pkt = NULL; in netvsc_send()
1271 msdp->count = 0; in netvsc_send()
1274 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()