1. 17 1月, 2018 8 次提交
  2. 16 1月, 2018 17 次提交
  3. 15 1月, 2018 6 次提交
  4. 12 1月, 2018 9 次提交
    • D
      Merge tag 'mlx5-fixes-2018-01-11' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 5dd966c6
      David S. Miller 提交于
      Saeed Mahameed says:
      
      ====================
      Mellanox, mlx5 fixes 2018-01-11
      
      The following series includes fixes to mlx5 core and netdev driver.
      To highlight we have two critical fixes in this series:
      1st patch from Eran to address a fix for Host2BMC Breakage.
      
      2nd patch from Saeed to address the RDMA IRQ vector affinity settings query
      issue, the patch provides the correct mlx5_core implementation for RDMA to
      correctly  query vector affinity.
      I sent this patch privately to Sagi a week a go, so he could to test it
      but I didn't hear from him.
      
      All other patches are trivial misc fixes.
      Please pull and let me know if there's any problem.
      
      for -stable v4.14-y and later:
      ("net/mlx5: Fix get vector affinity helper function")
      ("{net,ib}/mlx5: Don't disable local loopback multicast traffic when needed")
      
      Note: Merging this series with net-next will produce the following conflict:
      <<<<<<< HEAD
              u8         disable_local_lb[0x1];
              u8         reserved_at_3e2[0x1];
              u8         log_min_hairpin_wq_data_sz[0x5];
              u8         reserved_at_3e8[0x3];
      =======
              u8         disable_local_lb_uc[0x1];
              u8         disable_local_lb_mc[0x1];
              u8         reserved_at_3e3[0x8];
      >>>>>>> 359c96447ac2297fabe15ef30b60f3b4b71e7fd0
      
      To resolve, use the following hunk:
      i.e:
      <<<<<<
              u8         disable_local_lb_uc[0x1];
              u8         disable_local_lb_mc[0x1];
              u8         log_min_hairpin_wq_data_sz[0x5];
              u8         reserved_at_3e8[0x3];
      >>>>>>
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5dd966c6
    • D
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec · 9c70f1a7
      David S. Miller 提交于
      Steffen Klassert says:
      
      ====================
      pull request (net): ipsec 2018-01-11
      
      1) Don't allow to change the encap type on state updates.
         The encap type is set on state initialization and
         should not change anymore. From Herbert Xu.
      
      2) Skip dead policies when rehashing to fix a
         slab-out-of-bounds bug in xfrm_hash_rebuild.
         From Florian Westphal.
      
      3) Two buffer overread fixes in pfkey.
         From Eric Biggers.
      
      4) Fix rcu usage in xfrm_get_type_offload,
         request_module can sleep, so can't be used
         under rcu_read_lock. From Sabrina Dubroca.
      
      5) Fix an uninitialized lock in xfrm_trans_queue.
         Use __skb_queue_tail instead of skb_queue_tail
         in xfrm_trans_queue as we don't need the lock.
         From Herbert Xu.
      
      6) Currently it is possible to create an xfrm state with an
         unknown encap type in ESP IPv4. Fix this by returning an
         error on unknown encap types. Also from Herbert Xu.
      
      7) Fix sleeping inside a spinlock in xfrm_policy_cache_flush.
         From Florian Westphal.
      
      8) Fix ESP GRO when the headers not fully in the linear part
         of the skb. We need to pull before we can access them.
      
      9) Fix a skb leak on error in key_notify_policy.
      
      10) Fix a race in the xdst pcpu cache, we need to
          run the resolver routines with bottom halfes
          off like the old flowcache did.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9c70f1a7
    • L
      Merge tag 'ceph-for-4.15-rc8' of git://github.com/ceph/ceph-client · 1545dec4
      Linus Torvalds 提交于
      Pull ceph fixes from Ilya Dryomov:
       "Two rbd fixes for 4.12 and 4.2 issues respectively, marked for
        stable"
      
      * tag 'ceph-for-4.15-rc8' of git://github.com/ceph/ceph-client:
        rbd: set max_segments to USHRT_MAX
        rbd: reacquire lock should update lock owner client id
      1545dec4
    • L
      Merge tag 'gpio-v4.15-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · ab278159
      Linus Torvalds 提交于
      Pull GPIO fix from Linus Walleij:
       "Fix a raw vs elaborate GPIO descriptor bug introduced by yours truly"
      
      * tag 'gpio-v4.15-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        gpio: Add missing open drain/source handling to gpiod_set_value_cansleep()
      ab278159
    • F
      net/mlx5e: Remove timestamp set from netdevice open flow · 237f258c
      Feras Daoud 提交于
      To avoid configuration override, timestamp set call will
      be moved from the netdevice open flow to the init flow.
      By this, a close-open procedure will not override the timestamp
      configuration.
      In addition, the change will rename mlx5e_timestamp_set function
      to be mlx5e_timestamp_init.
      
      Fixes: ef9814de ("net/mlx5e: Add HW timestamping (TS) support")
      Signed-off-by: NFeras Daoud <ferasda@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      237f258c
    • F
      net/mlx5: Update ptp_clock_event foreach PPS event · afc98a0b
      Feras Daoud 提交于
      PPS event did not update ptp_clock_event fields, therefore,
      timestamp value was not updated correctly. This fix updates the
      event source and the timestamp value for each PPS event.
      
      Fixes: 7c39afb3 ("net/mlx5: PTP code migration to driver core section")
      Signed-off-by: NFeras Daoud <ferasda@mellanox.com>
      Reported-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      afc98a0b
    • G
      net/mlx5e: Don't override netdev features field unless in error flow · 75b81ce7
      Gal Pressman 提交于
      Set features function sets dev->features in order to keep track of which
      features were successfully changed and which weren't (in case the user
      asks for more than one change in a single command).
      
      This breaks the logic in __netdev_update_features which assumes that
      dev->features is not changed on success and checks for diffs between
      features and dev->features (diffs that might not exist at this point
      because of the driver override).
      
      The solution is to keep track of successful/failed feature changes and
      assign them to dev->features in case of failure only.
      
      Fixes: 0e405443 ("net/mlx5e: Improve set features ndo resiliency")
      Signed-off-by: NGal Pressman <galp@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      75b81ce7
    • T
      net/mlx5e: Check support before TC swap in ETS init · 4b7d4363
      Tariq Toukan 提交于
      Should not do the following swap between TCs 0 and 1
      when max num of TCs is 1:
      tclass[prio=0]=1, tclass[prio=1]=0, tclass[prio=i]=i (for i>1)
      
      Fixes: 08fb1dac ("net/mlx5e: Support DCBNL IEEE ETS")
      Signed-off-by: NTariq Toukan <tariqt@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      4b7d4363
    • T
      net/mlx5e: Add error print in ETS init · 97c8c3aa
      Tariq Toukan 提交于
      ETS initialization might fail, add a print to indicate
      such failures.
      
      Fixes: 08fb1dac ("net/mlx5e: Support DCBNL IEEE ETS")
      Signed-off-by: NTariq Toukan <tariqt@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      97c8c3aa