26 Dec, 2008

1 commit


23 Dec, 2008

1 commit

  • When the napi api was changed to separate its 1:1 binding to the net_device
    struct, the netif_rx_[prep|schedule|complete] api failed to remove the now
    vestigual net_device structure parameter. This patch cleans up that api by
    properly removing it..

    Signed-off-by: Neil Horman
    Signed-off-by: David S. Miller

    Neil Horman
     

22 Nov, 2008

5 commits


21 Nov, 2008

1 commit

  • This patch moves neigh_setup and hard_start_xmit into the network device ops
    structure. For bisection, fix all the previously converted drivers as well.
    Bonding driver took the biggest hit on this.

    Added a prefetch of the hard_start_xmit in the fast path to try and reduce
    any impact this would have.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    Stephen Hemminger
     

20 Nov, 2008

1 commit


04 Nov, 2008

1 commit


28 Oct, 2008

1 commit

  • A number of places still use %02x:...:%02x because it's
    in debug statements or for no real reason. Make a few
    of them use %pM.

    Signed-off-by: Johannes Berg
    Signed-off-by: David S. Miller

    Johannes Berg
     

14 Oct, 2008

1 commit

  • 2.6.27-git2 kernel build fails with allyesconfig on powerpc with
    build error

    CC drivers/net/enic/enic_main.o
    drivers/net/enic/enic_main.c: In function ‘enic_queue_wq_skb_tso’:
    drivers/net/enic/enic_main.c:576: error: implicit declaration of function ‘csum_ipv6_magic’
    make[3]: *** [drivers/net/enic/enic_main.o] Error 1

    drivers/net/qlge/qlge_main.c: In function ‘ql_tso’:
    drivers/net/qlge/qlge_main.c:1862: error: implicit declaration of function ‘csum_ipv6_magic’
    make[3]: *** [drivers/net/qlge/qlge_main.o] Error 1

    drivers/net/jme.c: In function ‘jme_tx_tso’:
    drivers/net/jme.c:1784: error: implicit declaration of function ‘csum_ipv6_magic’
    make[2]: *** [drivers/net/jme.o] Error 1

    Signed-off-by: Kamalesh Babulal
    Signed-off-by: Ron Mercer
    Signed-off-by: David S. Miller

    Kamalesh Babulal
     

10 Oct, 2008

1 commit


25 Sep, 2008

4 commits

  • Bug fix: don't set netdev->name early before netdev registration. Setting
    netdev->name early with dev_alloc_name() would occasionally cause netdev
    registration to fail returning error that device was already registered.
    Since we're using netdev->name to name MSI-X vectors, we now need to
    move the request_irq after netdev registartion, so move it to ->open.

    Signed-off-by: Scott Feldman
    Signed-off-by: Jeff Garzik

    Scott Feldman
     
  • Bug fix: Free MSI intr with correct data handle
    Use davem proposed naming for MSI-X tx/rx vectors (ethX-tx-0, ethX-rx-0)

    Signed-off-by: Scott Feldman
    Signed-off-by: Jeff Garzik

    Scott Feldman
     
  • Fixes for review items from Ben Hutchings:
    - use netdev->net_stats rather than private net_stats
    - use ethtool op .get_sset_count rather than .get_stats_count
    - err out if setting Tx/Rx csum or TSO using ethtool and setting is
    not enabled for device.
    - pass in jiffies + constant to round_jiffies
    - return err if new MTU is out-of-bounds

    Signed-off-by: Scott Feldman
    Signed-off-by: Jeff Garzik

    Scott Feldman
     
  • LRO is only applied to IPv4 pkts, so don't use the LRO indication functions
    for anything other IPv4 pkts. Every non-IPv4 pkt is indicated using non-
    LRO functions.

    Signed-off-by: Scott Feldman
    Signed-off-by: Jeff Garzik

    Scott Feldman
     

18 Sep, 2008

1 commit