From: Philippe Reynes
Date: Sat, 20 Aug 2016 00:52:18 +0200
> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phy_dev in the private structure, and update the driver to use the
> one contained in struct
From: Philippe Reynes
Date: Sat, 20 Aug 2016 00:52:19 +0200
> The ethtool api {get|set}_settings is deprecated.
> We move this driver to new api {get|set}_link_ksettings.
>
> Signed-off-by: Philippe Reynes
Applied.
From: Daniel Romell
Date: Fri, 19 Aug 2016 14:12:01 +0200
> If the address configured in the device tree is invalid, the
> driver will fallback to using a random address from the locally
> administered range.
>
> Signed-off-by: Daniel Romell
Applied.
From: Jeff Kirsher
Date: Sat, 20 Aug 2016 20:22:16 -0700
> This series contains updates to ixgbe and ixgbevf.
Pulled, thanks Jeff.
From: Veola Nazareth
ethtool reports backplane type interfaces as 1000/1baseT link modes.
This has been corrected to report the media as KR, KX or KX4 based on the
backplane interface present.
Signed-off-by: Veola Nazareth
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/
From: Emil Tantilov
The PF driver was only receiving the first 4 bytes of the MAC due
to an incorrect size parameter for ixgbevf_write_msg_read_ack()
in ixgbevf_set_rar_vf().
Correct the size by calculating it on a fly for all instances where
we call ixgbevf_write_msg_read_ack()
Signed-off-by:
From: Don Skidmore
This patch adds support for the new copper device X557.
Signed-off-by: Don Skidmore
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 1 +
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 1 +
drivers/net/ethernet/i
From: Don Skidmore
This shouldn't matter as nothing should be attached still to be
consisted control MDIO speed for these devices as well.
Signed-off-by: Don Skidmore
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 2 ++
1 file changed
This series contains updates to ixgbe and ixgbevf.
Veola fixes how the backplane reports the media in ethtool, as KR, KX or
KX4 based on the backplane interface present.
Emil fixes ixgbevf since an incorrect size parameter for
ixgbevf_write_msg_read_ack() ended up only giving the PF the first 4
b
From: Don Skidmore
The X557 devices use a different interface to the LED for the port.
This patch reflect that change.
Signed-off-by: Don Skidmore
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 3 ++
drivers/net/ethernet/intel/ixgbe/
From: Emil Tantilov
Add geneve Rx offload support for x550em_a.
The implementation follows the vxlan code with the lower 16 bits of
the VXLANCTRL register holding the UDP port for VXLAN and the upper
for Geneve.
Disabled NFS filters in the RFCTL register which allows us to simplify
the check fo
From: Christophe JAILLET
Date: Sat, 20 Aug 2016 10:42:54 +0200
> Le 20/08/2016 à 10:25, SF Markus Elfring a écrit :
>> @@ -875,16 +875,10 @@ static ssize_t cosa_write(struct file *file,
>> if (count > COSA_MTU)
>> count = COSA_MTU;
>>
>> -/* Allocate the buffer */
>> -
From: SF Markus Elfring
Date: Sat, 20 Aug 2016 09:27:39 +0200
> A few update suggestions were taken into account
> from static source code analysis.
Series applied.
From: Jeff Kirsher
Date: Fri, 19 Aug 2016 23:19:36 -0700
> This series contains updates to i40e and i40evf only.
Pulled, thanks Jeff.
On Sat, Aug 20, 2016 at 5:21 PM, Ben Hutchings wrote:
> On Fri, 2016-08-19 at 14:32 -0700, Alexander Duyck wrote:
>> The i40e hardware has support for SCTP filtering via Rx NFC however the
>> default configuration expects us to include the verification tag as a part
>> of the filter. In order to
Hi Marcus,
On Sun, Aug 21, 2016 at 2:46 AM, SF Markus Elfring
wrote:
> From: Markus Elfring
> Date: Sat, 20 Aug 2016 18:21:29 +0200
>
> Remove a jump label which is unneeded in this function at the end.
>
> Signed-off-by: Markus Elfring
> ---
> drivers/net/wireless/intersil/hostap/hostap_ioctl
On Fri, 2016-08-19 at 14:32 -0700, Alexander Duyck wrote:
> The i40e hardware has support for SCTP filtering via Rx NFC however the
> default configuration expects us to include the verification tag as a part
> of the filter. In order to support that I need to be able to transfer that
> data throu
Dear Sir/Ma
By this email I am checking the possibility of going into confidentiality
partnership with you to facilitate and provide guidance for investment of
funds from overseas.
I run oil and gas businesses in Gabon and Angola, and currently have access to
high-net-worth individuals who are
30 patches is way too much to submit at one time and puts an
undue burdon upon potential reviewers of your work.
Please only submit a reasonable amount of patches at one time,
10 to 15 at a maximum.
Thanks.
Hi Martin,
On 20 August 2016 at 11:35, Martin Blumenstingl
wrote:
> The Ethernet controller available in Meson8b and GXBB SoCs is a Synopsys
> DesignWare MAC IP core which is already supported by the stmmac driver.
>
> In addition to the standard stmmac driver some Meson8b / GXBB specific
> regis
Remove old representation of manually created Pages management
commands layout, and use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
.../net/ethernet/mellanox/mlx5/core/pagealloc.c| 165 -
1 file changed, 58
Prior to this patch we assumed that modify QP commands have the
same layout.
In ConnectX-4 for each QP transition there is a specific command
and their layout can vary.
e.g: 2err/2rst commands don't have QP context in their layout and before
this patch we posted the QP context in those commands.
Remove old representation of manually created EQ commands layout,
and use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/debugfs.c | 18 +++---
drivers/net/ethernet/mellanox/mlx5/core/eq.c
Remove old representation of manually created Init/Teardown hca
commands layout and use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/fw.c | 36
include/linux/mlx5/
Remove old representation of manually created ACCESS_REG/MAD_IFC
commands layout and use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/mad.c | 42 ++---
drivers/net/ethernet/me
Remove old representation of manually created CQ commands layout,
and use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/cq.c | 110 -
drivers/net/ethernet/mellanox/mlx5
From: Aviv Heller
Add interfaces for issuing CREATE_VPORT_LAG and
DESTROY_VPORT_LAG commands.
Used for receiving PF1's eth traffic on PF0's
root ft.
Signed-off-by: Aviv Heller
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/lag.c | 22
From: Noa Osherovich
The mlx5e_link_mode enumeration will also be used in mlx5_ib for RoCE.
This patch moves the enumeration to the mlx5 driver port header file.
Signed-off-by: Noa Osherovich
Signed-off-by: Eran Ben Elisha
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
dri
Remove old representation of manually created MKey/PSV commands layout,
and use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 +-
drivers/infiniband/hw/mlx5/mr.c
From: Aviv Heller
Until support will be added for RoCE LAG SRIOV.
Signed-off-by: Aviv Heller
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/lag.c | 6 ++
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h | 1 +
drivers/n
From: Hadar Hen Zion
Implement the low-level part of the PF side in setting minimum
inline header mode for VFs.
Signed-off-by: Hadar Hen Zion
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/vport.c | 20
include/li
Now as all commands use mlx5 ifc interface, instead of doing two calls
for executing a command we embed command status checking into
mlx5_cmd_exec to simplify the interface.
Also we do here some cleanup for redundant software structures
(inbox/outbox) and functions and improved command failure out
From: Aviv Heller
Add interfaces to allow the creation and destruction of a
LAG demux flow table.
It is a special flow table used during LAG for redirecting
non user-mode packets from PF0 to PF1 root ft, if a packet was
received on phys port two.
Signed-off-by: Aviv Heller
Reviewed-by: Maor Go
From: Ilya Lesokhin
Implement low-level commands to support vxlan encapsulation.
Signed-off-by: Ilya Lesokhin
Signed-off-by: Hadar Hen Zion
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/cmd.c| 4 ++
drivers/net/ethernet/mellano
From: Alex Vesker
Use mlx5 ifc MODIFY_BITMASK_VSD in mlx5e_modify_rq_vsd and expose counter
set capability bit in hca caps structure.
Signed-off-by: Alex Vesker
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 3 ++-
include
From: Maor Gottlieb
Add sniffer TX and RX namespaces to receive ingoing and outgoing
traffic.
Each outgoing/incoming packet is duplicated and steered to the sniffer
TX/RX namespace in addition to the regular flow.
Signed-off-by: Maor Gottlieb
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon
Remove duplicate pci dev name printing in mlx5_core_err.
Use mlx5_core_{warn,info,err} where possible to have the pci info in the
driver log messages.
Signed-off-by: Saeed Mahameed
Signed-off-by: Parvi Kaustubhi
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/en_rep.
Remove old representation of manually created QP/XRCD commands layout
amd use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/hw/mlx5/qp.c | 154 +++-
drivers/net/ethernet/mellanox/m
From: Aviv Heller
This namespace is used for LAG demux flowtable.
The idea is to position the LAG demux ft between
bypass and kernel flowtables, allowing raw-eth
traffic from both ports to be received by the PF0
IB device.
Signed-off-by: Aviv Heller
Reviewed-by: Maor Gottlieb
Signed-off-by: S
From: Artemy Kovalyov
Update struct mlx5_ifc_xrqc_bits according to last specification
Signed-off-by: Artemy Kovalyov
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
include/linux/mlx5/mlx5_ifc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/lin
Remove old representation of manually created MCG commands layout
and use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 4 +-
drivers/net/ethernet/mellanox/mlx5/core/mcg.c | 70 +++
From: Aviv Heller
Available on dual port cards only, this feature keeps
track, using netdev LAG events, of the bonding
and link status of each port's PF netdev.
When both of the card's PF netdevs are enslaved to the
same bond/team master, and only them, LAG state
is active.
During LAG, only one
From: Aviv Heller
TISes belonging to the mlx5e NIC should not be
subject to port remap.
Signed-off-by: Aviv Heller
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 4
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core
From: Aviv Heller
When mlx5_ib is loaded, we would like each card's IB devices
to be added according to its LAG state (one IB device, instead of
two, is to be added if LAG is active).
Signed-off-by: Aviv Heller
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethe
From: Noa Osherovich
Replaced mlx5_query_port_proto_oper with separate functions per link
type. The functions should take different arguments so no point in
trying to unite them.
Signed-off-by: Noa Osherovich
Signed-off-by: Eran Ben Elisha
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Rom
From: Maor Gottlieb
Define needed hardware capabilities for sniffer
RX and TX flow tables.
Add the following capabilities:
1. Sniffer RX flow table capabilities.
2. Sniffer TX flow table capabilities.
3. If same TIR can be used by multiple flow tables of different types.
Signed-off-by: Maor Got
Hi Dave and Doug,
This series contains several low level and API updates for mlx5 core
driver to be shared as base code for net-next and rdma mlx5 4.9 submissions.
>From Saeed, ten patches that refactors old layouts of firmware commands which
were manually generated before we introduced the mlx5
From: Aviv Heller
Used by IB driver for determining the IB bond
device's netdev, when LAG is active.
Returns PF0's netdev if mode is not active-backup,
or the PF netdev of the active slave when mode is
active-backup.
Signed-off-by: Aviv Heller
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon
Remove old representation of manually created PD/UAR commands layouts
and use mlx5_ifc canonical structures and defines.
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
drivers/net/ethernet/mellanox/mlx5/core/pd.c | 58 +--
drivers/net/ethernet/mellanox/mlx
From: Hadar Hen Zion
Add the required definitions related to vxlan encap/decap.
Signed-off-by: Hadar Hen Zion
Signed-off-by: Ilya Lesokhin
Signed-off-by: Saeed Mahameed
Signed-off-by: Leon Romanovsky
---
include/linux/mlx5/mlx5_ifc.h | 105 --
1 file
From: Aviv Heller
Exposed LAG commands enum and layouts:
- CREATE_LAG
HW enters LAG mode:
RoCE traffic from port two is received on PF0 core dev.
Allows to set tx_affinity (tx port) for QPs and TISes.
Allows to port remap QPs and TISes, overriding their
tx_affinity behavior.
- MODIFY_L
On 08/20/2016 01:52 AM, Philippe Reynes wrote:
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes
[...]
Acked-by: Sergei Shtylyov
Sorry for missing the sh_eth patchset. :-<
MBR, Sergei
Hello.
On 08/20/2016 01:52 AM, Philippe Reynes wrote:
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phy_dev in the private structure, and update the driver to use the
one contained in struct net_device.
On 20-08-16 18:43, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 20 Aug 2016 18:35:43 +0200
>
> A few update suggestions were taken into account
> from static source code analysis.
Is it worth touching this old stuff especially when you are not making
any functional changes.
Rega
On Sat, Aug 20, 2016 at 03:26:55PM +, Wei Yongjun wrote:
> This node pointer is returned by of_parse_phandle() with
> refcount incremented in this function. of_node_put() on it
> before exitting this function.
Hi Wei
You are only releasing on the error path. What about the successful
path?
From: Markus Elfring
Date: Sat, 20 Aug 2016 18:23:14 +0200
The local variable "ret" will be set to an appropriate value a bit later.
Thus omit the explicit initialisation at the beginning of four functions.
Signed-off-by: Markus Elfring
---
drivers/net/wireless/intersil/hostap/hostap_ioctl.c |
From: Markus Elfring
Date: Sat, 20 Aug 2016 18:21:29 +0200
Remove a jump label which is unneeded in this function at the end.
Signed-off-by: Markus Elfring
---
drivers/net/wireless/intersil/hostap/hostap_ioctl.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/
From: Markus Elfring
Date: Sat, 20 Aug 2016 18:19:43 +0200
Reuse existing functionality from memdup_user() instead of keeping
duplicate source code.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
.../net/wireless/intersil/hostap/hostap_ioctl.c|
From: Markus Elfring
Date: Sat, 20 Aug 2016 18:35:43 +0200
A few update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Use memdup_user()
Delete an unnecessary jump label
Delete unnecessary variable initialisations
.../net/wireless/intersil/hosta
From: Gao Feng
Use PPP_ALLSTATIONS, PPP_UI, and SEND_SHUTDOWN instead of 0xff,
0x03, and 2 separately.
Signed-off-by: Gao Feng
---
v3: Modify the subject;
v2: Only replace the literal number with macros according to Guillaume's advice
v1: Inital patch
net/l2tp/l2tp_ppp.c | 8
1 fi
This node pointer is returned by of_parse_phandle() with
refcount incremented in this function. of_node_put() on it
before exitting this function.
This is detected by Coccinelle semantic patch.
Signed-off-by: Wei Yongjun
---
drivers/net/phy/xilinx_gmii2rgmii.c | 1 +
1 file changed, 1 insertion
Dear Friend,
I am Mr Hassan Umra, the director in charge of auditing and accounting section
of Bank of Africa (BOA) West-Africa. I would like you
to indicate your interest to receive the transfer of $12.5 Million Dollars.
I will like you to stand as the next of kin to our late customer whose ac
Simplify the return expression.
Signed-off-by: Wei Yongjun
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index 2bb804
If we have multicast routes and do ip route show table all we'll get the
following output:
...
multicast ???/32 from ???/32 table default proto static iif eth0
The "???" are because the rtm_family is set to RTNL_FAMILY_IPMR instead
(or RTNL_FAMILY_IP6MR for ipv6). Add a simple workaround that
Hi,
On Sat, 20 Aug 2016 09:34:56 +0200 SF Markus Elfring
wrote:
> From: Markus Elfring
> Date: Sat, 20 Aug 2016 08:54:15 +0200
>
> Reuse existing functionality from memdup_user() instead of keeping
> duplicate source code.
>
> This issue was detected by using the Coccinelle software.
>
> Sig
Hello,
The Coccinelle software pointed out that the function "lmc_ioctl"
is an update candidate according to the message "opportunity for memdup_user".
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wan/lmc/lmc_main.c?id=6040e57658eee6eb1315a26119101ca832d1f854#n4
This adds a DWMAC glue driver for the PRG_ETHERNET registers found in
Meson8b and GXBB SoCs. Based on the "old" meson6b-dwmac glue driver
the register layout is completely different.
Thus I introduced a separate driver.
Changes since v1:
- make clkin1 mandatory because the internal mux expects two
The Amlogic reference driver uses the "mc_val" devicetree property to
configure the PRG_ETHERNET_ADDR0 register. Unfortunately it uses magic
values for this configuration.
According to the datasheet the PRG_ETHERNET_ADDR0 register is at address
0xc8834108. However, the reference driver uses 0xc8834
This patch adds the documentation for the DWMAC ethernet controller
found in Amlogic Meson 8b (S805) and GXBB (S905) SoCs.
The main difference between the Meson6 glue is that different registers
(with different layout) are used.
Signed-off-by: Martin Blumenstingl
Acked-by: Rob Herring
---
.../d
The Ethernet controller available in Meson8b and GXBB SoCs is a Synopsys
DesignWare MAC IP core which is already supported by the stmmac driver.
In addition to the standard stmmac driver some Meson8b / GXBB specific
registers have to be configured for the PHY clocks. These SoC specific
registers a
This exposes the MPLL2 clock as this is one of the input clocks of the
ethernet controller's internal mux.
Signed-off-by: Martin Blumenstingl
---
drivers/clk/meson/gxbb.h | 2 +-
include/dt-bindings/clock/gxbb-clkc.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
Am 20.08.2016 08:01, schrieb SF Markus Elfring:
> From: Markus Elfring
> Date: Sat, 20 Aug 2016 07:50:09 +0200
>
> * Reuse existing functionality from memdup_user() instead of keeping
> duplicate source code.
>
> This issue was detected by using the Coccinelle software.
>
> * Return direc
Le 20/08/2016 à 10:25, SF Markus Elfring a écrit :
From: Markus Elfring
Date: Sat, 20 Aug 2016 10:10:12 +0200
Reuse existing functionality from memdup_user() instead of keeping
duplicate source code.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Sat, 20 Aug 2016 10:10:12 +0200
Reuse existing functionality from memdup_user() instead of keeping
duplicate source code.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/net/wan/cosa.c | 12 +++-
1 file cha
Hello all,
The following program triggers stack-out-of-bounds in memcmp. The kernel
version is 4.8.0-rc1+ (on Aug 13 commit
118253a593bd1c57de2d1193df1ccffe1abe745b). Thanks.
==
BUG: KASAN: stack-out-of-bounds in memcmp+0xf8/0x120
From: Markus Elfring
Date: Sat, 20 Aug 2016 09:00:34 +0200
Adjust a jump target according to the Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/net/tun.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
ind
From: Markus Elfring
Date: Sat, 20 Aug 2016 08:54:15 +0200
Reuse existing functionality from memdup_user() instead of keeping
duplicate source code.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/net/tun.c | 11 +++
1 file changed,
From: Markus Elfring
Date: Sat, 20 Aug 2016 09:16:16 +0200
A few update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Use memdup_user()
Rename a jump label
drivers/net/tun.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
78 matches
Mail list logo