Merge branch 'mlx5-next' into rdma.git for-next
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 10 Apr 2019 17:59:27 +0000 (14:59 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 10 Apr 2019 17:59:27 +0000 (14:59 -0300)
From
git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux

Required for dependencies on the next series

* branch 'mlx5-next':
  net/mlx5: E-Switch, add a new prio to be used by the RDMA side
  net/mlx5: E-Switch, don't use hardcoded values for FDB prios
  net/mlx5: Fix false compilation warning
  net/mlx5: Expose MPEIN (Management PCIE INfo) register layout
  net/mlx5: Add rate limit print macros
  net/mlx5: Add explicit bar address field
  net/mlx5: Replace dev_err/warn/info by mlx5_core_err/warn/info
  net/mlx5: Use dev->priv.name instead of dev_name
  net/mlx5: Make mlx5_core messages independent from mdev->pdev
  net/mlx5: Break load_one into three stages
  net/mlx5: Function setup/teardown procedures
  net/mlx5: Move health and page alloc init to mdev_init
  net/mlx5: Split mdev init and pci init
  net/mlx5: Remove redundant init functions parameter
  net/mlx5: Remove spinlock support from mlx5_write64
  net/mlx5: Remove unused MLX5_*_DOORBELL_LOCK macros

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
13 files changed:
1  2 
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/qp.c
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/health.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
drivers/net/ethernet/mellanox/mlx5/core/uar.c
include/linux/mlx5/driver.h
include/linux/mlx5/mlx5_ifc.h

@@@ -2326,13 -2301,10 +2326,13 @@@ int mlx5_ib_dealloc_dm(struct ib_dm *ib
        if (ret)
                return ret;
  
-       page_idx = (dm->dev_addr - pci_resource_start(memic->dev->pdev, 0) -
+       page_idx = (dm->dev_addr - memic->dev->bar_addr -
                    MLX5_CAP64_DEV_MEM(memic->dev, memic_bar_start_addr)) >>
                    PAGE_SHIFT;
 -      bitmap_clear(to_mucontext(ibdm->uobject->context)->dm_pages,
 +      bitmap_clear(rdma_udata_to_drv_context(
 +                      &attrs->driver_udata,
 +                      struct mlx5_ib_ucontext,
 +                      ibucontext)->dm_pages,
                     page_idx,
                     DIV_ROUND_UP(act_size, PAGE_SIZE));
  
Simple merge
Simple merge
  #include "en.h"
  #include "fs_core.h"
  #include "lib/devcom.h"
 +#include "ecpf.h"
 +#include "lib/eq.h"
  
- enum {
-       FDB_FAST_PATH = 0,
-       FDB_SLOW_PATH
- };
  /* There are two match-all miss flows, one for unicast dst mac and
   * one for multicast.
   */
Simple merge
Simple merge