30 Dec, 2008

1 commit

  • I hit similar build failure due to the change in the netif_rx_reschedule()

    drivers/net/ehea/ehea_main.c: In function 'ehea_poll':
    drivers/net/ehea/ehea_main.c:844: warning: passing argument 1 of 'netif_rx_reschedule' from incompatible pointer type
    drivers/net/ehea/ehea_main.c:844: error: too many arguments to function 'netif_rx_reschedule'
    make[3]: *** [drivers/net/ehea/ehea_main.o] Error 1

    greping through the sources for the changes missed out, we have

    ./drivers/net/arm/ixp4xx_eth.c:507: netif_rx_reschedule(dev, napi)) {
    ./drivers/net/arm/ep93xx_eth.c:310: if (more && netif_rx_reschedule(dev, napi))
    ./drivers/net/wan/ixp4xx_hss.c:657: netif_rx_reschedule(dev, napi)) {

    Signed-off-by: Kamalesh Babulal
    Acked-by: Neil Horman
    Signed-off-by: David S. Miller

    Kamalesh Babulal
     

26 Dec, 2008

5 commits


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 Dec, 2008

4 commits


06 Dec, 2008

2 commits


26 Nov, 2008

1 commit


25 Nov, 2008

1 commit


22 Nov, 2008

19 commits


20 Nov, 2008

1 commit


13 Nov, 2008

1 commit

  • We have some reasons to kill netdev->priv:
    1. netdev->priv is equal to netdev_priv().
    2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
    netdev_priv() is more flexible than netdev->priv.
    But we cann't kill netdev->priv, because so many drivers reference to it
    directly.

    This patch is a safe convert for netdev->priv to netdev_priv(netdev).
    Since all of the netdev->priv is only for read.
    But it is too big to be sent in one mail.
    I split it to 4 parts and make every part smaller than 100,000 bytes,
    which is max size allowed by vger.

    Signed-off-by: Wang Chen
    Signed-off-by: David S. Miller

    Wang Chen
     

04 Nov, 2008

1 commit


31 Oct, 2008

3 commits