On Tue, Feb 9, 2016 at 5:47 PM, David Wragg wrote:
> Allow the MTU of geneve devices to be set to large values, in order to
> exploit underlying networks with larger frame sizes.
>
> GENEVE does not have a fixed encapsulation overhead (an openvswitch
> rule can add variable length options), so the
Signed-off-by: Hariprasad Shenai
---
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
index a8dda635456d..06bc2d2e7a73 100644
--- a/driver
Signed-off-by: Stephen Hemminger
--- a/drivers/net/vrf.c 2015-12-10 08:57:12.573235836 -0800
+++ b/drivers/net/vrf.c 2015-12-14 19:08:59.672199087 -0800
@@ -32,7 +32,6 @@
#include
#include
#include
-#include
#include
#include
#include
Hi Craig,
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Craig-Gallek/Faster-SO_REUSEPORT-for-TCP/20160210-074230
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
Signed-off-by: Stephen Hemminger
--- a/drivers/net/vxlan.c 2015-11-03 15:01:17.693751277 -0800
+++ b/drivers/net/vxlan.c 2015-12-14 19:07:35.879811786 -0800
@@ -42,7 +42,7 @@
#include
#include
#include
-#include
+
#if IS_ENABLED(CONFIG_IPV6)
#include
#include
Duplicate include detected.
Signed-off-by: Stephen Hemminger
--- a/net/rds/tcp.c 2015-12-17 17:17:15.0 -0800
+++ b/net/rds/tcp.c 2016-02-09 22:02:23.491897938 -0800
@@ -37,7 +37,6 @@
#include
#include
#include
-#include
#include "rds.h"
#include "tcp.h"
On Tue, 2016-02-09 at 17:41 -0800, Stephen Hemminger wrote:
> On Tue, 9 Feb 2016 18:51:35 -0500
> Jarod Wilson wrote:
>
> > On Tue, Feb 09, 2016 at 11:17:57AM -0800, Stephen Hemminger wrote:
> > > Support for the new rx_nohandler statistic.
> > > This code is designed to handle the case where the
32 bit systems using 'struct timeval' will break in the year 2038, so
we replace the code appropriately. However, this driver is not broken
in 2038 since we are only using microseconds portion of the time.
This patch replaces 'struct timeval' with 'struct timespec64'. We only
need to find elapsed
This patch remove multiple invocation of RTL_FEATURE_WOL.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
i
Hi Guo,
I have an x86 computer with this network card:
02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI
Express Fast Ethernet Controller (rev 03)
Every time I initiate a suspend (systemctl suspend) the machine hangs
at resume unless I unload the jme driver.
Here is a Call Trace
From: Jean Sacren
Remove the unused code of sxgbe_xpcs.
Reported-by: Julia Lawall
Suggested-by: David S. Miller
Signed-off-by: Jean Sacren
Cc: Byungho An
Cc: Girish K S
Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1601191918470.2531@hadrien
---
v2:
Rewrite the changelog per request by Shu
Hi all,
I have observed the following on CentOS 6 using the
2.6.32-573.8.1.el6.x86_64 kernel as well as Ubuntu 15.10 with
4.2.0-25-generic.. I have not yet tried with a vanilla kernel but with
the large time/distro gap it didn't seem likely to be caused by distro
changes.
We have a networki
On Tue, 9 Feb 2016 18:51:35 -0500
Jarod Wilson wrote:
> On Tue, Feb 09, 2016 at 11:17:57AM -0800, Stephen Hemminger wrote:
> > Support for the new rx_nohandler statistic.
> > This code is designed to handle the case where the kernel reported statistic
> > structure is smaller than the larger stru
The below commit introduced a regression causing the wlcore
to time out and go into recovery.
commit 3719c17e1816695f415dd3b4ddcb679f7dc617c8
("wlcore/wl18xx: fw logger over sdio")
Reverting the changes regarding write of the last partition size
brings the module back to it's functional state.
R
David Laight wrote:
> Since adcx and adox must execute in parallel I clearly need to re-remember
> how dependencies against the flags register work. I'm sure I remember
> issues with 'false dependencies' against the flags.
The issue is with flags register bits that are *not* modified by
an instruc
From: David Decotigny
History:
v8
- bitmap u32 API returns number of bits copied, unit tests updated
v7
- module_exit in test_bitmap
v6
- fix copy_from_user in user/kernel handshake
v5
note: please see v4 bullets for a question regarding bitmap.c
- minor fix to make allyesconfig/allmodc
From: David Decotigny
This is mainly testing bitmap construction and conversion to/from u32[]
for now.
Tested:
qemu i386, x86_64, ppc, ppc64 BE and LE, ARM.
Signed-off-by: David Decotigny
---
lib/Kconfig.debug | 8 +
lib/Makefile | 1 +
lib/t
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
index 6cdb4d2..ea003ec 100644
--- a/drivers/inf
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
index ea003ec..1cf19a3 100644
--
From: David Decotigny
This patch defines a new ETHTOOL_GSETTINGS/SSETTINGS API, handled by
the new get_ksettings/set_ksettings callbacks. This API provides
support for most legacy ethtool_cmd fields, adds support for larger
link mode masks (up to 4064 bits, variable length), and removes
ethtool_c
From: David Decotigny
Aimed at transferring bitmaps to/from user-space in a 32/64-bit agnostic
way.
Tested:
unit tests (next patch) on qemu i386, x86_64, ppc, ppc64 BE and LE,
ARM.
Signed-off-by: David Decotigny
---
include/linux/bitmap.h | 10 ++
lib/bitmap.c | 89 +
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/net/bonding/bond_main.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 705cb01..abef2a9 100644
--- a/drivers/net/bonding/b
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
index 1cf19a3..e90dc64 1
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/net/ipvlan/ipvlan_main.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ipvlan/ipvlan_main.c b/drivers/net/ipvlan/ipvlan_main.c
index 7a3b414..9703610 100644
--- a/drivers/net/ipvlan/ipvlan
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/net/macvlan.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index 94e6888..a54ad4c 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -940,
From: David Decotigny
Signed-off-by: David Decotigny
---
include/rdma/ib_addr.h | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/include/rdma/ib_addr.h b/include/rdma/ib_addr.h
index c34c900..f669751 100644
--- a/include/rdma/ib_addr.h
+++ b/include/rdma/ib_add
From: David Decotigny
Signed-off-by: David Decotigny
---
arch/mips/txx9/generic/setup_tx4939.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/mips/txx9/generic/setup_tx4939.c
b/arch/mips/txx9/generic/setup_tx4939.c
index e3733cd..4a3ebf6 100644
--- a/arch/mips/
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/net/team/team.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index 00558e1..7f96eca7 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team
From: David Decotigny
replaced by __ethtool_get_ksettings.
Signed-off-by: David Decotigny
---
include/linux/ethtool.h | 4
net/core/ethtool.c | 45 ++---
2 files changed, 14 insertions(+), 35 deletions(-)
diff --git a/include/linux/ethtool.h
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/scsi/fcoe/fcoe_transport.c | 36
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/drivers/scsi/fcoe/fcoe_transport.c
b/drivers/scsi/fcoe/fcoe_transport.c
index d7597c0..2d5909f
From: David Decotigny
Signed-off-by: David Decotigny
---
net/8021q/vlan_dev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index ad5e2fd..d4a6131 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -621,12 +6
From: David Decotigny
Signed-off-by: David Decotigny
---
net/core/net-sysfs.c | 15 +--
net/packet/af_packet.c | 11 +--
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index da7dbc2..b9c8b91 100644
--- a/net/cor
From: David Decotigny
Signed-off-by: David Decotigny
---
net/bridge/br_if.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index c367b3e..cafe4e6 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -36,10 +36,10 @@
*/
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
index 35de7d2..b04054d 100644
thanks. done in v8 I am sending right now.
On Mon, Feb 8, 2016 at 3:36 PM, Andrew Morton wrote:
> On Sun, 7 Feb 2016 17:08:45 -0800 David Decotigny wrote:
>
>> From: David Decotigny
>>
>> Aimed at transferring bitmaps to/from user-space in a 32/64-bit agnostic
>> way.
>>
>> Tested:
>> unit t
From: David Decotigny
Signed-off-by: David Decotigny
---
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 344
drivers/net/ethernet/mellanox/mlx4/en_main.c| 1 +
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h| 1 +
3 files changed, 177 insertions(+), 169 dele
From: Craig Gallek
This change extends the fast SO_REUSEPORT socket lookup implemented
for UDP to TCP. Listener sockets with SO_REUSEPORT and the same
receive address are additionally added to an array for faster
random access. This means that only a single socket from the group
must be found i
From: Craig Gallek
tcp_hdrlen is wasteful if you already have a pointer to struct tcphdr.
This splits the size calculation into a helper function that can be
used if a struct tcphdr is already available.
Signed-off-by: Craig Gallek
---
include/linux/tcp.h | 7 ++-
1 file changed, 6 inserti
From: Craig Gallek
This is a preliminary step to allow fast socket lookup of SO_REUSEPORT
groups. Doing so with a BPF filter will require access to the
skb in question. This change plumbs the skb (and offset to payload
data) through the call stack to the listening socket lookup
implementations
From: Craig Gallek
This patch series complements an earlier series (6a5ef90c58da)
which added faster SO_REUSEPORT lookup for UDP sockets by
extending the feature to TCP sockets. It uses the same
array-based data structure which allows for socket selection
after finding the first listening socket
From: Craig Gallek
In order to support fast lookups for TCP sockets with SO_REUSEPORT,
the function that adds sockets to the listening hash set needs
to be able to check receive address equality. Since this equality
check is different for IPv4 and IPv6, we will need two different
socket hashing
From: Craig Gallek
In order to support fast reuseport lookups in TCP, the hash function
defined in struct proto must be capable of returning an error code.
This patch changes the function signature of all related hash functions
to return an integer and handles or propagates this return value at
a
From: Craig Gallek
Both of the lines in this patch probably should have been included
in the initial implementation of this code for generic socket
support, but weren't technically necessary since only UDP sockets
were supported.
First, the sk_reuseport_cb points to a structure which assumes
eac
From: Craig Gallek
Unfortunately the existing test relied on packet payload in order to
map incoming packets to sockets. In order to get this to work with TCP,
TCP_FASTOPEN needed to be used.
Since the fast open path is slightly different than the standard TCP path,
I created a second test whic
On Tue, Feb 9, 2016 at 6:58 PM, kbuild test robot wrote:
> Hi Craig,
>
> [auto build test WARNING on net-next/master]
v3 will be the charm :\
Allow the MTU of vxlan devices without an underlying device to be set
to larger values (up to a maximum based on IP packet limits and vxlan
overhead).
Previously, their MTUs could not be set to higher than the
conventional ethernet value of 1500. This is a very arbitrary value
in the context of v
Allow the MTU of geneve devices to be set to large values, in order to
exploit underlying networks with larger frame sizes.
GENEVE does not have a fixed encapsulation overhead (an openvswitch
rule can add variable length options), so there is no relevant maximum
MTU to enforce. A maximum of IP_MA
Prior to 4.3, openvswitch tunnel vports (vxlan, gre and geneve) could
transmit vxlan packets of any size, constrained only by the ability to
send out the resulting packets. 4.3 introduced netdevs corresponding
to tunnel vports. These netdevs have an MTU, which limits the size of
a packet that can
Allow the MTU of vxlan devices without an underlying device to be set
to larger values (up to a maximum based on IP packet limits and vxlan
overhead).
Previously, their MTUs could not be set to higher than the
conventional ethernet value of 1500. This is a very arbitrary value
in the context of v
Prior to 4.3, openvswitch tunnel vports (vxlan, gre and geneve) could
transmit vxlan packets of any size, constrained only by the ability to
send out the resulting packets. 4.3 introduced netdevs corresponding
to tunnel vports. These netdevs have an MTU, which limits the size of
a packet that can
Hi Craig,
[auto build test WARNING on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Craig-Gallek/Faster-SO_REUSEPORT-for-TCP/20160210-074230
config: cris-allyesconfig (attached as .config)
reproduce:
wget
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git
On Tue, Feb 09, 2016 at 11:17:57AM -0800, Stephen Hemminger wrote:
> Support for the new rx_nohandler statistic.
> This code is designed to handle the case where the kernel reported statistic
> structure is smaller than the larger structure in later releases (and vice
> versa).
This seems to work
On Thu, Feb 4, 2016 at 10:35 AM, Craig Gallek wrote:
> From: Craig Gallek
>
> In order to support fast reuseport lookups in TCP, the hash function
> defined in struct proto must be capable of returning an error code.
> This patch changes the function signature of all related hash functions
> to r
From: Craig Gallek
This is a preliminary step to allow fast socket lookup of SO_REUSEPORT
groups. Doing so with a BPF filter will require access to the
skb in question. This change plumbs the skb (and offset to payload
data) through the call stack to the listening socket lookup
implementations
From: Craig Gallek
In order to support fast lookups for TCP sockets with SO_REUSEPORT,
the function that adds sockets to the listening hash set needs
to be able to check receive address equality. Since this equality
check is different for IPv4 and IPv6, we will need two different
socket hashing
From: Craig Gallek
Both of the lines in this patch probably should have been included
in the initial implementation of this code for generic socket
support, but weren't technically necessary since only UDP sockets
were supported.
First, the sk_reuseport_cb points to a structure which assumes
eac
From: Craig Gallek
This patch series complements an earlier series (6a5ef90c58da)
which added faster SO_REUSEPORT lookup for UDP sockets by
extending the feature to TCP sockets. It uses the same
array-based data structure which allows for socket selection
after finding the first listening socket
From: Craig Gallek
This change extends the fast SO_REUSEPORT socket lookup implemented
for UDP to TCP. Listener sockets with SO_REUSEPORT and the same
receive address are additionally added to an array for faster
random access. This means that only a single socket from the group
must be found i
From: Craig Gallek
tcp_hdrlen is wasteful if you already have a pointer to struct tcphdr.
This splits the size calculation into a helper function that can be
used if a struct tcphdr is already available.
Signed-off-by: Craig Gallek
---
include/linux/tcp.h | 7 ++-
1 file changed, 6 inserti
From: Craig Gallek
Unfortunately the existing test relied on packet payload in order to
map incoming packets to sockets. In order to get this to work with TCP,
TCP_FASTOPEN needed to be used.
Since the fast open path is slightly different than the standard TCP path,
I created a second test whic
From: Craig Gallek
In order to support fast reuseport lookups in TCP, the hash function
defined in struct proto must be capable of returning an error code.
This patch changes the function signature of all related hash functions
to return an integer and handles or propagates this return value at
a
The driver has often repeated pattern of reading a register, AND'ing and/or
OR'ing some bits and writing the value back. Factor the pattern out into
sh_eth_modify() -- this saves 84 bytes of code with ARM gcc 4.7.3.
While at it, update Cogent Embedded's copyright.
Signed-off-by: Sergei Shty
The driver has often repeated pattern of reading a register, AND'ing and/or
OR'ing some bits and writing the value back. Factor the pattern out into
ravb_modify() -- this saves 260 bytes of code with ARM gcc 4.7.3.
While at it, update Cogent Embedded's copyrights.
Signed-off-by: Sergei Shtyl
Hello.
Here's a set of 2 patches against DaveM's 'net-next.git' repo. We factor out
the often repeated pattern of reading a register, AND'ing and/or OR'ing some
bits, and then writing the value back.
[1/2] ravb: factor out register bit twiddling code
[2/2] sh_eth: factor out register bit twidd
Hi Bernhard,
On Tue, Feb 9, 2016 at 6:01 PM, Bernhard Walle wrote:
> We need that for a custom hardware that needs the reverse reset
> sequence.
>
> Signed-off-by: Bernhard Walle
Looks good:
Reviewed-by: Fabio Estevam
From: Shannon Nelson
Date: Tue, 9 Feb 2016 09:42:45 -0800
> It seem to me this should be using eth_platform_get_mac_address(), a
> slightly more generic method to do this. See the i40e driver for an
> example, commit d9a84324e6 I believe.
+1
From: David Howells
Date: Tue, 09 Feb 2016 16:31:01 +
> Are you okay with me sending some of them your way now so that you don't get a
> host all in one go, or would you prefer the mass invasion approach?
Please send them in reasonable chunks, thanks.
Hi All,
On Wed, Feb 10, 2016 at 8:36 AM, João Paulo Rechi Vita
wrote:
> Provide an interface for the airplane-mode indicator be controlled from
> userspace. User has to first acquire the control through
> RFKILL_OP_AIRPLANE_MODE_ACQUIRE and keep the fd open for the whole time
> it wants to be in
Provide an interface for the airplane-mode indicator be controlled from
userspace. User has to first acquire the control through
RFKILL_OP_AIRPLANE_MODE_ACQUIRE and keep the fd open for the whole time
it wants to be in control of the indicator. Closing the fd or using
RFKILL_OP_AIRPLANE_MODE_RELEAS
On 8 February 2016 at 17:53, Julian Calaby wrote:
>> + if (ev.op == RFKILL_OP_AIRPLANE_MODE_RELEASE) {
>> + if (rfkill_apm_owned && !data->is_apm_owner) {
>
> Are you sure this is correct?
>
> In the case that airplane mode isn't owned, the
> rfkill_apm_led_trigger_event() cal
This is the initial submission of an ethernet driver for
the Microchip LAN9352.
The LAN9352 is a 2-Port 10/100 Managed Ethernet Switch
with 16-Bit Non-PCI CPU Interface.
While the LAN9352 is a Managed Ethernet Switch, this driver
only supports a simple ethernet controller interface.
Signed-off
I'm running into a bug with kernel 4.4.0 where a VM-VM test between two
different baremetal hosts (HP Proliant dl360gen9s) has receive-side
throughput
that's about 25% lower than expected with a Mellanox ConnectX3-pro NIC.
The VMs
are connected over a VXLAN tunnel that I used OpenvSwitch 2.4
There are a few instances of
for (i = 0; i < FOO; ++i) {
ret = do_stuff(i)
if (ret)
goto err;
}
...
err:
while (--i)
undo_stuff(i);
At best, this fails to undo_stuff for i==0, but if i==0 was the case
that failed, we'll end up with an "infinite" loop in the error path
The while loop after err_slaves should use post-decrement; otherwise
we'll fail to do the kfrees for i==0, and will run into out-of-bounds
accesses if the setup above failed already at i==0.
The predecrement in the --port is ok, since ->vlan_filter is
(bizarrely) 1-indexed. But I'm changing 'if' t
We need to use post-decrement to ensure that irq_dispose_mapping is
also called on priv->rxq[0]->irq_no; moreover, if one of the above for
loops failed already at i==0 (so we reach one of these labels with
that value of i), we'll enter an essentially infinite loop of
out-of-bounds accesses.
Signed
We need that for a custom hardware that needs the reverse reset
sequence.
Signed-off-by: Bernhard Walle
---
Changes compared to v1:
- Add documentation to 'phy-reset-gpios' that flags are ignored
as suggested by Andrew Lunn.
Documentation/devicetree/bindings/net/fsl-fec.txt | 7 ++-
dri
Add support for MICREL KSZ8795CLX Integrated 5-Port, 10-/100-Managed
Ethernet Switch with Gigabit GMII/RGMII and MII/RMII interfaces.
Signed-off-by: Helmut Buchsbaum
---
drivers/net/phy/spi_ks8995.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/net/ph
Since the chip variant is now determined by spi_device_id, verify
family and chip id and determine the revision id.
Signed-off-by: Helmut Buchsbaum
---
drivers/net/phy/spi_ks8995.c | 118 +--
1 file changed, 80 insertions(+), 38 deletions(-)
diff --git a/
When using device tree it is no more possible to reset the PHY at board
level. Furthermore, doing in the driver allows to power down the switch
when it is not used any more.
The patch introduces a new optional property "reset-gpios" denoting an
appropriate GPIO handle, e.g.:
reset-gpios = <&gpio0
Prepare creating SPI reads and writes for other switch families.
The KS8995 family uses the straight forward
<8bit CMD><8bit ADDR>
sequence.
To be able to support KSZ8795 family, which uses
<3bit CMD><12bit ADDR><1 bit TR>
make the SPI command creation chip variant dependent.
Signe
Signed-off-by: Helmut Buchsbaum
---
.../devicetree/bindings/net/micrel-ks8995.txt| 20
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/micrel-ks8995.txt
diff --git a/Documentation/devicetree/bindings/net/micrel-ks8995.txt
b
This patch series refactors the spi-ks8995 driver to finally add support
for the MICREL KSZ8795CLX. Additionally support for controlling a GPIO
line for resetting the switch is added.
Helmut
Changes since v2:
- use GPIO_ACTIVE_LOW according to Andrew's remark.
- use ePAPR compliant node name in
Refactor to use spi_device_id table to facilitate easy
extendability.
Signed-off-by: Helmut Buchsbaum
---
drivers/net/phy/spi_ks8995.c | 42 --
1 file changed, 40 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/spi_ks8995.c b/drivers/net/phy/sp
On Tuesday 09 February 2016 16:55:42 Karicheri, Muralidharan wrote:
>
> The descriptors are usable by different drivers, one driver may use it as
> buf ptr/ len, other for something else. So they should remain as generic
> and it is up to individual drivers to use it in whatever way it requires.
Support for the new rx_nohandler statistic.
This code is designed to handle the case where the kernel reported statistic
structure is smaller than the larger structure in later releases (and vice
versa).
Signed-off-by: Stephen Hemminger
---
ip/ipaddress.c | 35 ++
I ended up reverting this patch from iproute2 because the code in kernel
was not accepted upstream.
After it is upstream in kernel please resubmit
This change has been made with the goal that kernel functions should
return something more descriptive than -1 on failure.
A variable `err` has been introduced for storing error codes.
The return value of kzalloc on failure should return a -1 and not a
-ENOMEM. This was found using Coccinelle. A
Sergei Shtylyov writes:
>The networking code formats comments:
>
> /* Like
> * this.
> */
Thanks. And I noticed another silly mistake. Will respin.
David
On 02/09/2016 07:47 PM, David Wragg wrote:
Allow the MTU of geneve devices to be set to large values, in order to
exploit underlying networks with larger frame sizes.
GENEVE does not have a fixed encapsulation overhead (an openvswitch
rule can add variable length options), so there is no releva
It seem to me this should be using eth_platform_get_mac_address(), a
slightly more generic method to do this. See the i40e driver for an
example, commit d9a84324e6 I believe.
sln
On Tue, Feb 9, 2016 at 3:59 AM, Andrew Lunn wrote:
>> > + dn = of_find_compatible_node(NULL, NULL, "intel,i211
On Tue, 9 Feb 2016 00:14:19 +0100
Nikolay Aleksandrov wrote:
> From: Nikolay Aleksandrov
>
> Netlink returns the bridge_id and designated_root, we just need to
> make them visible.
>
> Signed-off-by: Nikolay Aleksandrov
Series applied.
On Mon, 8 Feb 2016 17:13:58 +0100
Nikolay Aleksandrov wrote:
> From: Nikolay Aleksandrov
>
> It seems that I've made a mistake when I exported these, instead of a
> space in the end I've put a newline character which is wrong and breaks
> the single line output.
>
> Fixes: 7d6bc3b87abad ("bon
On Sun, 7 Feb 2016 16:28:16 -0800
Roopa Prabhu wrote:
> From: Roopa Prabhu
>
> This patch adds support to add mpls multipath
> routes.
>
> example:
> ip -f mpls route add 100 \
> nexthop as 200 via inet 10.1.1.2 dev swp1 \
> nexthop as 700 via inet 10.1.1.6 dev swp2
>
> Signed-of
>-Original Message-
>From: David Laight [mailto:david.lai...@aculab.com]
>Sent: Tuesday, February 09, 2016 11:38 AM
>To: Karicheri, Muralidharan; Strashko, Grygorii; netdev@vger.kernel.org; David
>S . Miller;
>Arnd Bergmann
>Cc: Cooper Jr., Franklin; Nori, Sekhar; linux-ker...@vger.kernel.
From: Karicheri, Muralidharan
> Sent: 09 February 2016 16:19
> >...
> >> >In reality the 'pad' fields ought to be renamed - since they aren't pads.
> >> >Perhaps they should be a union?
> >
> >> No. At the end of the descriptor, host software can add scratchpad
> >> which is not modified by the har
Allow the MTU of vxlan devices without an underlying device to be set
to larger values (up to a maximum based on IP packet limits and vxlan
overhead).
Previously, their MTUs could not be set to higher than the
conventional ethernet value of 1500. This is a very arbitrary value
in the context of v
Prior to 4.3, tunnel vports (vxlan, gre and geneve) could transmit
vxlan packets of any size, constrained only by the ability to send out
the resulting packets. 4.3 introduced netdevs corresponding to tunnel
vports. These netdevs have an MTU, which limits the size of a packet
that can be successf
Allow the MTU of geneve devices to be set to large values, in order to
exploit underlying networks with larger frame sizes.
GENEVE does not have a fixed encapsulation overhead (an openvswitch
rule can add variable length options), so there is no relevant maximum
MTU to enforce. A maximum of IP_MA
Prior to 4.3, tunnel vports (vxlan, gre and geneve) could transmit
vxlan packets of any size, constrained only by the ability to send out
the resulting packets. 4.3 introduced netdevs corresponding to tunnel
vports. These netdevs have an MTU, which limits the size of a packet
that can be successf
Hi Dave,
I've split 23 patches out of my AF_RXRPC rewrite so far. If you look here:
http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-experimental
the penultimate patch is the remnant rewrite, the 23 patches below that are
ones I've split out of it.
Are yo
1 - 100 of 153 matches
Mail list logo