1. 05 4月, 2018 2 次提交
  2. 04 4月, 2018 1 次提交
  3. 28 3月, 2018 1 次提交
    • J
      RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 · 26b99066
      Jason Gunthorpe 提交于
      The new auditing standard for the subsystem will be to only use
      __aligned_64 in uapi headers to try and prevent 32/64 compat bugs
      from existing in the future.
      
      Changing all existing usage will help ensure new developers copy the
      right idea.
      
      The before/after of this patch was tested using pahole on 32 and 64
      bit compiles to confirm it has no change in the structure layout, so
      this patch is a NOP.
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      26b99066
  4. 20 3月, 2018 1 次提交
  5. 19 1月, 2018 2 次提交
  6. 09 1月, 2018 2 次提交
  7. 29 12月, 2017 3 次提交
  8. 14 11月, 2017 1 次提交
  9. 02 11月, 2017 1 次提交
    • G
      License cleanup: add SPDX license identifier to uapi header files with a license · e2be04c7
      Greg Kroah-Hartman 提交于
      Many user space API headers have licensing information, which is either
      incomplete, badly formatted or just a shorthand for referring to the
      license under which the file is supposed to be.  This makes it hard for
      compliance tools to determine the correct license.
      
      Update these files with an SPDX license identifier.  The identifier was
      chosen based on the license information in the file.
      
      GPL/LGPL licensed headers get the matching GPL/LGPL SPDX license
      identifier with the added 'WITH Linux-syscall-note' exception, which is
      the officially assigned exception identifier for the kernel syscall
      exception:
      
         NOTE! This copyright does *not* cover user programs that use kernel
         services by normal system calls - this is merely considered normal use
         of the kernel, and does *not* fall under the heading of "derived work".
      
      This exception makes it possible to include GPL headers into non GPL
      code, without confusing license compliance tools.
      
      Headers which have either explicit dual licensing or are just licensed
      under a non GPL license are updated with the corresponding SPDX
      identifier and the GPLv2 with syscall exception identifier.  The format
      is:
              ((GPL-2.0 WITH Linux-syscall-note) OR SPDX-ID-OF-OTHER-LICENSE)
      
      SPDX license identifiers are a legally binding shorthand, which can be
      used instead of the full boiler plate text.  The update does not remove
      existing license information as this has to be done on a case by case
      basis and the copyright holders might have to be consulted. This will
      happen in a separate step.
      
      This patch is based on work done by Thomas Gleixner and Kate Stewart and
      Philippe Ombredanne.  See the previous patch in this series for the
      methodology of how this patch was researched.
      Reviewed-by: NKate Stewart <kstewart@linuxfoundation.org>
      Reviewed-by: NPhilippe Ombredanne <pombredanne@nexb.com>
      Reviewed-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e2be04c7
  10. 26 10月, 2017 6 次提交
  11. 25 8月, 2017 3 次提交
  12. 25 3月, 2017 1 次提交
    • D
      uapi: fix rdma/mlx5-abi.h userspace compilation errors · 812755d6
      Dmitry V. Levin 提交于
      Consistently use types from linux/types.h to fix the following
      rdma/mlx5-abi.h userspace compilation errors:
      
      /usr/include/rdma/mlx5-abi.h:69:25: error: 'u64' undeclared here (not in a function)
        MLX5_LIB_CAP_4K_UAR = (u64)1 << 0,
      /usr/include/rdma/mlx5-abi.h:69:29: error: expected ',' or '}' before numeric constant
        MLX5_LIB_CAP_4K_UAR = (u64)1 << 0,
      
      Include <linux/if_ether.h> to fix the following rdma/mlx5-abi.h
      userspace compilation error:
      
      /usr/include/rdma/mlx5-abi.h:286:12: error: 'ETH_ALEN' undeclared here (not in a function)
        __u8 dmac[ETH_ALEN];
      Signed-off-by: NDmitry V. Levin <ldv@altlinux.org>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      812755d6
  13. 25 1月, 2017 1 次提交
    • O
      IB/mlx5: Enable Eth VFs to query their min-inline value for user-space · 78984898
      Or Gerlitz 提交于
      For some mlx5 HW models (CX4, CX4Lx), the VF driver needs to put part
      of the packet headers on the TX descriptor so the e-switch can do proper
      matching and steering. This is called "min-inline", it's advertized to
      the VF by the FW and also enforced on them by the HW, such that if they
      don't obey, their packets are dropped.
      
      SRIOV VF libmlx5 instances should take into account the min-inline
      value of their vports. For that end, we provide this value through
      the vendor response part of init_ucontext command.
      
      The min inline value is reported in a way which will let newer libmlx5
      instances realize that they are running over an older kernel and act
      accordingly (e.g apply some educated guess).
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Reviewed-by: NMatan Barak <matanb@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      78984898
  14. 10 1月, 2017 1 次提交
  15. 08 1月, 2017 1 次提交
  16. 14 12月, 2016 6 次提交
  17. 08 10月, 2016 2 次提交
  18. 23 6月, 2016 4 次提交
  19. 02 3月, 2016 1 次提交