hw.
>
> The first part adds the vdpa core changes from Si-Wei [0].
>
> [...]
Applied, thanks!
[01/16] vdpa/mlx5: Expose descriptor group mkey hw capability
https://git.kernel.org/rdma/rdma/c/d424348b060d87
Best rega
On Thu, Sep 28, 2023 at 07:45:11PM +0300, Dragos Tatulea wrote:
> This patch series adds support for vq descriptor table mappings which
> are used to improve vdpa live migration downtime. The improvement comes
> from using smaller mappings which take less time to create and destroy
> in hw.
>
> Th
On Mon, Feb 13, 2023 at 10:04:17AM +0530, Neeraj Upadhyay wrote:
> Add a uAPI for starting and stopping a SCMI vhost based
> backend.
>
> Signed-off-by: Neeraj Upadhyay
> ---
>
> SCMI Vhost backend implementation is work in progress:
> https://lore.kernel.org/linux-arm-kernel/20220609071956.518
On Mon, Nov 28, 2022 at 03:39:22PM -0800, Jakub Kicinski wrote:
> On Tue, 29 Nov 2022 00:29:42 +0100 Andrew Lunn wrote:
> > > How about:
> > > DEVLINK_PARAM_GENERIC_ID_ENABLE_LIVE_MIGRATION
> >
> > Much better.
>
> +1, although I care much less about the define name which is stupidly
> long a
re/en_ethtool.c | 4 ++--
> drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 2 +-
> .../ethernet/mellanox/mlx5/core/ipoib/ethtool.c | 2 +-
Thanks,
Reviewed-by: Leon Romanovsky
___
Virtualization mailing list
Virtualization@lists.linux-f
igned-off-by: Randy Dunlap
> Cc: Eli Cohen
> Cc: Saeed Mahameed
> Cc: net...@vger.kernel.org
> Cc: Leon Romanovsky
> Cc: linux-r...@vger.kernel.org
> ---
> drivers/net/ethernet/mellanox/mlx5/core/main.c |8 ++++
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
On Tue, Mar 08, 2022 at 09:57:57AM +0100, Greg KH wrote:
> On Tue, Mar 08, 2022 at 08:10:06AM +, Lee Jones wrote:
> > On Mon, 07 Mar 2022, Greg KH wrote:
> >
> > > On Mon, Mar 07, 2022 at 07:17:57PM +, Lee Jones wrote:
> > > > vhost_vsock_handle_tx_kick() already holds the mutex during its
On Thu, Mar 03, 2022 at 04:01:06PM -0500, Michael S. Tsirkin wrote:
> On Thu, Mar 03, 2022 at 09:14:36PM +0200, Leon Romanovsky wrote:
> > On Thu, Mar 03, 2022 at 03:19:29PM +, Lee Jones wrote:
> > > All workers/users should be halted before any clean-up
On Thu, Mar 03, 2022 at 03:19:29PM +, Lee Jones wrote:
> All workers/users should be halted before any clean-up should take place.
>
> Suggested-by: Michael S. Tsirkin
> Signed-off-by: Lee Jones
> ---
> drivers/vhost/vhost.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/driv
On Wed, Oct 13, 2021 at 11:43:03AM -0300, Jason Gunthorpe wrote:
> On Tue, Oct 12, 2021 at 01:26:28PM +0300, Leon Romanovsky wrote:
> > From: Leon Romanovsky
> >
> > Hi,
> >
> > This is cleanup series of mlx5_* MR mkey management.
> >
> > Thank
On Tue, Oct 12, 2021 at 11:04:33AM -0300, Jason Gunthorpe wrote:
> On Tue, Oct 12, 2021 at 04:57:16PM +0300, Aharon Landau wrote:
> >
> > On 10/12/2021 3:52 PM, Jason Gunthorpe wrote:
> > > On Tue, Oct 12, 2021 at 01:26:29PM +0300, Leon Romanovsky wrote:
>
From: Aharon Landau
Move mlx5_core_mkey struct to mlx5_ib, as the mlx5_core doesn't use it
at this point.
Signed-off-by: Aharon Landau
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/devx.c| 2 +-
drivers/infiniband/hw/mlx5/mlx5_ib.h
From: Aharon Landau
Generalize the use of ndescs by adding it to mlx5_ib_mkey.
Signed-off-by: Aharon Landau
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/devx.c| 10 --
drivers/infiniband/hw/mlx5/devx.h| 2 +-
drivers/infiniband/hw
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/mr.c | 21 --
drivers/infiniband/hw/mlx5/odp.c | 2 +-
.../mellanox/mlx5/core/diag/fw_tracer.c | 6 ++---
.../mellanox/mlx5/core/diag/fw_tracer.h | 2
From: Aharon Landau
mkey->size is already stored in ibmr->length, no need to store it here.
Signed-off-by: Aharon Landau
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/devx.c| 1 -
drivers/infiniband/hw/mlx5/mr.c
From: Aharon Landau
There is no read of mkey->pd, only write. Remove it.
Signed-off-by: Aharon Landau
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/devx.c| 1 -
drivers/infiniband/hw/mlx5/mr.c | 3 ---
drivers/net/ether
From: Aharon Landau
iova is already stored in ibmr->iova, no need to store it here.
Signed-off-by: Aharon Landau
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/devx.c| 1 -
drivers/infiniband/hw/mlx5/mr.c |
tems in the mlx5_ib_mr")
Signed-off-by: Aharon Landau
Reviewed-by: Maor Gottlieb
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/mr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/infiniband/hw/mlx5/mr.c b/drivers/infiniband/hw/mlx5/mr.c
index 9091de381e83..0ff
From: Leon Romanovsky
Hi,
This is cleanup series of mlx5_* MR mkey management.
Thanks
Aharon Landau (7):
RDMA/mlx5: Don't set esc_size in user mr
RDMA/mlx5: Remove iova from struct mlx5_core_mkey
RDMA/mlx5: Remove size from struct mlx5_core_mkey
RDMA/mlx5: Remove pd from s
On Wed, Sep 29, 2021 at 02:28:08AM +0300, Max Gurtovoy wrote:
>
> On 9/28/2021 7:27 PM, Leon Romanovsky wrote:
> > On Tue, Sep 28, 2021 at 06:59:15PM +0300, Max Gurtovoy wrote:
> > > On 9/27/2021 9:23 PM, Leon Romanovsky wrote:
> > > > On Mon, Sep 27, 2021 at 08:
On Tue, Sep 28, 2021 at 06:59:15PM +0300, Max Gurtovoy wrote:
>
> On 9/27/2021 9:23 PM, Leon Romanovsky wrote:
> > On Mon, Sep 27, 2021 at 08:25:09PM +0300, Max Gurtovoy wrote:
> > > On 9/27/2021 2:34 PM, Leon Romanovsky wrote:
> > > > On Sun, Sep 26, 2021 at 05:
On Mon, Sep 27, 2021 at 08:25:09PM +0300, Max Gurtovoy wrote:
>
> On 9/27/2021 2:34 PM, Leon Romanovsky wrote:
> > On Sun, Sep 26, 2021 at 05:55:18PM +0300, Max Gurtovoy wrote:
> > > To optimize performance, set the affinity of the block device tagset
> > > according
On Sun, Sep 26, 2021 at 05:55:18PM +0300, Max Gurtovoy wrote:
> To optimize performance, set the affinity of the block device tagset
> according to the virtio device affinity.
>
> Signed-off-by: Max Gurtovoy
> ---
> drivers/block/virtio_blk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(
On Wed, Sep 22, 2021 at 09:37:37PM +0800, 魏俊吉 wrote:
> On Wed, Sep 22, 2021 at 9:06 PM Leon Romanovsky wrote:
> >
> > On Wed, Sep 22, 2021 at 08:08:44PM +0800, Junji Wei wrote:
> > > > On Sep 15, 2021, at 9:43 PM, Jason Gunthorpe wrote:
> >
> > <...>
On Wed, Sep 22, 2021 at 08:08:44PM +0800, Junji Wei wrote:
> > On Sep 15, 2021, at 9:43 PM, Jason Gunthorpe wrote:
<...>
> >> 4. The FRMR api need to set key of MR through IB_WR_REG_MR.
> >> But it is impossible to change a key of mr using uverbs.
> >
> > FRMR is more like memory windows in u
On Sun, Sep 05, 2021 at 11:15:16AM -0400, Michael S. Tsirkin wrote:
> On Sun, Sep 05, 2021 at 01:20:24PM +0300, Leon Romanovsky wrote:
> > On Sun, Sep 05, 2021 at 01:49:46AM -0700, Chaitanya Kulkarni wrote:
> > >
> > > On 9/5/2021 12:46 AM, Leon Romanovsky wrote:
>
On Sun, Sep 05, 2021 at 02:16:58PM +0300, Max Gurtovoy wrote:
>
> On 9/5/2021 1:19 PM, Leon Romanovsky wrote:
> > On Sun, Sep 05, 2021 at 12:19:09PM +0300, Max Gurtovoy wrote:
> > > On 9/5/2021 11:49 AM, Chaitanya Kulkarni wrote:
> > > > On 9/5/202
On Sun, Sep 05, 2021 at 01:49:46AM -0700, Chaitanya Kulkarni wrote:
>
> On 9/5/2021 12:46 AM, Leon Romanovsky wrote:
> > > +static unsigned int num_request_queues;
> > > +module_param_cb(num_request_queues, &queue_count_ops,
> > > &
On Sun, Sep 05, 2021 at 12:19:09PM +0300, Max Gurtovoy wrote:
>
> On 9/5/2021 11:49 AM, Chaitanya Kulkarni wrote:
> >
> > On 9/5/2021 12:46 AM, Leon Romanovsky wrote:
> > > > +static unsigned int num_request_queues;
> > > > +module_par
On Thu, Sep 02, 2021 at 11:46:22PM +0300, Max Gurtovoy wrote:
> Sometimes a user would like to control the amount of request queues to
> be created for a block device. For example, for limiting the memory
> footprint of virtio-blk devices.
>
> Reviewed-by: Christoph Hellwig
> Reviewed-by: Stefan
On Thu, Jul 29, 2021 at 12:28:03PM -0300, Jason Gunthorpe wrote:
> On Tue, Jun 22, 2021 at 03:08:19PM +0300, Leon Romanovsky wrote:
>
> > diff --git a/drivers/net/ethernet/mellanox/mlx5/core/mr.c
> > b/drivers/net/ethernet/mellanox/mlx5/core/mr.c
> > index 50af84e76
On Wed, Jul 21, 2021 at 03:02:46AM -0700, Jorgen Hansen wrote:
> Add maintainer info for the VMware VMCI driver.
>
> v2: moved pv-drivers to L: as private list
Please put changelog under "---".
There is no value to see vXXX in the final commit in the repo.
Thanks
>
> Acked-by: Vishnu Dasa
> S
On Sun, Jul 18, 2021 at 02:54:13PM +0300, Leon Romanovsky wrote:
> From: Tal Gilboa
>
> is_apu_thread_cq() used to detect CQs which are attached to APU
> threads. This was extended to support other elements as well,
> so the function was renamed to is_apu_cq().
>
> c_e
t was first introduced.
Signed-off-by: Tal Gilboa
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/cq.c| 2 +-
drivers/infiniband/hw/mlx5/devx.c | 7 +++
drivers/net/ethernet/mellanox/mlx5/core/cq.c | 3 ++-
driver
-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/main.c| 4 +-
drivers/infiniband/hw/mlx5/mlx5_ib.h | 56 ++--
drivers/infiniband/hw/mlx5/mr.c | 378 ++-
drivers/infiniband/hw/mlx5/odp.c | 9 +-
include/linux/mlx5/driver.h
Landau
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/mlx5_ib.h | 1 +
drivers/infiniband/hw/mlx5/mr.c | 210 +--
2 files changed, 163 insertions(+), 48 deletions(-)
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h
b/drivers
as LSB. mlx5_ib_dev will hold the root of the tree.
When initializing a device, the default entries will be generated, that
is, entries for mkeys' size = 2^x and access_flag =
IB_ACCESS_DISABLE_RELAXED_ORDERING.
Signed-off-by: Aharon Landau
Reviewed-by: Shay Drory
Signed-off-by: Leon Roman
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/mr.c | 42 +--
drivers/infiniband/hw/mlx5/odp.c | 2 +-
.../mellanox/mlx5/core/diag/fw_tracer.c | 2 +-
.../mellanox/mlx5/core/diag/fw_tracer.h | 2
From: Aharon Landau
Moving mlx5_core_mkey struct to mlx5_ib as the mlx5_core doesn't use it
at this point.
Signed-off-by: Aharon Landau
Reviewed-by: Shay Drory
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/devx.c| 2 +-
drivers/infiniband/hw/mlx5/mlx5_ib.h
From: Leon Romanovsky
Hi,
This series from Aharon changes how memory region (MR) cache logic
works in mlx5 driver. First 3 patches are global conversions of
internal structures to hold mkeys, while the rest of the patches
changes cache logic in the RDMA subsystem.
Thanks
Aharon Landau (5
On Wed, Jun 16, 2021 at 08:07:34PM +0800, Cai Huoqing wrote:
> When running vhost test, make it easier to config
>
> Signed-off-by: Cai Huoqing
> ---
> drivers/vhost/Kconfig | 12
> drivers/vhost/Makefile | 3 +++
> 2 files changed, 15 insertions(+)
>
> diff --git a/drivers/vhost
On Mon, Jun 07, 2021 at 10:30:42AM +0800, Jason Wang wrote:
>
> 在 2021/6/4 下午11:57, Leon Romanovsky 写道:
> > On Fri, Jun 04, 2021 at 10:35:59AM +0800, Jason Wang wrote:
> > > 在 2021/6/3 下午7:22, Eli Cohen 写道:
> > > > Before SF support was introduced, the DMA device
BUG();
> + return -EPROTO;
Yeah, as we discussed, BUG*() macros in non-core code that checks
in-kernel API better to be deleted.
Thanks,
Reviewed-by: Leon Romanovsky
___
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
On Fri, Jun 04, 2021 at 10:35:59AM +0800, Jason Wang wrote:
>
> 在 2021/6/3 下午7:22, Eli Cohen 写道:
> > Before SF support was introduced, the DMA device was equal to
> > mdev->device which was in essence equal to pdev->dev;
> > With SF introduction this is no longer true. It has already been
> > hand
On Wed, Jun 02, 2021 at 03:19:46PM +0800, Jason Wang wrote:
>
> 在 2021/6/2 下午1:50, Leon Romanovsky 写道:
> > On Mon, May 24, 2021 at 10:37:14AM +0800, Jason Wang wrote:
> > > 在 2021/5/24 上午10:06, Xuan Zhuo 写道:
> > > > On Mon, 24 May 2021 01:48:53 +00
On Wed, Jun 02, 2021 at 03:14:50PM +0800, Jason Wang wrote:
>
> 在 2021/6/2 下午1:59, Leon Romanovsky 写道:
> > On Tue, May 25, 2021 at 02:19:03PM +0800, Jason Wang wrote:
> > > 在 2021/5/19 下午10:18, Xianting Tian 写道:
> > > > thanks, I submit the patch as commented b
On Tue, May 25, 2021 at 02:19:03PM +0800, Jason Wang wrote:
>
> 在 2021/5/19 下午10:18, Xianting Tian 写道:
> > thanks, I submit the patch as commented by Andrew
> > https://lkml.org/lkml/2021/5/18/256
> >
> > Actually, if xmit_skb() returns error, below code will give a warning
> > with error code.
>
On Mon, May 24, 2021 at 10:37:14AM +0800, Jason Wang wrote:
>
> 在 2021/5/24 上午10:06, Xuan Zhuo 写道:
> > On Mon, 24 May 2021 01:48:53 +, Guodeqing (A)
> > wrote:
> > >
> > > > -Original Message-
> > > > From: Max Gurtovoy [mailto:mgurto...@nvidia.com]
> > > > Sent: Sunday, May 23, 202
On Wed, Mar 17, 2021 at 01:57:15PM +0800, Jiapeng Chong wrote:
> Fix the following coccicheck warnings:
>
> ./drivers/net/virtio_net.c:1551:2-5: WARNING: Use BUG_ON instead of if
> condition followed by BUG.
>
> Reported-by: Abaci Robot
> Signed-off-by: Jiapeng Chong
> ---
> drivers/net/virtio_n
y added my ROB, but will add again.
Thanks,
Reviewed-by: Leon Romanovsky
___
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
On Mon, Mar 08, 2021 at 04:35:25PM +0800, Zhu Lingshan wrote:
> This commit removes the version number string, using kernel
> version is enough.
>
> Signed-off-by: Zhu Lingshan
> ---
> drivers/vdpa/ifcvf/ifcvf_main.c | 2 --
> 1 file changed, 2 deletions(-)
>
T
On Fri, Mar 05, 2021 at 10:20:00PM +0800, Zhu Lingshan wrote:
> This commit bumps ifcvf driver version string to 1.0
>
> Signed-off-by: Zhu Lingshan
> ---
> drivers/vdpa/ifcvf/ifcvf_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/vdpa/ifcvf/ifcvf_main.c b/d
On Tue, Feb 16, 2021 at 02:45:40PM +0200, Eli Cohen wrote:
> On Tue, Feb 16, 2021 at 09:37:34AM +0200, Leon Romanovsky wrote:
> > On Tue, Feb 16, 2021 at 08:42:26AM +0200, Eli Cohen wrote:
> > > On Tue, Feb 16, 2021 at 08:35:51AM +0200, Leon Romanovsky wrote:
> > > >
On Tue, Feb 16, 2021 at 08:42:26AM +0200, Eli Cohen wrote:
> On Tue, Feb 16, 2021 at 08:35:51AM +0200, Leon Romanovsky wrote:
> > On Tue, Feb 16, 2021 at 07:50:22AM +0200, Eli Cohen wrote:
> > > struct mlx5_vdpa_net pointer was stored in drvdata. Extract it as well
>
On Tue, Feb 16, 2021 at 07:50:22AM +0200, Eli Cohen wrote:
> struct mlx5_vdpa_net pointer was stored in drvdata. Extract it as well
> in mlx5v_remove().
>
> Fixes: 74c9729dd892 ("vdpa/mlx5: Connect mlx5_vdpa to auxiliary bus")
> Signed-off-by: Eli Cohen
> ---
> drivers/vdpa/mlx5/net/mlx5_vnet.c |
On Tue, Nov 24, 2020 at 04:57:23PM +0800, Jason Wang wrote:
>
> On 2020/11/24 下午4:01, Leon Romanovsky wrote:
> > On Tue, Nov 24, 2020 at 11:22:03AM +0800, Jason Wang wrote:
> > > On 2020/11/24 上午3:21, Jakub Kicinski wrote:
> > > > On Mon, 23 Nov 2020 14
> > On Mon, 23 Nov 2020 09:31:28 -0500 Steven Rostedt wrote:
> > > > > On Mon, 23 Nov 2020 13:08:55 +0200
> > > > > Leon Romanovsky wrote:
> > > > >
> > > > > > [ 10.028024] Chain exists of:
> > > > > > [ 1
On Wed, Nov 18, 2020 at 09:12:57AM -0500, Steven Rostedt wrote:
>
> [ Adding netdev as perhaps someone there knows ]
>
> On Wed, 18 Nov 2020 12:09:59 +0800
> Jason Wang wrote:
>
> > > This CPU0 lock(_xmit_ETHER#2) -> hard IRQ -> lock(console_owner) is
> > > basically
> > > soft IRQ -> lock(_xmit
On Thu, Nov 19, 2020 at 01:55:53PM +0100, Petr Mladek wrote:
> On Tue 2020-11-17 09:33:25, Steven Rostedt wrote:
> > On Tue, 17 Nov 2020 12:23:41 +0200
> > Leon Romanovsky wrote:
> >
> > > Hi,
> > >
> > > Approximately two weeks ago, our re
On Tue, Nov 17, 2020 at 09:33:25AM -0500, Steven Rostedt wrote:
> On Tue, 17 Nov 2020 12:23:41 +0200
> Leon Romanovsky wrote:
>
> > Hi,
> >
> > Approximately two weeks ago, our regression team started to experience those
> > netconsole splats. The tested code
Hi,
Approximately two weeks ago, our regression team started to experience those
netconsole splats. The tested code is Linus's master (-rc4) + netdev net-next
+ netdev net-rc.
Such splats are random and we can't bisect because there is no stable
reproducer.
Any idea, what is the root cause?
[
On Thu, Nov 05, 2020 at 04:36:57PM -0400, Jason Gunthorpe wrote:
> On Thu, Nov 05, 2020 at 12:31:52PM -0800, Saeed Mahameed wrote:
> > On Sun, 2020-11-01 at 22:15 +0200, Leon Romanovsky wrote:
> > > From: Leon Romanovsky
> > >
> > > Move mlx5_vdpa IFC header fi
On Thu, Nov 05, 2020 at 05:09:48PM -0400, Jason Gunthorpe wrote:
> On Thu, Nov 05, 2020 at 12:59:20PM -0800, Saeed Mahameed wrote:
>
> > 2. you can always load a driver without its underlying device existed.
> > for example, you can load a pci device driver/module and it will load
> > and wait for
On Mon, Nov 02, 2020 at 05:07:59AM +, Parav Pandit wrote:
>
>
> > From: Leon Romanovsky
> > Sent: Monday, November 2, 2020 1:46 AM
> >
> > From: Leon Romanovsky
> >
> > Remove exposed driver version as it was done in other drivers, so module
> &g
From: Leon Romanovsky
Provide mlx5_core device instead of "priv" pointer while checking
eswith mode.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/counters.c | 7 ---
drivers/infiniband/hw/mlx5/ib_rep.c | 5 -
drivers/infiniba
From: Leon Romanovsky
After conversion to use auxiliary bus, all custom device management is
not needed anymore, delete it.
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 288 ++
drivers/net/ethernet/mellanox/mlx5/core/lag.c | 18
From: Leon Romanovsky
The conversion to auxiliary bus solves long standing issue with
existing mlx5_ib<->mlx5_core coupling. It required to have both
modules in initramfs if one of them needed for the boot.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/ib_rep.c
From: Leon Romanovsky
Reuse auxiliary bus to perform device management of the
ethernet part of the mlx5 driver.
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 74 ++
.../net/ethernet/mellanox/mlx5/core/en_main.c | 133 --
.../net
From: Leon Romanovsky
Delete dead code.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/ib_rep.c | 31 +++--
drivers/infiniband/hw/mlx5/ib_rep.h | 31 -
2 files changed, 7 insertions(+), 55 deletions(-)
diff --git a/drivers
From: Leon Romanovsky
mlx5 firmware expects driver version in specific format X.X.X, so
make it always correct and based on real kernel version aligned with
the driver.
Fixes: 012e50e109fd ("net/mlx5: Set driver version into firmware")
Signed-off-by: Leon Romanovsky
---
drivers/ne
From: Leon Romanovsky
Remove exposed driver version as it was done in other drivers,
so module version will work correctly by displaying the kernel
version for which it is compiled.
And move mlx5_core module name to general include, so auxiliary drivers
will be able to use it as a basis for a
From: Leon Romanovsky
Change module registration logic to use auxiliary bus instead of custom
made mlx5 register interface.
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 28 ++-
drivers/vdpa/mlx5/Makefile| 2 +-
drivers/vdpa/mlx5
From: Leon Romanovsky
Users of mlx5_eswitch_get_vport() are required to check return value
prior to passing mlx5_vport further. Fix all the places to do not skip
that check.
Fixes: c7eddc6092b4 ("net/mlx5: E-switch, Move devlink eswitch ports closer to
eswitch")
Fixes: 5d9986a3947a
From: Leon Romanovsky
Changelog:
v1:
* Renamed _mlx5_rescan_driver to be mlx5_rescan_driver_locked like in
other parts of the mlx5 driver.
* Renamed MLX5_INTERFACE_PROTOCOL_VDPA to tbe MLX5_INTERFACE_PROTOCOL_VNET as
a preparation to coming series from Eli C.
* Some small naming renames
From: Leon Romanovsky
Create auxiliary devices under new virtual bus. This will replace
the custom-made mlx5 ->add()/->remove() interfaces and next patches
will fill the missing callback and remove the old interface logic.
The attachment of auxiliary drivers to the devices is possible in
From: Leon Romanovsky
Move mlx5_vdpa IFC header file to the general include folder, so
mlx5_core will be able to reuse it to check if VDPA is supported
prior to creating an auxiliary device.
As part of this move, update the header file name to mlx5 general
naming scheme.
Reviewed-by: Parav
From: Leon Romanovsky
The conversion to auxiliary bus solves long standing issue with
existing mlx5_ib<->mlx5_core coupling. It required to have both
modules in initramfs if one of them needed for the boot.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/ib_rep.c
From: Leon Romanovsky
Create auxiliary devices under new virtual bus. This will replace
the custom-made mlx5 ->add()/->remove() interfaces and next patches
will fill the missing callback and remove the old interface logic.
The attachment of auxiliary drivers to the devices is possible in
From: Leon Romanovsky
Remove exposed driver version as it was done in other drivers,
so module version will work correctly by displaying the kernel
version for which it is compiled.
And move mlx5_core module name to general include, so auxiliary drivers
will be able to use it as a basis for a
From: Leon Romanovsky
Change module registration logic to use auxiliary bus instead of custom
made mlx5 register interface.
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 28 ++-
drivers/vdpa/mlx5/Makefile| 2 +-
drivers/vdpa/mlx5
From: Leon Romanovsky
Users of mlx5_eswitch_get_vport() are required to check return value
prior to passing mlx5_vport further. Fix all the places to do not skip
that check.
Fixes: c7eddc6092b4 ("net/mlx5: E-switch, Move devlink eswitch ports closer to
eswitch")
Fixes: 5d9986a3947a
From: Leon Romanovsky
Provide mlx5_core device instead of "priv" pointer while checking
eswith mode.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/counters.c | 7 ---
drivers/infiniband/hw/mlx5/ib_rep.c | 5 -
drivers/infiniba
From: Leon Romanovsky
Hi,
This patch set converts mlx5 driver to use auxiliary bus [1].
In this series, we are connecting three subsystems (VDPA, netdev and
RDMA) through mlx5_core PCI driver. That driver is responsible to create
proper devices based on supported firmware.
First four patches
From: Leon Romanovsky
Delete dead code.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/ib_rep.c | 31 +--
drivers/infiniband/hw/mlx5/ib_rep.h | 31 ---
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 4 +--
3 files changed, 9
From: Leon Romanovsky
Reuse auxiliary bus to perform device management of the
ethernet part of the mlx5 driver.
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 74 ++
.../net/ethernet/mellanox/mlx5/core/en_main.c | 133 --
.../net
From: Leon Romanovsky
After conversion to use auxiliary bus, all custom device management is
not needed anymore, delete it.
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 299 +-
drivers/net/ethernet/mellanox/mlx5/core/lag.c | 18
From: Leon Romanovsky
Move mlx5_vdpa IFC header file to the general include folder, so
mlx5_core will be able to reuse it to check if VDPA is supported
prior to creating an auxiliary device.
As part of this move, update the header file name to mlx5 general
naming scheme.
Reviewed-by: Parav
From: Leon Romanovsky
mlx5 firmware expects driver version in specific format X.X.X, so
make it always correct and based on real kernel version aligned with
the driver.
Fixes: 012e50e109fd ("net/mlx5: Set driver version into firmware")
Signed-off-by: Leon Romanovsky
---
drivers/ne
On Fri, Apr 19, 2019 at 01:16:06PM +0200, Hannes Reinecke wrote:
> On 4/15/19 12:35 PM, Yuval Shaia wrote:
> > On Thu, Apr 11, 2019 at 07:02:15PM +0200, Cornelia Huck wrote:
> > > On Thu, 11 Apr 2019 14:01:54 +0300
> > > Yuval Shaia wrote:
> > >
> > > > Data center backends use more and more RDMA
lanox/mlx4/qp.c| 12 +--
> .../net/ethernet/mellanox/mlx4/resource_tracker.c | 24
> +++---
> 15 files changed, 56 insertions(+), 56 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky
signature.asc
Description: PGP signature
___
90 matches
Mail list logo