01 Apr, 2014

1 commit

  • This device provides QMI and ethernet functionality via a standard CDC
    ethernet descriptor. But when driven by cdc_ether, the QMI
    functionality is unavailable because only cdc_ether can claim the USB
    interface. Thus blacklist the device in cdc_ether and add its IDs to
    qmi_wwan, which enables both QMI and ethernet simultaneously.

    Signed-off-by: Yegor Yefremov
    Signed-off-by: David S. Miller

    Yegor Yefremov
     

31 Mar, 2014

2 commits

  • For the ppp driver, there are currently two open-coded BPF filters in use,
    that is, pass_filter and active_filter. Migrate both to make proper use
    of sk_unattached_filter_{create,destroy} API so that the actual BPF code
    is decoupled from direct access, and filters can be jited as a side-effect
    by the internal filter compiler.

    Joint work with Alexei Starovoitov.

    Signed-off-by: Daniel Borkmann
    Signed-off-by: Alexei Starovoitov
    Cc: Paul Mackerras
    Cc: linux-ppp@vger.kernel.org
    Signed-off-by: David S. Miller

    Daniel Borkmann
     
  • There are currently pch_gbe, cpts, and ixp4xx_eth drivers that open-code
    and reimplement a BPF classifier for the PTP protocol. Since all of them
    effectively do the very same thing and load the very same PTP/BPF filter,
    we can just consolidate that code by introducing ptp_classify_raw() in
    the time-stamping core framework which can be used in drivers.

    As drivers get initialized after bootstrapping the core networking
    subsystem, they can make use of ptp_insns wrapped through
    ptp_classify_raw(), which allows to simplify and remove PTP classifier
    setup code in drivers.

    Joint work with Alexei Starovoitov.

    Signed-off-by: Daniel Borkmann
    Signed-off-by: Alexei Starovoitov
    Cc: Richard Cochran
    Cc: Jiri Benc
    Signed-off-by: David S. Miller

    Daniel Borkmann
     

30 Mar, 2014

12 commits


29 Mar, 2014

17 commits

  • For completeness, turn off vlan rx acceleration in vlan_features so
    that it doesn't show up on q-in-q setups.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • Do not include vlan acceleration features in vlan_features as that
    precludes correct Q-in-Q operation.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • qlge driver turns off NETIF_F_HW_CTAG_FILTER, but forgets to
    turn off HW_CTAG_TX and HW_CTAG_RX on vlan devices. With the
    current settings, q-in-q will only generate a single vlan header.
    Remember to mask off CTAG_TX and CTAG_RX features in vlan_features.

    CC: Shahed Shaikh
    CC: Jitendra Kalsaria
    CC: Ron Mercer
    Signed-off-by: Vlad Yasevich
    Acked-by: Jitendra Kalsaria
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • As in xmit path we merely update statistics and free the skb, we
    can mark the device with LLTX feature, so that upper layers can
    avoid taking the single txq lock on xmit. While at it, also add
    missing NETIF_F_SG.

    Signed-off-by: Daniel Borkmann
    Acked-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Daniel Borkmann
     
  • Signed-off-by: Hariprasad Shenai
    Signed-off-by: David S. Miller

    Hariprasad Shenai
     
  • Signed-off-by: Hariprasad Shenai
    Signed-off-by: David S. Miller

    Hariprasad Shenai
     
  • Add implementation for the add/del vxlan port ndo calls, using the
    CONFIG_DEV firmware command.

    Signed-off-by: Or Gerlitz
    Signed-off-by: David S. Miller

    Or Gerlitz
     
  • Introduce the CONFIG_DEV firmware command which we will use to
    configure the UDP port assumed by the firmware for the VXLAN offloads.

    Signed-off-by: Or Gerlitz
    Signed-off-by: David S. Miller

    Or Gerlitz
     
  • When a VF issues a firmware command which is disallowed for them, the PF
    rerturns -EPERM from that command wrapper. Move to use one such wrapper
    instance, instead of repeating the same code on such commands.

    Signed-off-by: Or Gerlitz
    Signed-off-by: David S. Miller

    Or Gerlitz
     
  • Commit 2dc33bbc4 "bnx2x: Remove the sriov VFOP mechanism" introduced a possible
    memory leak on the error flow during multicast filters configuration.

    Reported-by: Dan Carpenter
    Signed-off-by: Yuval Mintz
    Signed-off-by: Ariel Elior
    Signed-off-by: David S. Miller

    Yuval Mintz
     
  • The pm_rumtime work queue is causing the device to be suspended during
    initialisation, thus the initialisation may not be able to access registers
    properly. As the code is called from a work queue, it is possible that this
    is not seen from certain configurations/builds due to the asynchronos
    nature of the code.

    Another issue has also been found where the network device registration
    calls back into the driver thus causing further pm_runtime calls that
    also caused issues with the MDIO bus code. This has now been checked
    and is the only place the MDIO can be called without the device open.

    Use pm_runtime_get_sync() and pm_runtime_put() to ensure that the
    pm system does not suspend it during the probe() call and remove the
    now unnecessary pm_runtime_resume() call. Also add a call in the error
    path to call pm_runtime_disable().

    This fixes the external abort that can cause /sbin/init or other such
    init processed to die.

    Signed-off-by: Ben Dooks
    Tested-by: Geert Uytterhoeven
    Acked-by: Laurent Pinchart
    Signed-off-by: David S. Miller

    Ben Dooks
     
  • Like the STi and sunxi series SOCs, Altera's SOCFPGA also needs a glue layer
    on top of the Synopsys gmac IP.

    This patch adds the platform driver for the glue layer which configures the IP
    before the generic STMMAC driver takes over.

    Signed-off-by: Dinh Nguyen
    Signed-off-by: David S. Miller

    Dinh Nguyen
     
  • Jeff Kirsher says:

    ====================
    Intel Wired LAN Driver Updates

    This series contains updates to e1000e, igb, i40e and i40evf

    Anjali provides i40e fix to remove the ATR filter on RST as well as FIN
    packets. Cleans up add_del_fdir() because it was used and implemented
    only for the add, so change the name and drop a parameter. Adds the
    ability to drop a flow if we wanted to and adds a flow director
    message level to be used for flow director specific messages.

    Mitch fixes an issue on i40evf where the Tx watchdog handler was causing
    an oops when sending an admin queue message to request a reset because
    the admin queue functions use spinlocks.

    Greg provides a change to i40e to make the alloc and free queue vector
    calls orthogonal.

    Shannon fixes i40e to verify the eeprom checksum and firmware CRC status
    bits, and shutdown the driver if they fail. This change stops the
    processing of traffic, but does not kill the PF netdev so that the
    NVMUpdate process still has a chance at fixing the image. Also provides
    a fix to make sure the VSI has a netdev before trying to use it in
    the debugfs netdev_ops commands.

    Jakub Kicinski provides patches for e1000e and igb to fix a number issues
    found in the PTP code.

    v2:
    - drop patch 11 "i40e: Add a fallback debug flow for the driver" from the
    series based on feedback from David Miller
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • This fixes following:

    drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1828 sxgbe_hw_init()
    error: potential null dereference 'priv->hw'. (kmalloc returns null)

    Reported-by: kbuild test robot
    Signed-off-by: Byungho An
    Signed-off-by: David S. Miller

    Byungho An
     
  • This fixes followings:

    sparse warnings: (new ones prefixed by >>)

    >> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:197:5:
    sparse: symbol 'sxgbe_platform_freeze' was not declared. Should it be static?
    >> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:204:5:
    sparse: symbol 'sxgbe_platform_restore' was not declared. Should it be static?
    >> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:228:24:
    sparse: symbol 'sxgbe_platform_driver' was not declared. Should it be static?

    >> drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1795:6:
    sparse: symbol 'sxgbe_get_ops' was not declared. Should it be static?

    Reported-by: kbuild test robot
    Signed-off-by: Byungho An
    Signed-off-by: David S. Miller

    Byungho An
     
  • This patch mainly implements the add/del_vxlan_port() methods by invoking
    the needed FW cmds for supporting VxLAN offloads for Skyhawk-R.

    Signed-off-by: Sathya Perla
    Signed-off-by: David S. Miller

    Sathya Perla
     
  • This patch adds support for the FW cmds needed for VxLAN offloads
    on Skyhawk-R:
    1) The VxLAN UDP port needs to be configured via the port-desc of
    SET_PROFILE_CONFIG_v1 cmd.
    This patch re-factors the be_set_profile_config() code (used so far
    only for setting VF QoS) to be used to set any type of descriptor.
    2) The MANAGE_IFACE_FILTERS cmds is needed to convert a normal interface
    into a tunnel interface. This allows for RSS to work even on the inner
    TCP/UDP headers of VxLAN traffic.

    Signed-off-by: Sathya Perla
    Signed-off-by: David S. Miller

    Sathya Perla
     

28 Mar, 2014

8 commits