09 Mar, 2014

1 commit


08 Mar, 2014

1 commit


19 Feb, 2014

1 commit

  • Pull networking fixes from David Miller:

    1) kvaser CAN driver has fixed limits of some of it's table, validate
    that we won't exceed those limits at probe time. Fix from Olivier
    Sobrie.

    2) Fix rtl8192ce disabling interrupts for too long, from Olivier
    Langlois.

    3) Fix botched shift in ath5k driver, from Dan Carpenter.

    4) Fix corruption of deferred packets in TIPC, from Erik Hugne.

    5) Fix newlink error path in macvlan driver, from Cong Wang.

    6) Fix netpoll deadlock in bonding, from Ding Tianhong.

    7) Handle GSO packets properly in forwarding path when fragmentation is
    necessary on egress, from Florian Westphal.

    8) Fix axienet build errors, from Michal Simek.

    9) Fix refcounting of ubufs on tx in vhost net driver, from Michael S
    Tsirkin.

    10) Carrier status isn't set properly in hyperv driver, from Haiyang
    Zhang.

    11) Missing pci_disable_device() in tulip_remove_one), from Ingo Molnar.

    12) AF_PACKET qdisc bypass mode doesn't adhere to driver provided TX
    queue selection method. Add a fallback method mechanism to fix this
    bug, from Daniel Borkmann.

    13) Fix regression in link local route handling on GRE tunnels, from
    Nicolas Dichtel.

    14) Bonding can assign dup aggregator IDs in some sequences of
    configuration, fix by making the allocation counter per-bond instead
    of global. From Jiri Bohac.

    15) sctp_connectx() needs compat translations, from Daniel Borkmann.

    16) Fix of_mdio PHY interrupt parsing, from Ben Dooks

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (62 commits)
    MAINTAINERS: add entry for the PHY library
    of_mdio: fix phy interrupt passing
    net: ethernet: update dependency and help text of mvneta
    NET: fec: only enable napi if we are successful
    af_packet: remove a stray tab in packet_set_ring()
    net: sctp: fix sctp_connectx abi for ia32 emulation/compat mode
    ipv4: fix counter in_slow_tot
    irtty-sir.c: Do not set_termios() on irtty_close()
    bonding: 802.3ad: make aggregator_identifier bond-private
    usbnet: remove generic hard_header_len check
    gre: add link local route when local addr is any
    batman-adv: fix potential kernel paging error for unicast transmissions
    batman-adv: avoid double free when orig_node initialization fails
    batman-adv: free skb on TVLV parsing success
    batman-adv: fix TT CRC computation by ensuring byte order
    batman-adv: fix potential orig_node reference leak
    batman-adv: avoid potential race condition when adding a new neighbour
    batman-adv: properly check pskb_may_pull return value
    batman-adv: release vlan object after checking the CRC
    batman-adv: fix TT-TVLV parsing on OGM reception
    ...

    Linus Torvalds
     

17 Feb, 2014

1 commit

  • Add a new argument for ndo_select_queue() callback that passes a
    fallback handler. This gets invoked through netdev_pick_tx();
    fallback handler is currently __netdev_pick_tx() as most drivers
    invoke this function within their customized implementation in
    case for skbs that don't need any special handling. This fallback
    handler can then be replaced on other call-sites with different
    queue selection methods (e.g. in packet sockets, pktgen etc).

    This also has the nice side-effect that __netdev_pick_tx() is
    then only invoked from netdev_pick_tx() and export of that
    function to modules can be undone.

    Suggested-by: David S. Miller
    Signed-off-by: Daniel Borkmann
    Signed-off-by: David S. Miller

    Daniel Borkmann
     

08 Feb, 2014

1 commit


11 Jan, 2014

1 commit

  • Currently, the tx queue were selected implicitly in ndo_dfwd_start_xmit(). The
    will cause several issues:

    - NETIF_F_LLTX were removed for macvlan, so txq lock were done for macvlan
    instead of lower device which misses the necessary txq synchronization for
    lower device such as txq stopping or frozen required by dev watchdog or
    control path.
    - dev_hard_start_xmit() was called with NULL txq which bypasses the net device
    watchdog.
    - dev_hard_start_xmit() does not check txq everywhere which will lead a crash
    when tso is disabled for lower device.

    Fix this by explicitly introducing a new param for .ndo_select_queue() for just
    selecting queues in the case of l2 forwarding offload. netdev_pick_tx() was also
    extended to accept this parameter and dev_queue_xmit_accel() was used to do l2
    forwarding transmission.

    With this fixes, NETIF_F_LLTX could be preserved for macvlan and there's no need
    to check txq against NULL in dev_hard_start_xmit(). Also there's no need to keep
    a dedicated ndo_dfwd_start_xmit() and we can just reuse the code of
    dev_queue_xmit() to do the transmission.

    In the future, it was also required for macvtap l2 forwarding support since it
    provides a necessary synchronization method.

    Cc: John Fastabend
    Cc: Neil Horman
    Cc: e1000-devel@lists.sourceforge.net
    Signed-off-by: Jason Wang
    Acked-by: Neil Horman
    Acked-by: John Fastabend
    Signed-off-by: David S. Miller

    Jason Wang
     

16 Oct, 2013

1 commit


26 Sep, 2013

1 commit


25 Jun, 2013

1 commit


20 Jun, 2013

1 commit


12 Jun, 2013

1 commit


15 Mar, 2013

1 commit


12 Mar, 2013

1 commit

  • Add support for the Network Accelerator Engine on Netlogic XLR/XLS
    MIPS SoCs. The XLR/XLS NAE blocks can be configured as one 10G
    interface or four 1G interfaces. This driver supports blocks
    with 1G ports.

    Signed-off-by: Ganesan Ramalingam
    Signed-off-by: Greg Kroah-Hartman

    Ganesan Ramalingam