Lines Matching refs:ndata
2235 struct octnic_data_pkt *ndata, in send_nic_timestamp_pkt() argument
2247 sc = octeon_alloc_soft_command_resp(oct, &ndata->cmd, in send_nic_timestamp_pkt()
2256 if (ndata->reqtype == REQTYPE_NORESP_NET) in send_nic_timestamp_pkt()
2257 ndata->reqtype = REQTYPE_RESP_NET; in send_nic_timestamp_pkt()
2258 else if (ndata->reqtype == REQTYPE_NORESP_NET_SG) in send_nic_timestamp_pkt()
2259 ndata->reqtype = REQTYPE_RESP_NET_SG; in send_nic_timestamp_pkt()
2263 sc->iq_no = ndata->q_no; in send_nic_timestamp_pkt()
2275 sc, len, ndata->reqtype); in send_nic_timestamp_pkt()
2301 struct octnic_data_pkt ndata; in liquidio_xmit() local
2342 memset(&ndata, 0, sizeof(struct octnic_data_pkt)); in liquidio_xmit()
2344 ndata.buf = (void *)finfo; in liquidio_xmit()
2346 ndata.q_no = iq_no; in liquidio_xmit()
2348 if (octnet_iq_is_full(oct, ndata.q_no)) { in liquidio_xmit()
2351 ndata.q_no); in liquidio_xmit()
2360 ndata.datasize = skb->len; in liquidio_xmit()
2380 octnet_prepare_pci_cmd(oct, &ndata.cmd, &cmdsetup, tag); in liquidio_xmit()
2395 ndata.cmd.cmd3.dptr = dptr; in liquidio_xmit()
2397 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2399 ndata.reqtype = REQTYPE_NORESP_NET; in liquidio_xmit()
2419 octnet_prepare_pci_cmd(oct, &ndata.cmd, &cmdsetup, tag); in liquidio_xmit()
2471 ndata.cmd.cmd3.dptr = dptr; in liquidio_xmit()
2473 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2477 ndata.reqtype = REQTYPE_NORESP_NET_SG; in liquidio_xmit()
2481 irh = (struct octeon_instr_irh *)&ndata.cmd.cmd3.irh; in liquidio_xmit()
2482 tx_info = (union tx_info *)&ndata.cmd.cmd3.ossp[0]; in liquidio_xmit()
2484 irh = (struct octeon_instr_irh *)&ndata.cmd.cmd2.irh; in liquidio_xmit()
2485 tx_info = (union tx_info *)&ndata.cmd.cmd2.ossp[0]; in liquidio_xmit()
2503 status = send_nic_timestamp_pkt(oct, &ndata, finfo, xmit_more); in liquidio_xmit()
2505 status = octnet_send_nic_data_pkt(oct, &ndata, xmit_more); in liquidio_xmit()
2520 stats->tx_tot_bytes += ndata.datasize; in liquidio_xmit()
2530 ndata.datasize, DMA_TO_DEVICE); in liquidio_xmit()