13 Apr, 2011

1 commit

  • Most of these are cases where we are trying to read back a register
    after a write to ensure completion.

    Simply pre-fixing the readl() or readq() with "(void)" is sufficient
    because these are volatile operations and the compiler cannot eliminate
    them just because no real assignment takes place.

    The case of free_rxd_blk()'s assignments to "struct buffAdd *ba" is a
    real spurious assignment as this variable is completely otherwise
    unused.

    Signed-off-by: David S. Miller
    Acked-by: Jon Mason

    David S. Miller
     

12 Apr, 2011

24 commits


11 Apr, 2011

15 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (34 commits)
    net: Add support for SMSC LAN9530, LAN9730 and LAN89530
    mlx4_en: Restoring RX buffer pointer in case of failure
    mlx4: Sensing link type at device initialization
    ipv4: Fix "Set rt->rt_iif more sanely on output routes."
    MAINTAINERS: add entry for Xen network backend
    be2net: Fix suspend/resume operation
    be2net: Rename some struct members for clarity
    pppoe: drop PPPOX_ZOMBIEs in pppoe_flush_dev
    dsa/mv88e6131: add support for mv88e6085 switch
    ipv6: Enable RFS sk_rxhash tracking for ipv6 sockets (v2)
    be2net: Fix a potential crash during shutdown.
    bna: Fix for handling firmware heartbeat failure
    can: mcp251x: Allow pass IRQ flags through platform data.
    smsc911x: fix mac_lock acquision before calling smsc911x_mac_read
    iwlwifi: accept EEPROM version 0x423 for iwl6000
    rt2x00: fix cancelling uninitialized work
    rtlwifi: Fix some warnings/bugs
    p54usb: IDs for two new devices
    wl12xx: fix potential buffer overflow in testmode nvs push
    zd1211rw: reset rx idle timer from tasklet
    ...

    Linus Torvalds
     
  • This patch adds support for SMSC's LAN9530, LAN9730 and LAN89530 USB
    ethernet controllers to the existing smsc95xx driver by adding
    their new USB VID/PID pairs.

    Signed-off-by: Steve Glendinning
    Signed-off-by: David S. Miller

    Steve Glendinning
     
  • Signed-off-by: Michał Mirosław
    Signed-off-by: David S. Miller

    Michał Mirosław
     
  • Trivial conversion.

    This also enables toggling TX VLAN offload and fixes TX checksumming
    race with offload changes.

    Signed-off-by: Michał Mirosław
    Signed-off-by: David S. Miller

    Michał Mirosław
     
  • This also fixes possible race when changing receive checksum state
    and removes IPV6_CSUM_GEN_HACK as it's always set.

    BTW, The claim about fake IPV6 checksum looks dubious. If that were true,
    then there's a problem in networking core and should be fixed there and not
    in random drivers.

    BTW#2, there's no MAINTAINERS entry for this driver. I assume this driver
    is supported by Micrel?

    Signed-off-by: Michał Mirosław
    Signed-off-by: David S. Miller

    Michał Mirosław
     
  • This also removes TSO as it's made fully in software --- better to leave this
    to networking core.

    If the MAC features can be detected at probe time and not at open, then
    stmmac_fix_features could be simplified by limiting hw_features. That's
    also better for users as they don't see offloads being togglable but
    never turned on.

    Redundant fallbacks for TX csum are removed as it's already handled
    by network core.

    Signed-off-by: Michał Mirosław
    Signed-off-by: David S. Miller

    Michał Mirosław
     
  • Signed-off-by: Michał Mirosław
    Signed-off-by: David S. Miller

    Michał Mirosław
     
  • Simple conversion with a bit of needed cleanup.

    This also fixes:
    - confusion around vlan_features in rtl8169_vlan_mode(),
    - problem with broken TSO for too big MTU (the limit is set
    at 0xFFF --- max MSS field value).

    SG+IP_CSUM+TSO is left disabled by default, based on suggestion by
    David Dillow.

    Signed-off-by: Michał Mirosław
    Signed-off-by: David S. Miller

    Michał Mirosław
     
  • Fix up after merge with NETIF_F_RXHASH implementation.

    This allows to toggle NETIF_F_RXHASH and NETIF_F_HW_VLAN_TX.

    Signed-off-by: Michał Mirosław
    Signed-off-by: David S. Miller

    Michał Mirosław
     
  • Remove offload changing ethtool ops which drivers don't really support:

    - fs_enet
    - ucc_geth

    Signed-off-by: Michał Mirosław
    Signed-off-by: David S. Miller

    Michał Mirosław
     
  • The reverse path filter interferes with IPsec subnet-to-subnet tunnels,
    especially when the link to the IPsec peer is on an interface other than
    the one hosting the default route.

    With dynamic routing, where the peer might be reachable through eth0
    today and eth1 tomorrow, it's difficult to keep rp_filter enabled unless
    fake routes to the remote subnets are configured on the interface
    currently used to reach the peer.

    IPsec provides a much stronger anti-spoofing policy than rp_filter, so
    this patch disables the rp_filter for packets with a security path.

    Signed-off-by: Michael Smith
    Signed-off-by: David S. Miller

    Michael Smith
     
  • This makes sk_buff available for other use in fib_validate_source().

    Signed-off-by: Michael Smith
    Signed-off-by: David S. Miller

    Michael Smith
     
  • This patch adds some debug to the reset function to print out the
    reason why it fails.

    Signed-off-by: Simon Wood
    Signed-off-by: David S. Miller

    simon
     
  • This patch adds support for the PL-25A1 by adding the appropriate
    USB ID's. This chip is used in the Belkin 'Windows Easy Transfer'
    Cables.

    Signed-off-by: Simon Wood
    Signed-off-by: David S. Miller

    simon
     
  • This patch cleans up a couple of instances of incorrect whitespace

    Signed-off-by: Simon Wood
    Signed-off-by: David S. Miller

    simon