1. Feb 18, 2017
  2. Feb 17, 2017
    • Eric Dumazet's avatar
      mlx4: do not fire tasklet unless necessary · 01f0f425
      Eric Dumazet authored
      
      
      All rx and rx netdev interrupts are handled by respectively
      by mlx4_en_rx_irq() and mlx4_en_tx_irq() which simply schedule a NAPI.
      
      But mlx4_eq_int() also fires a tasklet to service all items that were
      queued via mlx4_add_cq_to_tasklet(), but this handler was not called
      unless user cqe was handled.
      
      This is very confusing, as "mpstat -I SCPU ..." show huge number of
      tasklet invocations.
      
      This patch saves this overhead, by carefully firing the tasklet directly
      from mlx4_add_cq_to_tasklet(), removing four atomic operations per IRQ.
      
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Tariq Toukan <tariqt@mellanox.com>
      Cc: Saeed Mahameed <saeedm@mellanox.com>
      Acked-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      01f0f425
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next · 99d5ceee
      David S. Miller authored
      Steffen Klassert says:
      
      ====================
      pull request (net-next): ipsec-next 2017-02-16
      
      1) Make struct xfrm_input_afinfo const, nothing writes to it.
         From Florian Westphal.
      
      2) Remove all places that write to the afinfo policy backend
         and make the struct const then.
         From Florian Westphal.
      
      3) Prepare for packet consuming gro callbacks and add
         ESP GRO handlers. ESP packets can be decapsulated
         at the GRO layer then. It saves a round through
         the stack for each ESP packet.
      
      Please note that this has a merge coflict between commit
      
      63fca65d ("net: add confirm_neigh method to dst_ops")
      
      from net-next and
      
      3d7d25a6 ("xfrm: policy: remove garbage_collect callback")
      a2817d8b ("xfrm: policy: remove family field")
      
      from ipsec-next.
      
      The conflict can be solved as it is done in linux-next.
      
      Please pull or let me know if there are problems.
      ====================
      
      Signed-off-by: David S. Miller <d...
      99d5ceee
    • David S. Miller's avatar
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 5237b9dd
      David S. Miller authored
      
      
      Jeff Kirsher says:
      
      ====================
      10GbE Intel Wired LAN Driver Updates 2017-02-16
      
      This series contains updates to ixgbe only.
      
      Tony updates the driver to advertise 2.5Gb and 5.0Gb if the adapter
      supports it.
      
      Stephen Hemminger renames our dcbnl_ops since it is global to
      ixgbe_dcbnl_ops to avoid namespace issues.
      
      Mark updates the driver version based on the recent changes.
      
      Alex has the remainder of the changes, starting with consolidating
      functions that represent logical steps in the receive process so we can
      later update them more easily (and align with igb).  Modify the receive
      path to only synchronize the length of the frame versus the entire buffer.
      Provided performance improvements by adding support for
      DMA_ATTR_SKIP_CPU_SYNC and DMA_ATTR_WEAK_ORDERING.  Also made additional
      performance gains by batching the page count updates instead of doing
      them one at a time.  Adjusted the receive path to use 3k buffers with
      8k backing them in order to support build_skb with jumbo frames.  Made
      additional driver improvements by using the length of the packet instead
      of the DD status to determine if a new descriptor is ready to be
      processed, which cuts down on reads.  To reduce code duplication, pulled
      apart the receive path into separate functions.  Added support for
      providing a buffer with headroom and tailroom to allow for shared info
      for NET_SKB_PAD and NET_IP_ALIGN.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5237b9dd
    • David S. Miller's avatar
    • Ganesh Goudar's avatar
      cxgb4: Remove redundant code in t4_uld_clean_up() · f3caf861
      Ganesh Goudar authored
      
      
      Remove variable rxq_info and also remove redundant assignment
      to it.
      
      Signed-off-by: default avatarGanesh Goudar <ganeshgr@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f3caf861
    • Ganesh Goudar's avatar
      5d071c24
    • Arjun V's avatar
      cxgb4: Increase max number of tc u32 links · 45da1ca2
      Arjun V authored
      
      
      Make max number of supported tc u32 links equal to max number of filters
      supported by hardware.
      
      Signed-off-by: default avatarArjun V <arjun@chelsio.com>
      Signed-off-by: default avatarRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
      Signed-off-by: default avatarCasey Leedom <leedom@chelsio.com>
      Signed-off-by: default avatarGanesh Goudar <ganeshgr@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      45da1ca2
    • Linus Torvalds's avatar
      Merge tag 'media/v4.10-5' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 4695daef
      Linus Torvalds authored
      Pull media fix from Mauro Carvalho Chehab:
       "A regression fix that makes the Siano driver to work again after the
        CONFIG_VMAP_STACK change"
      
      * tag 'media/v4.10-5' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        [media] siano: make it work again with CONFIG_VMAP_STACK
      4695daef
    • Miklos Szeredi's avatar
      vfs: fix uninitialized flags in splice_to_pipe() · 5a81e6a1
      Miklos Szeredi authored
      
      
      Flags (PIPE_BUF_FLAG_PACKET, PIPE_BUF_FLAG_GIFT) could remain on the
      unused part of the pipe ring buffer.  Previously splice_to_pipe() left
      the flags value alone, which could result in incorrect behavior.
      
      Uninitialized flags appears to have been there from the introduction of
      the splice syscall.
      
      Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
      Cc: <stable@vger.kernel.org> # 2.6.17+
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5a81e6a1
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · 58f6eaee
      Linus Torvalds authored
      Pull fuse fixes from Miklos Szeredi:
       "Fix a use after free bug introduced in 4.2 and using an uninitialized
        value introduced in 4.9"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
        fuse: fix uninitialized flags in pipe_buffer
        fuse: fix use after free issue in fuse_dev_do_read()
      58f6eaee
    • Linus Torvalds's avatar
      Merge tag 'pci-v4.10-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · aa6fba55
      Linus Torvalds authored
      Pull PCI fix from Bjorn Helgaas:
       "Add back pcie_pme_remove() so we free the IRQ when removing PCIe port
        devices; previously the leaked IRQ caused an MSI BUG_ON"
      
      * tag 'pci-v4.10-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI/PME: Restore pcie_pme_driver.remove
      aa6fba55
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 3c7a9f32
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) In order to avoid problems in the future, make cgroup bpf overriding
          explicit using BPF_F_ALLOW_OVERRIDE. From Alexei Staovoitov.
      
       2) LLC sets skb->sk without proper skb->destructor and this explodes,
          fix from Eric Dumazet.
      
       3) Make sure when we have an ipv4 mapped source address, the
          destination is either also an ipv4 mapped address or
          ipv6_addr_any(). Fix from Jonathan T. Leighton.
      
       4) Avoid packet loss in fec driver by programming the multicast filter
          more intelligently. From Rui Sousa.
      
       5) Handle multiple threads invoking fanout_add(), fix from Eric
          Dumazet.
      
       6) Since we can invoke the TCP input path in process context, without
          BH being disabled, we have to accomodate that in the locking of the
          TCP probe. Also from Eric Dumazet.
      
       7) Fix erroneous emission of NETEVENT_DELAY_PROBE_TIME_UPDATE when we
          aren't even updating that sysctl value. From Marcus Huewe.
      
       8) Fix endian bugs in ibmvnic driver, from Thomas Falcon.
      
      [ This is the second version of the pull that reverts the nested
        rhashtable changes that looked a bit too scary for this late in the
        release  - Linus ]
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (27 commits)
        rhashtable: Revert nested table changes.
        ibmvnic: Fix endian errors in error reporting output
        ibmvnic: Fix endian error when requesting device capabilities
        net: neigh: Fix netevent NETEVENT_DELAY_PROBE_TIME_UPDATE notification
        net: xilinx_emaclite: fix freezes due to unordered I/O
        net: xilinx_emaclite: fix receive buffer overflow
        bpf: kernel header files need to be copied into the tools directory
        tcp: tcp_probe: use spin_lock_bh()
        uapi: fix linux/if_pppol2tp.h userspace compilation errors
        packet: fix races in fanout_add()
        ibmvnic: Fix initial MTU settings
        net: ethernet: ti: cpsw: fix cpsw assignment in resume
        kcm: fix a null pointer dereference in kcm_sendmsg()
        net: fec: fix multicast filtering hardware setup
        ipv6: Handle IPv4-mapped src to in6addr_any dst.
        ipv6: Inhibit IPv4-mapped src address on the wire.
        net/mlx5e: Disable preemption when doing TC statistics upcall
        rhashtable: Add nested tables
        tipc: Fix tipc_sk_reinit race conditions
        gfs2: Use rhashtable walk interface in glock_hash_walk
        ...
      3c7a9f32
  3. Feb 16, 2017