On Mon, Jul 03, 2017 at 01:35:19AM -0400, Zhu Yanjun wrote:
> The variable mlx4_log_num_mgm_entry_size is only called in main.c.
>
> CC: Joe Jin
> CC: Junxiao Bi
> Signed-off-by: Zhu Yanjun
> ---
> drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
> drivers/net/ethernet/mellanox/mlx4/mlx4.h | 1
From: Leon Romanovsky
Make ibnl_chk_listeners function to be one line by removing
unneeded comparison.
Rename that function to be complaint to other functions in RDMA netlink.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/addr.c | 2 +-
drivers/infini
From: Leon Romanovsky
This patch adds the ability to return all available devices
together with their properties.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/nldev.c | 64 -
1 file changed, 63 insertions(+), 1 dele
On Fri 30-06-17 20:36:12, Mikulas Patocka wrote:
>
>
> On Fri, 30 Jun 2017, Michal Hocko wrote:
>
> > On Fri 30-06-17 14:11:57, Mikulas Patocka wrote:
> > >
> > >
> > > On Fri, 30 Jun 2017, Michal Hocko wrote:
> > >
> > > > On Thu 29-06-17 22:25:09, Mikulas Patocka wrote:
> > > > > The __vmal
From: Leon Romanovsky
The .doit callback is used by netlink core to differentiate
between get and set operations. Common convention is to use
that call for command operations like (SET, ADD, e.t.c.) and/or
access without NLF_M_DUMP flag.
This commit adds proper declaration and implementation
to
From: Leon Romanovsky
Add Mellanox to the copyright header.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/netlink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/infiniband/core/netlink.c
b/drivers/infiniband/core/netlink.c
index 3efa161bf4a
From: Leon Romanovsky
Add IB subnet prefix to the port properties exported
by RDMA netlink.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/core/nldev.c | 5 +
include/uapi/rdma/rdma_netlink.h | 5 +
2 files changed, 10 insertions(+)
diff --git a/drivers/infiniband/core/nldev.c
From: Leon Romanovsky
According to the IB specification, the LID and SM_LID
are 16-bit wide, but to support OmniPath users, export
it as 32-bit value from the beginning.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/core/nldev.c | 9 -
include/uapi/rdma/rdma_netlink.h | 8
From: Leon Romanovsky
The pointer to netlink header was not used in the ibnl_multicast
function, so let's remove it and simplify the function
signature.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/addr.c | 2 +-
drivers/infiniband/core/iwpm_msg.c | 2
From: Leon Romanovsky
Add FW version to the device properties exported
by RDMA netlink, to be used by RDMAtool.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/core/nldev.c | 9 +
include/uapi/rdma/rdma_netlink.h | 4
2 files changed, 13 insertions(+)
diff --git a/drivers/
From: Leon Romanovsky
Add Node GUID and system image GUID to the device properties
exported by RDMA netlink, to be used by RDMAtool.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/core/nldev.c | 8
include/uapi/rdma/rdma_netlink.h | 13 +
2 files changed, 21 inser
From: Leon Romanovsky
Provide ability to query specific device.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/nldev.c | 40
1 file changed, 40 insertions(+)
diff --git a/drivers/infiniband/core/nldev.c b/drivers/in
From: Leon Romanovsky
There is a need to forward FW version to user space
application through RDMA netlink. In order to make it safe, there
is need to declare nla_policy and limit the size of FW string.
The new define IB_FW_VERSION_NAME_MAX will limit the size of
FW version string. That define w
From: Leon Romanovsky
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/core/nldev.c | 3 +++
include/uapi/rdma/rdma_netlink.h | 5 +
2 files changed, 8 insertions(+)
diff --git a/drivers/infiniband/core/nldev.c b/drivers/infiniband/core/nldev.c
index ce733bf33ed9..f968a40ef5d3 100644
From: Leon Romanovsky
The port capability mask is exposed to user space via sysfs interface,
while device capabilities are available for verbs only.
This patch provides those capabilities through netlink interface.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband
From: Leon Romanovsky
RDMA_NL_LS protocol is actually does not dump anything,
but sets data and it should be handled by doit callback.
This patch actually converts RDMA_NL_LS to doit callback, while
preserving IWCM and RDMA_CM flows through netlink_dump_start().
Signed-off-by: Leon Romanovsky
From: Leon Romanovsky
Add ability to get node_type for RDAM netlink users.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/core/nldev.c | 3 +++
include/uapi/rdma/rdma_netlink.h | 2 ++
2 files changed, 5 insertions(+)
diff --git a/drivers/infiniband/core/nldev.c b/drivers/infiniband/c
From: Leon Romanovsky
Add port state and physical link state to the users of RDMA netlink.
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/core/nldev.c | 6 ++
include/uapi/rdma/rdma_netlink.h | 3 +++
2 files changed, 9 insertions(+)
diff --git a/drivers/infiniband/core/nldev.c b/
From: Leon Romanovsky
This patch implements the query interface to get all
ports data for the specific device.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/nldev.c | 61 +
1 file changed, 61 insertions(+)
diff --gi
From: Leon Romanovsky
The RDMA netlink client infrastructure was removed and made
obsolete the old name (ibnl_client_cbs). This patch renames
to the more appropriate name (rdma_nl_cbs).
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/cma.c | 2 +-
driver
From: Leon Romanovsky
The coming nldev needs to iterate over all IB devices in the system
and in order to not expose the ib_devices list outside the devices.c,
it is necessary to provide function iterator.
Current version is written explicitly for nldev callback to avoid
over-engineering at this
From: Leon Romanovsky
This patch adds static device index in similar fashion to
already available in netdev world (struct net->ifindex).
In downstream patches, the RDMA nelink will use this idx-to-ib_device
conversion, so as part of this commit, we are exposing the translation
function to be vis
From: Leon Romanovsky
Netlink message header is not needed for unicast reply, hence remove it.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/iwpm_msg.c | 6 +++---
drivers/infiniband/core/iwpm_util.c | 4 ++--
drivers/infiniband/core/netlink.c | 5 ++---
From: Leon Romanovsky
Introduce intermediate variable to store access to fields
of cb_table.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/netlink.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/infiniband/core/n
From: Leon Romanovsky
Provide ability to get specific to device and port information.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/nldev.c | 44 +
1 file changed, 44 insertions(+)
diff --git a/drivers/infiniband/co
From: Leon Romanovsky
Introduce new defines to rdma_netlink.h, so the RDMA configuration tool
will be able to communicate with RDMA subsystem by using the shared defines.
The addition of new client (NLDEV) revealed the fact that we exposed by
mistake the RDMA_NL_I40IW define which is not backed
From: Leon Romanovsky
Add nldev init and exit flows to the RDMA/core.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/Makefile | 4 +++-
drivers/infiniband/core/device.c | 2 ++
drivers/infiniband/core/nldev.c | 45
From: Leon Romanovsky
Reuse standard macros to cancel the netlink message
in case of error.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/infiniband/core/netlink.c | 31 +--
1 file changed, 9 insertions(+), 22 deletions(-)
diff --git a/drivers
From: Leon Romanovsky
Add ability to provide flags to control RDMA netlink callbacks
and convert addr.c and sa_query.c to be first users of such
infrastructure. It allows to move their CAP_NET_ADMIN checks
into netlink core.
Signed-off-by: Leon Romanovsky
Reviewed-by: Steve Wise
---
drivers/i
Hi,
This is third version of the RDMA netlink patch set.
The following patch set is an implementation of NLDEV - RDMA netlink
device client. It is based on the already sent patch [1] and patch set [2].
This client is needed to properly integrate coming RDMAtool [3]
into iproute2 package which is
On Mon, Jul 03, 2017 at 01:35:19AM -0400, Zhu Yanjun wrote:
> The variable mlx4_log_num_mgm_entry_size is only called in main.c.
>
> CC: Joe Jin
> CC: Junxiao Bi
> Signed-off-by: Zhu Yanjun
> ---
> drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
> drivers/net/ethernet/mellanox/mlx4/mlx4.h |
The variable mlx4_log_num_mgm_entry_size is only called in main.c.
CC: Joe Jin
CC: Junxiao Bi
Signed-off-by: Zhu Yanjun
---
drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
drivers/net/ethernet/mellanox/mlx4/mlx4.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/n
Hi all,
With the merge window opening, just a reminder that this conflict still
exists.
On Wed, 21 Jun 2017 11:54:43 +1000 Stephen Rothwell
wrote:
>
> Today's linux-next merge of the net-next tree got a conflict in:
>
> drivers/net/wireless/marvell/mwifiex/pcie.c
>
> between commit:
>
>
Hi all,
Today's linux-next merge of the net-next tree got conflicts in:
drivers/net/ethernet/mellanox/mlx5/core/health.c
include/linux/mlx5/driver.h
between commit:
2a0165a034ac ("net/mlx5: Cancel delayed recovery work when unloading the
driver")
from the net tree and commit:
0179720
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
arch/arm64/net/bpf_jit_comp.c
between commit:
425e1ed73e65 ("arm64: fix endianness annotation for 'struct jit_ctx' and
friends")
from the arm64 tree and commit:
f1c9eed7f437 ("bpf, arm64: take advantage of stack_d
commit 9256645af098 ("net/core: relax BUILD_BUG_ON in
netdev_stats_to_stats64") made an attempt to read beyond
the size of the source a possibility.
Fix to only copy src size to dest. As dest might be bigger than src.
==
BUG: KASAN
From: Lawrence Brakmo
Date: Sun, 2 Jul 2017 09:14:28 -0700
> Fixed build error due to misplaced "#ifdef CONFIG_INET" (moved 1
> statement up).
>
> Signed-off-by: Lawrence Brakmo
Applied, thank you.
Pointer hdr in netxen_setup_minidump() is set but never used, thus
should be removed.
Signed-off-by: Christos Gkekas
---
drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c
b/drivers/net/et
On Tue, Jun 6, 2017 at 11:43 AM, Geert Uytterhoeven
wrote:
> On Tue, May 23, 2017 at 11:36 AM, Geert Uytterhoeven
> wrote:
>> On Fri, May 19, 2017 at 12:21 AM, Florian Fainelli
>> wrote:
>>> On 05/18/2017 01:36 PM, Geert Uytterhoeven wrote:
On Thu, May 18, 2017 at 9:34 PM, Andrew Lunn wro
On 7/1/17, 11:51 PM, "kbuild test robot" wrote:
Hi Lawrence,
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Lawrence-Brakmo/bpf-Adding-support-for-sock_ops/20170701-203039
config: x86_64-randconfig-i0-07010430 (attached as .
On 07/02/2017 01:00 PM, Jiri Benc wrote:
> It's not a good idea to add the same hlist_node to two different hash lists.
> This leads to various hard to debug memory corruptions.
>
> Fixes: b1be00a6c39f ("vxlan: support both IPv4 and IPv6 sockets in a single
> vxlan device")
> Signed-off-by: Jiri B
It's not a good idea to add the same hlist_node to two different hash lists.
This leads to various hard to debug memory corruptions.
Fixes: 8ed66f0e8235 ("geneve: implement support for IPv6-based tunnels")
Cc: John W. Linville
Signed-off-by: Jiri Benc
---
drivers/net/geneve.c | 48 +
It's not a good idea to add the same hlist_node to two different hash lists.
This leads to various hard to debug memory corruptions.
Fixes: b1be00a6c39f ("vxlan: support both IPv4 and IPv6 sockets in a single
vxlan device")
Signed-off-by: Jiri Benc
---
drivers/net/vxlan.c | 30 +
Fix memory corruption introduced with the support of both IPv4 and IPv6
sockets in a single device. The same bug is present in VXLAN and Geneve.
Signed-off-by: Jiri Benc
Jiri Benc (2):
vxlan: fix hlist corruption
geneve: fix hlist corruption
drivers/net/geneve.c | 48 +
Fixed build error due to misplaced "#ifdef CONFIG_INET" (moved 1
statement up).
Signed-off-by: Lawrence Brakmo
---
net/core/filter.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/core/filter.c b/net/core/filter.c
index 523b91d..e5c280a 100644
--- a/net/core/filter.c
+
If mlx5 is set to be built-in and mlxfw as a module, we
get a link error:
drivers/built-in.o: In function `mlx5_firmware_flash':
(.text+0x5aed72): undefined reference to `mlxfw_firmware_flash'
Since we don't want to mandate selecting mlxfw for mlx5 users, we
use the IS_REACHABLE macro to make sur
Hello
The current way to find if the phy is internal is to compare DT phy-mode
and emac_variant/internal_phy.
But it will negate a possible future SoC where an external PHY use the
same phy mode than the internal one.
My first idea was to use phy-mode = "internal" but since internal phy-mode
is r
Since internal phy-mode is reserved for non-xMII protocol we cannot use
it with dwmac-sun8i
This reverts commit 3432a86e641c ("arm: sun8i: orangepipc: use internal
phy-mode")
Signed-off-by: Corentin Labbe
---
arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 2 +-
1 file changed, 1 insertion(+), 1 d
Since internal phy-mode is reserved for non-xMII protocol we cannot use
it with dwmac-sun8i
This reverts commit 5a79b4f2a5e7 ("arm: sun8i: orangepi-2: use internal
phy-mode")
Signed-off-by: Corentin Labbe
---
arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 2 +-
1 file changed, 1 insertion(+), 1 de
Since internal phy-mode is reserved for non-xMII protocol we cannot use
it with dwmac-sun8i
This reverts commit bdcc005beac9 ("arm: sun8i: nanopi-neo: use internal
phy-mode")
Signed-off-by: Corentin Labbe
---
arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts | 2 +-
1 file changed, 1 insertion(+), 1 de
Since internal phy-mode is reserved for non-xMII protocol we cannot use
it with dwmac-sun8i
This reverts commit 6066de6848d4 ("arm: sun8i: orangepi-zero: use internal
phy-mode")
Signed-off-by: Corentin Labbe
---
arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 2 +-
1 file changed, 1 inserti
Since internal phy-mode is reserved for non-xMII protocol we cannot use
it with dwmac-sun8i
This reverts commit 1c2fa5f84683 ("net: stmmac: support future possible
different internal phy mode")
Signed-off-by: Corentin Labbe
---
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 10 +++---
Since internal phy-mode is reserved for non-xMII protocol we cannot use
it with dwmac-sun8i
This reverts commit 4ac57180eab2 ("arm: sun8i: orangepi-one: use internal
phy-mode")
Signed-off-by: Corentin Labbe
---
arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 2 +-
1 file changed, 1 insertion(+),
On Fri, Jun 30, 2017 at 10:30:38AM -0700, Florian Fainelli wrote:
> On 06/30/2017 02:25 AM, Alvaro Gamez Machado wrote:
> > if (lp->phy_node) {
> > - if (lp->phy_type == XAE_PHY_TYPE_GMII) {
> > + if (lp->phy_type == XAE_PHY_TYPE_MII) {
> > + phydev = of_ph
On Fri, Jun 30, 2017 at 10:25 PM, Arnd Bergmann wrote:
> On Fri, Jun 30, 2017 at 8:58 PM, Ilan Tayari wrote:
>
>>> diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Makefile
>>> b/drivers/net/ethernet/mellanox/mlx5/core/Makefile
>>> index ca367445f864..50fe9e3c5dc2 100644
>>> --- a/drivers/net
On Sat, Jul 01, 2017 at 02:42:14PM -0700, Florian Fainelli wrote:
> On 30/06/2017 23:53, Corentin Labbe wrote:
> > On Tue, Jun 27, 2017 at 10:37:34AM -0700, Florian Fainelli wrote:
> >> On 06/27/2017 10:29 AM, Maxime Ripard wrote:
> >>> On Tue, Jun 27, 2017 at 02:37:48PM +0200, Corentin Labbe wrote
On Sun, Jul 2, 2017 at 12:40 AM, David Miller wrote:
> From: Colin King
> Date: Fri, 30 Jun 2017 11:59:22 +0100
>
>> From: Colin Ian King
>>
>> Trivial fix to spelling mistake in mlx5_core_dbg debug message
>>
>> Signed-off-by: Colin Ian King
>
> Applied, thanks Colin.
>
> Mellanox folks, I don
iWARP has different physical queue requirements than RoCE
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_dev.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/qlogic/qed/qed_dev.c
b/driv
When computing how much memory is required for the different hw clients
iWARP protocol should be taken into account
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_cxt.c | 13 +++--
1 file changed, 11 insertio
This patch introduces error handling for errors that occurred during
connection establishment.
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_iwarp.c | 183 +++-
include/linux/qed/qed_rdma_if.
This patch takes care of active/passive disconnect flows.
Disconnect flows can be initiated remotely, in which case a async event
will arrive from peer and indicated to qedr driver. These
are referred to as exceptions. When a QP is destroyed, it needs to check
that it's associated ep has been close
This patch implements the active side connect.
Offload a connection, process MPA reply and send RTR.
In some of the common passive/active functions, the active side
will work in blocking mode.
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
drivers/net/
This patch implements the passive side connect.
It addresses pre-allocating resources, creating a connection
element upon valid SYN packet received. Calling upper layer and
implementation of the accept/reject calls.
Error handling is not part of this patch.
Signed-off-by: Michal Kalderon
Signed-
iWARP handles incoming SYN packets using the ll2 interface. This patch
implements ll2 setup and teardown. Additional ll2 connections will
be used in the future which are not part of this patch series.
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
driv
This patch adds the ability to add and remove listeners and identify
whether the SYN packet received is intended for iWARP or not. If
a listener is not found the SYN packet is posted back to the chip.
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
driv
Add a new connection type for iWARP ll2 connections for setting
correct ll2 filters and connection type to FW.
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_ll2.c | 13 +++--
include/linux/qed/qed_ll2_if.h
Make some names more generic as they will be used by iWARP too.
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed.h | 2 +-
drivers/net/ethernet/qlogic/qed/qed_ll2.c | 29 ++---
include/linu
This patch adds iWARP support for flows that have common code
between RoCE and iWARP, such as initialization, teardown and
qp setup verbs: create, destroy, modify, query.
It introduces the iWARP specific files qed_iwarp.[ch] and
iwarp_common.h
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval M
iWARP personality introduced the need for differentiating in several
places in the code whether we are RoCE, iWARP or either. This
leads to introducing new macros for querying the personality.
Signed-off-by: Michal Kalderon
Signed-off-by: Yuval Mintz
Signed-off-by: Ariel Elior
---
drivers/net/
This patch series adds iWARP support to our QL4 networking adapters.
The code changes span across qed and qedr drivers, but this series contains
changes to qed only. Once the series is accepted, the qedr series will
be submitted to the rdma tree.
There is one additional qed patch which enables
70 matches
Mail list logo