1. 14 Nov, 2007 3 commits
    • David S. Miller's avatar
      [NETX]: Fix build failure added by 2.6.24 statistics cleanup. · e2ac455a
      David S. Miller authored
      Reported by rmk from kautobuild output:
      
      drivers/net/netx-eth.c: In function 'netx_eth_hard_start_xmit':
      drivers/net/netx-eth.c:131: error: 'dev' undeclared (first use in this function)
      drivers/net/netx-eth.c:131: error: (Each undeclared identifier is reported only once
      drivers/net/netx-eth.c:131: error: for each function it appears in.)
      drivers/net/netx-eth.c: In function 'netx_eth_receive':
      drivers/net/netx-eth.c:158: error: 'dev' undeclared (first use in this function)
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e2ac455a
    • David S. Miller's avatar
      [EP93xx_ETH]: Build fix after 2.6.24 NAPI changes. · 4e04b84e
      David S. Miller authored
      Reported by rmk from kautobuild output:
      
      drivers/net/arm/ep93xx_eth.c:420: error: implicit declaration of function '__netif_rx_schedule_prep'
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4e04b84e
    • Peter P Waskiewicz Jr's avatar
      [PKT_SCHED]: Check subqueue status before calling hard_start_xmit · 5f1a485d
      Peter P Waskiewicz Jr authored
      The only qdiscs that check subqueue state before dequeue'ing are PRIO
      and RR.  The other qdiscs, including the default pfifo_fast qdisc,
      will allow traffic bound for subqueue 0 through to hard_start_xmit.
      The check for netif_queue_stopped() is done above in pkt_sched.h, so
      it is unnecessary for qdisc_restart().  However, if the underlying
      driver is multiqueue capable, and only sets queue states on subqueues,
      this will allow packets to enter the driver when it's currently unable
      to process packets, resulting in expensive requeues and driver
      entries.  This patch re-adds the check for the subqueue status before
      calling hard_start_xmit, so we can try and avoid the driver entry when
      the queues are stopped.
      Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5f1a485d
  2. 13 Nov, 2007 37 commits