Lines Matching refs:msdp
1195 struct multi_send_data *msdp) in move_pkt_msd() argument
1197 *msd_skb = msdp->skb; in move_pkt_msd()
1198 *msd_send = msdp->pkt; in move_pkt_msd()
1199 msdp->skb = NULL; in move_pkt_msd()
1200 msdp->pkt = NULL; in move_pkt_msd()
1201 msdp->count = 0; in move_pkt_msd()
1240 struct multi_send_data *msdp; in netvsc_send() local
1261 msdp = &nvchan->msd; in netvsc_send()
1262 if (msdp->pkt) in netvsc_send()
1263 msd_len = msdp->pkt->total_data_buflen; in netvsc_send()
1265 try_batch = msd_len > 0 && msdp->count < net_device->max_pkt; in netvsc_send()
1268 section_index = msdp->pkt->send_buf_index; in netvsc_send()
1272 section_index = msdp->pkt->send_buf_index; in netvsc_send()
1281 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()
1308 if (msdp->pkt) { in netvsc_send()
1309 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
1310 packet->total_bytes += msdp->pkt->total_bytes; in netvsc_send()
1313 if (msdp->skb) in netvsc_send()
1314 dev_consume_skb_any(msdp->skb); in netvsc_send()
1317 msdp->skb = skb; in netvsc_send()
1318 msdp->pkt = packet; in netvsc_send()
1319 msdp->count++; in netvsc_send()
1322 msdp->skb = NULL; in netvsc_send()
1323 msdp->pkt = NULL; in netvsc_send()
1324 msdp->count = 0; in netvsc_send()
1327 move_pkt_msd(&msd_send, &msd_skb, msdp); in netvsc_send()