Re: [PATCH 1/1] mlx4_en: make mlx4_log_num_mgm_entry_size static

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 05/27] RDMA/netlink: Simplify and rename ibnl_chk_listeners

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 15/27] RDMA/netlink: Implement nldev device dumpit calback

2017-07-02 Thread Leon Romanovsky
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

Re: [PATCH] vmalloc: respect the GFP_NOIO and GFP_NOFS flags

2017-07-02 Thread Michal Hocko
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

[PATCH rdma-next V2 09/27] RDMA/netlink: Add and implement doit netlink callback

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 12/27] RDMA/netlink: Update copyright

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 23/27] RDMA/netlink: Advertise IB subnet prefix

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 24/27] RDMA/netink: Export lids and sm_lids

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 04/27] RDMA/netlink: Rename and remove redundant parameter from ibnl_multicast

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 21/27] RDMA/netlink: Export FW version

2017-07-02 Thread Leon Romanovsky
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/

[PATCH rdma-next V2 22/27] RDMA/netlink: Export node_guid and sys_image_guid

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 16/27] RDMA/netlink: Add nldev device doit implementation

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 20/27] RDMA: Simplify get firmware interface

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 25/27] RDMA/netlink: Export LID mask counter (LMC)

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 19/27] RDMA/netlink: Expose device and port capability masks

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 11/27] RDMA/netlink: Convert LS to doit callback

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 27/27] RDMA/netlink: Export node_type

2017-07-02 Thread 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

[PATCH rdma-next V2 26/27] RDMA/netlink: Provide port state and physical link state

2017-07-02 Thread Leon Romanovsky
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/

[PATCH rdma-next V2 17/27] RDMA/netlink: Add nldev port dumpit implementation

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 06/27] RDMA/netlink: Rename netlink callback struct

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 07/27] RDMA/core: Add iterator over ib_devices

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 08/27] RDMA/core: Add and expose static device index

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 03/27] RDMA/netlink: Rename and remove redundant parameter from ibnl_unicast

2017-07-02 Thread Leon Romanovsky
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 ++---

[PATCH rdma-next V2 10/27] RDMA/netlink: Reduce indirection access to cb_table

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 18/27] RDMA/netlink: Implement nldev port doit callback

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 13/27] RDMA/netlink: Add netlink device definitions to UAPI

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 14/27] RDMA/netlink: Add nldev initialization flows

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 02/27] RDMA/netlink: Simplify the put_msg and put_attr

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 01/27] RDMA/netlink: Add flag to consolidate common handing

2017-07-02 Thread Leon Romanovsky
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

[PATCH rdma-next V2 00/27] RDMA Netlink Device Client

2017-07-02 Thread Leon Romanovsky
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

Re: [PATCH 1/1] mlx4_en: make mlx4_log_num_mgm_entry_size static

2017-07-02 Thread Yuval Shaia
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 |

[PATCH 1/1] mlx4_en: make mlx4_log_num_mgm_entry_size static

2017-07-02 Thread Zhu Yanjun
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

Re: linux-next: manual merge of the net-next tree with the pci tree

2017-07-02 Thread Stephen Rothwell
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: > >

linux-next: manual merge of the net-next tree with the net tree

2017-07-02 Thread Stephen Rothwell
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

linux-next: manual merge of the net-next tree with the arm64 tree

2017-07-02 Thread Stephen Rothwell
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

[PATCH] net: core: Fix slab-out-of-bounds in netdev_stats_to_stats64

2017-07-02 Thread Alban Browaeys
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

Re: [PATCH net-next] bpf: fix to bpf_setsockops

2017-07-02 Thread David Miller
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.

[PATCH] netxen_nic: Remove unused pointer hdr in netxen_setup_minidump()

2017-07-02 Thread Christos Gkekas
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

Re: [PATCH] of_mdio: Fix broken PHY IRQ in case of probe deferral

2017-07-02 Thread Geert Uytterhoeven
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

Re: [PATCH net-next v5 07/16] bpf: Add setsockopt helper function to bpf

2017-07-02 Thread Lawrence Brakmo
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 .

Re: [PATCH net 1/2] vxlan: fix hlist corruption

2017-07-02 Thread Waiman Long
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

[PATCH net 2/2] geneve: fix hlist corruption

2017-07-02 Thread Jiri Benc
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 +

[PATCH net 1/2] vxlan: fix hlist corruption

2017-07-02 Thread Jiri Benc
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 +

[PATCH net 0/2] vxlan, geneve: fix hlist corruption

2017-07-02 Thread Jiri Benc
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 +

[PATCH net-next] bpf: fix to bpf_setsockops

2017-07-02 Thread Lawrence Brakmo
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 +

[PATCH net-next] net/mlxfw: Properly handle dependancy with non-loadable mlx5

2017-07-02 Thread Or Gerlitz
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

[PATCH 0/6] net: stmmac: revert "support future possible different internal phy mode"

2017-07-02 Thread Corentin Labbe
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

[PATCH 5/6] arm: sun8i: orangepipc: revert "use internal phy-mode"

2017-07-02 Thread Corentin Labbe
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

[PATCH 2/6] arm: sun8i: orangepi-2: revert "use internal phy-mode"

2017-07-02 Thread Corentin Labbe
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

[PATCH 1/6] arm: sun8i: nanopi-neo: revert use internal phy-mode

2017-07-02 Thread Corentin Labbe
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

[PATCH 4/6] arm: sun8i: orangepi-zero: revert "use internal phy-mode"

2017-07-02 Thread Corentin Labbe
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

[PATCH 6/6] net: stmmac: revert "support future possible different internal phy mode"

2017-07-02 Thread Corentin Labbe
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 +++---

[PATCH 3/6] arm: sun8i: orangepi-one: revert "use internal phy-mode"

2017-07-02 Thread Corentin Labbe
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(+),

Re: [PATCH] net: axienet: add of_phy_connect call for XAE_PHY_TYPE_MII case

2017-07-02 Thread Alvaro Gamez Machado
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

Re: [PATCH] [net-next] net/mlx5: include wq.o in non-ethernet build for FPGA

2017-07-02 Thread Saeed Mahameed
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

Re: [PATCH v6 05/21] net-next: stmmac: Add dwmac-sun8i

2017-07-02 Thread Corentin Labbe
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

Re: [PATCH][-next] net/mlx5: fix spelling mistake: "Allodating" -> "Allocating"

2017-07-02 Thread Saeed Mahameed
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

[PATCH net-next 12/12] qed: Add iWARP support for physical queue allocation

2017-07-02 Thread Michal Kalderon
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

[PATCH net-next 11/12] qed: Add iWARP protocol support in context allocation

2017-07-02 Thread Michal Kalderon
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

[PATCH net-next 10/12] qed: iWARP CM add error handling

2017-07-02 Thread Michal Kalderon
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.

[PATCH net-next 09/12] qed: iWARP implement disconnect flows

2017-07-02 Thread Michal Kalderon
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

[PATCH net-next 08/12] qed: iWARP CM add active side connect

2017-07-02 Thread Michal Kalderon
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/

[PATCH net-next 07/12] qed: iWARP CM add passive side connect

2017-07-02 Thread Michal Kalderon
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-

[PATCH net-next 05/12] qed: iWARP CM - setup a ll2 connection for handling SYN packets

2017-07-02 Thread Michal Kalderon
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

[PATCH net-next 06/12] qed: iWARP CM add listener functions and initial SYN processing

2017-07-02 Thread Michal Kalderon
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

[PATCH net-next 04/12] qed: Add iWARP support in ll2 connections

2017-07-02 Thread Michal Kalderon
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

[PATCH net-next 03/12] qed: Rename some ll2 related defines

2017-07-02 Thread Michal Kalderon
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

[PATCH net-next 02/12] qed: Implement iWARP initialization, teardown and qp operations

2017-07-02 Thread Michal Kalderon
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

[PATCH net-next 01/12] qed: Introduce iWARP personality

2017-07-02 Thread Michal Kalderon
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/

[PATCH net-next 00/12] qed: Add iWARP support for QL4xxxx

2017-07-02 Thread Michal Kalderon
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