Lines Matching refs:packet

94     lm_packet_t *packet,/* optional. */
139 if(packet)
141 // Insert given packet.
142 DbgBreakIfFastPath(SIG(packet) != L2PACKET_RX_SIG);
146 s_list_push_tail(&rxq_chain_common->free_descq, &packet->link);
147 packet = NULL;
152 packet = (lm_packet_t *) s_list_pop_head(&rxq_chain_common->free_descq);
159 while(packet)
167 prod_bseq += packet->l2pkt_rx_info->mem_size;
174 rcq_prod_bseq += packet->l2pkt_rx_info->mem_size;
180 packet->u1.rx.next_bd_idx = lm_bd_chain_prod_idx(rx_chain_bd);
183 DbgBreakIfFastPath(SIG(packet->u1.rx.mem_virt - pdev->params.rcv_buffer_offset) != L2PACKET_RX_SIG);
184 DbgBreakIfFastPath(END_SIG(packet->u1.rx.mem_virt, MAX_L2_CLI_BUFFER_SIZE(pdev, chain_idx)) != L2PACKET_RX_SIG);
187 cur_bd->addr_lo = mm_cpu_to_le32(packet->u1.rx.mem_phys[0].as_u32.low);
188 cur_bd->addr_hi = mm_cpu_to_le32(packet->u1.rx.mem_phys[0].as_u32.high);
192 cur_sge->addr_lo = mm_cpu_to_le32(packet->u1.rx.mem_phys[1].as_u32.low);
193 cur_sge->addr_hi = mm_cpu_to_le32(packet->u1.rx.mem_phys[1].as_u32.high);
200 s_list_push_tail(&rxq_chain->active_descq, &packet->link);
208 tpa_chain->sge_chain.active_descq_array[active_entry] = packet;
217 packet = (lm_packet_t *) s_list_pop_head(&rxq_chain_common->free_descq);
358 lm_packet_t* pkt = tpa_chain->start_coales_bd[queue_index].packet;//Reads the TPA start coalesce array(PD_R)
370 // Total packet size given in end aggregation must be larger than the size given in start aggregation.
377 // Indicate to upper layer this is a TPA packet
385 /* make sure packet size is larger than header size */
388 // Adds this packet descriptor to the global receive list (rcvd_list that is later indicated to miniport).
398 // Total packet size given in end aggregation must be equal to the size given in start aggregation.
490 tpa_chain->start_coales_bd[queue_index].packet = pkt;
750 // encapsulated packet:
752 // minimum encapsultaed packet size is:
767 // in case this is not standard ETH packet (e.g. managment, or in general non ipv4/ipv6), it is for sure
774 // this is not encapsulated packet, no gre tunneling
895 // claculate the checksum of the rest of the packet
1064 /* Advance the rx_old_idx to the start bd_idx of the next packet. */
1096 /* make sure packet size if larger than header size and smaller than max packet size of the specific L2 client */
1099 // ShayH:packet->size isn't useed anymore by windows we directly put the data on l2pkt_rx_info->size and l2pkt_rx_info->total_packet_size.
1100 // Need to ask if other UM clients use/need packet->size.
1109 /* make sure packet size if larger than header size and smaller than max packet size of the specific L2 client */
1147 packet with vlan arrives but it remove the vlan from the packet only when