21 Oct, 2010

1 commit

  • Many (but not all) drivers check to see whether there is a vlan
    group configured before using a tag stored in the skb. There's
    not much point in this check since it just throws away data that
    should only be present in the expected circumstances. However,
    it will soon be legal and expected to get a vlan tag when no
    vlan group is configured, so remove this check from all drivers
    to avoid dropping the tags.

    Signed-off-by: Jesse Gross
    Signed-off-by: David S. Miller

    Jesse Gross
     

06 Oct, 2010

2 commits

  • As suggested by Stephen Hemminger:
    1) Made functions and data structures static wherever possible.
    2) Removed unused code.

    Signed-off-by: Debashis Dutt
    Signed-off-by: Rasesh Mody
    Signed-off-by: David S. Miller

    Rasesh Mody
     
  • This fix handles the case when IRQ handler is called (for shared IRQs)
    even before the driver is ready to handle interrupts.

    Signed-off-by: Debashis Dutt
    Signed-off-by: Rasesh Mody
    Signed-off-by: David S. Miller

    Rasesh Mody
     

27 Sep, 2010

1 commit


20 Sep, 2010

1 commit


13 Sep, 2010

1 commit


07 Sep, 2010

1 commit


03 Sep, 2010

2 commits

  • fresh skbs have ip_summed set to CHECKSUM_NONE (0)

    We can avoid setting again skb->ip_summed to CHECKSUM_NONE in drivers.

    Introduce skb_checksum_none_assert() helper so that we keep this
    assertion documented in driver sources.

    Change most occurrences of :

    skb->ip_summed = CHECKSUM_NONE;

    by :

    skb_checksum_none_assert(skb);

    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • get_stats() method incorrectly clears a global array before folding
    various stats. This can break SNMP applications.

    Switch to 64 bit flavor to work on a user supplied buffer, and provide
    64bit counters even on 32bit arches.

    Fix a bug in bnad_netdev_hwstats_fill(), for rx_fifo_errors, missing a
    folding (only the last counter was taken into account)

    Signed-off-by: Eric Dumazet
    Acked-by: Rasesh Mody
    Signed-off-by: David S. Miller

    Eric Dumazet
     

26 Aug, 2010

1 commit

  • This is the patch to fix the build break caused by multiple
    definitions of symbols between Brocade's FC/FCOE driver(BFA)
    and 10G Networking Driver(BNA).

    Changes are:

    1. locally used functions are made static

    2. unused functions are removed

    3. using unique namespaces for the function names that must be
    globally visible

    Signed-off-by: Debashis Dutt
    Signed-off-by: Rasesh Mody
    Signed-off-by: David S. Miller

    Rasesh Mody
     

24 Aug, 2010

2 commits