search for: total_packets

Displaying 2 results from an estimated 2 matches for "total_packets".

2013 Jun 12
26
Interesting observation with network event notification and batching
Hi all I''m hacking on a netback trying to identify whether TLB flushes causes heavy performance penalty on Tx path. The hack is quite nasty (you would not want to know, trust me). Basically what is doesn''t is, 1) alter network protocol to pass along mfns instead of grant references, 2) when the backend sees a new mfn, map it RO and cache it in its own address space. With this
2009 Jan 27
5
[PATCH 2/2] Add VMDq support to ixgbe
...c irqreturn_t ixgbe_msix_clean_rx(i r_idx = find_first_bit(q_vector->rxr_idx, adapter->num_rx_queues); for (i = 0; i < q_vector->rxr_count; i++) { rx_ring = &(adapter->rx_ring[r_idx]); + if (!rx_ring->active) + continue; rx_ring->total_bytes = 0; rx_ring->total_packets = 0; #ifndef CONFIG_IXGBE_NAPI @@ -1501,6 +1559,8 @@ static irqreturn_t ixgbe_msix_clean_rx(i r_idx = find_first_bit(q_vector->rxr_idx, adapter->num_rx_queues); rx_ring = &(adapter->rx_ring[r_idx]); + if (!rx_ring->active) + return IRQ_HANDLED; /* disable interrupts on this...