Lines Matching defs:to

80  * Period of the TX buffer reclaim timer.  This timer does not need to run
191 spinlock_t lock; /* Lock to protect cmdQ enqueuing */
200 u16 dma_offset; /* DMA offset to align IP headers */
201 u16 recycleq_idx; /* skb recycle q to use */
209 unsigned int credits; /* credits to be returned to SGE */
237 unsigned int max_avail; /* max bits to be sent to any port */
241 struct tasklet_struct sched_tsk;/* tasklet used to run scheduler */
250 * the application is migrated to another CPU. In that scenario, we try to
251 * separate the RX(in irq context) and TX state in order to decrease memory
295 * re-computes scheduler parameters to scope with the change.
394 * and updates the per port quota (number of bits that can be sent to the any
476 /* If there are more pending skbs, we use the hardware to schedule us
493 * PIO to indicate that memory mapped Q contains valid descriptor(s).
579 * regular sized Ethernet frames, FL1 is sized not to exceed 16K,
747 * but sge->sge_control is setup and ready to go.
818 * buffer is already valid and nothing needs to be done. This happens when we
822 * we specify a RX_OFFSET in order to make sure that the IP header is 4B
868 * of both rings, we go into 'few interrupt mode' in order to give the system
869 * time to free up resources.
892 /* We reenable the Qs to force a freelist GTS interrupt later */
998 * @idx: index of buffer to recycle
1006 struct freelQ_e *to = &fl->entries[fl->pidx];
1009 to->addr_lo = from->addr_lo;
1010 to->addr_hi = from->addr_hi;
1011 to->len_gen = G_CMD_LEN(from->len_gen) | V_CMD_GEN1(fl->genbit);
1013 to->gen2 = V_CMD_GEN2(fl->genbit);
1037 * threshold and the packet is too big to copy, or (b) the packet should
1102 * T1/T2 SGE limits the maximum DMA size per TX descriptor to
1109 * required to break down the stack's request.
1137 * Since this function writes the 'flags' field, it must not be used to
1196 * Write the command descriptors to transmit the given skb starting at
1350 * Process an ingress ethernet pakcet and deliver it to the stack.
1405 * after the Tx packet schedulers have been suspended to restart the Tx path.
1427 * update_tx_info is called from the interrupt handler/NAPI to return cmdQ0
1463 * Process SGE responses, up to the supplied budget. Returns the number of
1481 /* We batch updates to the TX side to avoid cacheline
1550 * non data-carrying) responses. Such respones are too light-weight to justify
1552 * interrupt context. The function is called with a pointer to a response,
1695 /* T204 cmdQ0 skbs that are destined for a certain port have to go
1729 * the hardware is going to sleep just after we checked, however,
1757 * @data: pointer to the start of the Ethernet header
1769 * Adds the CPL header to the sk_buff and passes it to t1_sge_tx.
1831 netdev_dbg(dev, "unable to do udp checksum\n");
1837 /* Hmmm, assuming to catch the gratious arp... and we'll use
1838 * it to flush out stuck espi packets...
1844 /* We want to re-use this skb later. We
1872 /* If transmit busy, and we reallocated skb's due to headroom limit,
1873 * then silently discard to avoid leak.
1906 * Propagate changes of the SGE coalescing parameters to the HW.
1933 * this to set the max offload coalescing size so that RX packets
2014 /* bump the reference count to avoid freeing of
2046 /* bump the reference count to avoid freeing of the