Lines Matching defs:packet
25 * -> XDMA Engine to move data to from the memory to the MAC packet FIFO
762 reg_data |= 0x0f; /* All of the packet */
1077 * Function to queue the packet for the Ethernet device
1239 * Queue the packet for Tx. Currently no support for zero copy,
1286 titan_ge_packet * packet)
1302 packet->skb = titan_ge_port->rx_skb[rx_curr_desc];
1303 packet->len = (rx_desc->cmd_sts & 0x7fff);
1310 packet->checksum = ntohs((rx_desc->buffer & 0xffff0000) >> 16);
1311 packet->cmd_sts = rx_desc->cmd_sts;
1356 titan_ge_packet packet;
1365 && (titan_ge_rx(netdev, port_num, titan_ge_eth, &packet) == TITAN_OK)) {
1366 skb = (struct sk_buff *) packet.skb;
1375 stats->rx_bytes += packet.len;
1377 if ((packet.cmd_sts & TITAN_GE_RX_PERR) ||
1378 (packet.cmd_sts & TITAN_GE_RX_OVERFLOW_ERROR) ||
1379 (packet.cmd_sts & TITAN_GE_RX_TRUNC) ||
1380 (packet.cmd_sts & TITAN_GE_RX_CRC_ERROR)) {
1393 skb_put(skb, packet.len - 2);