>
> This patch adds a simple queue selection function to macvlan
> layer. In most cases, this will just use the standard fallback
> fuction, but when rx-queue has been recoreded we'll try to use
> that value.
>
> Signed-off-by: Vladislav Yasevich
> ---
> drivers/net/macvlan.c | 20 +++
skb->cb may contain data from previous layers (in the observed case the
qdisc layer). In the observed scenario, the data was misinterpreted as
ip header options, which later caused the ihl to be set to an invalid
value (<5). This resulted in an infinite loop in the mips implementation
of ip_fast_cs
On Tue, Feb 02, 2016 at 02:28:58AM +, Linux Kernel wrote:
> Web:
> https://git.kernel.org/torvalds/c/ce87fc6ce3f9f4488546187e3757cf666d9d4a2a
> Commit: ce87fc6ce3f9f4488546187e3757cf666d9d4a2a
> Parent: 5f2f3cad8b878b23f17a11dd5af4f4a2cc41c797
> Refname:refs/heads/maste
Ethernet drivers implementing both {GS}RXFH and {GS}CHANNELS ethtool ops
incorrectly allow SCHANNELS when it would conflict with the settings
from SRXFH. This occurs because it is not possible for drivers to
understand whether their Rx flow indirection table has been configured
or is in the default
Add a sanity check to ensure that all requested channel sizes are within
bounds, which should reduce errors in driver implementation.
Signed-off-by: Jacob Keller
---
net/core/ethtool.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/net/core/ethtool.c b/net/cor
This patch series fixes up ethtool_set_channels operation which
allowed modifying the RXFH table indirectly by reducing the number of
queues below the current max queue used by the Rx flow table. Most
drivers incorrectly allowed this to destroy the Rx flow table and
would then start by reinitializi
Signed-off-by: Jacob Keller
---
ethtool.8.in | 5 -
ethtool.c| 46 --
2 files changed, 36 insertions(+), 15 deletions(-)
diff --git a/ethtool.8.in b/ethtool.8.in
index eeffa70415b5..b7d56fbe4484 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@
Also print an error message incase we do have to reconfigure as this
should no longer happen anymore due to ethtool changes. If it somehow
does occur, user should be made aware of it.
Signed-off-by: Jacob Keller
---
drivers/net/ethernet/intel/fm10k/fm10k_main.c | 10 --
1 file changed, 8
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 tests (next patch) on qemu i386, x86_64, ppc, ppc64 BE and LE,
> ARM.
>
> @@ -1060,6 +1062,90 @@ int bit
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_QUERIER attribute
in iproute2 so it can toggle the mcast querier value.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/ip/iplink_bridge.c
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_SNOOPING attribute
in iproute2 so it can change the multicast snooping value.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/ip/iplink_bri
From: Nikolay Aleksandrov
Netlink returns the bridge_id and designated_root, we just need to
make them visible.
Signed-off-by: Nikolay Aleksandrov
---
v2: use ether_ntoa_r in bridge_id dump
ip/iplink_bridge.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/ip/i
From: Nikolay Aleksandrov
Netlink already export these values, we just need to make them visible.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 16
1 file changed, 16 insertions(+)
diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c
index 3bbbcaa120cf..33ffa6c2
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_GROUP_FWD_MASK attribute
in iproute2 so it can change the group forwarding mask.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/ip/iplink_bridge
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_QUERY_USE_IFADDR
attribute in iproute2 so it can toggle the multicast_query_use_ifaddr val.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 15 +++
1 file changed, 15 insertions(+)
diff --git
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_VLAN_DEFAULT_PVID
attribute in iproute2 so it can change the default pvid.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/ip/iplink_bridge.c b/
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_LAST_MEMBER_CNT
attribute in iproute2 so it can change the last member count value.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/ip/ip
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_STARTUP_QUERY_CNT
attribute in iproute2 so it can change the startup query count.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/ip/ipli
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_LAST_MEMBER_INTVL
attribute in iproute2 so it can change the last member interval.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/ip/ipl
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_QUERY_RESPONSE_INTVL
attribute in iproute2 so it can change the query response interval.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 16
1 file changed, 16 insertions(+)
diff --git a
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_QUERIER_INTVL
attribute in iproute2 so it can change the querier interval.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 16
1 file changed, 16 insertions(+)
diff --git a/ip/iplink_bri
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_HASH_MAX attribute
in iproute2 so it can change the maximum hashed entries.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/ip/iplink_brid
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_NF_CALL_(IP|IP6|ARP)TABLES
attributes in iproute2 so it can change their values.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 45 +
1 file changed, 45 insertions(+
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_STARTUP_QUERY_INTVL
attribute in iproute2 so it can change the startup query interval.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 16
1 file changed, 16 insertions(+)
diff --git a/i
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_MEMBERSHIP_INTVL
attribute in iproute2 so it can change the membership interval.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 16
1 file changed, 16 insertions(+)
diff --git a/ip/ipli
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_QUERY_INTVL attribute
in iproute2 so it can change the query interval.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 16
1 file changed, 16 insertions(+)
diff --git a/ip/iplink_bridge.
From: Nikolay Aleksandrov
Netlink already provides hello_timer, tcn_timer, topology_change_timer
and gc_timer, so let's make them visible.
Signed-off-by: Nikolay Aleksandrov
---
v2: export timers in seconds.milliseconds format as per Stephen's comment
include/utils.h| 18 +
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_HASH_ELASTICTITY
attribute in iproute2 so it can change the hash elasticity value.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/ip/ipl
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_MCAST_ROUTER attribute
in iproute2 so it can change the multicast router value.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/ip/iplink_bridge.
From: Nikolay Aleksandrov
Hi,
After I added support for all attributes in the kernel, it's time to make
use of them in iproute2. I've tested changing/viewing all of the
attributes. I'll send a separate set to add support for the ports
attributes.
For the future, adding a switch to change to "seco
From: Nikolay Aleksandrov
This patch implements support for the IFLA_BR_GROUP_ADDR attribute
in iproute2 so it can change the group address.
Signed-off-by: Nikolay Aleksandrov
---
ip/iplink_bridge.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/ip/iplink_bridge.c b/i
On Mon, 2016-02-08 at 11:38 -0800, Stephen Hemminger wrote:
> The iproute2 command can be fixed, but adding dependency on size of response
> gets gross fast. Imagine when 4 more fields get added, this doesn't scale
> well.
Really ? I see no problem at all doing the proper tests.
>
> Also, the
Hi João,
On Tue, Feb 9, 2016 at 2:41 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
Hi João,
On Tue, Feb 9, 2016 at 2:41 AM, João Paulo Rechi Vita wrote:
> Factor all assignments to rfkill_global_states[].cur into a single
> function rfkill_update_global_state().
>
> Signed-off-by: João Paulo Rechi Vita
Looks sane to me.
Reviewed-by: Julian Calaby
> ---
> net/rfkill/core.c
Hi João,
On Tue, Feb 9, 2016 at 2:41 AM, João Paulo Rechi Vita wrote:
> The "claim" sysfs interface has been removed, so its documentation now
> lives in the "removed" folder.
>
> Signed-off-by: João Paulo Rechi Vita
Looks right to me.
Reviewed-by: Julian Calaby
> ---
> Documentation/ABI/st
Hi João,
On Tue, Feb 9, 2016 at 2:41 AM, João Paulo Rechi Vita wrote:
> Signed-off-by: João Paulo Rechi Vita
Looks sane to me.
Reviewed-by: Julian Calaby
> ---
> net/rfkill/core.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/net/rfkill/core.c b/net/rfkill/core.c
> index ffbc375..
Hi João,
On Tue, Feb 9, 2016 at 2:41 AM, João Paulo Rechi Vita wrote:
> Signed-off-by: João Paulo Rechi Vita
Looks right to me.
Reviewed-by: Julian Calaby
> ---
> net/rfkill/core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/rfkill/core.c b/net/rfkill/co
On 02/08/2016 11:25 PM, Nikolay Aleksandrov wrote:
> On 02/08/2016 11:21 PM, Stephen Hemminger wrote:
>> On Mon, 8 Feb 2016 12:55:07 +0100
>> Nikolay Aleksandrov wrote:
>>
>>>
>>> +static void br_dump_bridge_id(const struct ifla_bridge_id *id, char *buf,
>>> + size_t len
On 02/08/2016 11:23 PM, Stephen Hemminger wrote:
> On Mon, 8 Feb 2016 12:55:09 +0100
> Nikolay Aleksandrov wrote:
>
>> +
>> +if (tb[IFLA_BR_HELLO_TIMER])
>> +fprintf(f, "hello_timer %llu ",
>> +rta_getattr_u64(tb[IFLA_BR_HELLO_TIMER]));
>> +
>> +if (tb[IFL
On 02/08/2016 11:21 PM, Stephen Hemminger wrote:
> On Mon, 8 Feb 2016 12:55:07 +0100
> Nikolay Aleksandrov wrote:
>
>>
>> +static void br_dump_bridge_id(const struct ifla_bridge_id *id, char *buf,
>> + size_t len)
>> +{
>> +const unsigned char *x = (const unsigned
On Mon, 8 Feb 2016 12:55:09 +0100
Nikolay Aleksandrov wrote:
> +
> + if (tb[IFLA_BR_HELLO_TIMER])
> + fprintf(f, "hello_timer %llu ",
> + rta_getattr_u64(tb[IFLA_BR_HELLO_TIMER]));
> +
> + if (tb[IFLA_BR_TCN_TIMER])
> + fprintf(f, "tcn_timer %l
On Mon, 8 Feb 2016 12:55:07 +0100
Nikolay Aleksandrov wrote:
>
> +static void br_dump_bridge_id(const struct ifla_bridge_id *id, char *buf,
> + size_t len)
> +{
> + const unsigned char *x = (const unsigned char *)id;
> +
> + snprintf(buf, len, "%.2x%.2x.%.2x%.
On Mon, 2016-02-08 at 20:52 +, Jakub Kicinski wrote:
> On Mon, 8 Feb 2016 12:06:04 -0800, Jacob Keller wrote:
> > + /* can't set combined and separate channels at the same
> > time */
> > + if ((channels.combined_count &&
> > + (channels.rx_count || channels.tx_count))
> > + r
On Sun, Feb 7, 2016 at 11:19 AM, David Miller wrote:
> From: Mahesh Bandewar
> Date: Tue, 2 Feb 2016 11:20:30 -0800
>
>> From: Mahesh Bandewar
>>
>> The mode argument was erronusly defined as u32 but it has always
>> been u16.
>>
>> Signed-off-by: Mahesh Bandewar
>
> This patch is changing mor
From: Nikolay Borisov
This was initially introduced in df2cf4a78e488d26 ("IGMP: Inhibit
reports for local multicast groups") by defining the sysctl in the
ipv4_net_table array, however it was never implemented to be
namespace aware. Fix this by changing the code accordingly.
---
v2:
Move defini
On Mon, 2016-02-08 at 20:52 +, Jakub Kicinski wrote:
> On Mon, 8 Feb 2016 12:06:04 -0800, Jacob Keller wrote:
> > + /* can't set combined and separate channels at the same
> > time */
> > + if ((channels.combined_count &&
> > + (channels.rx_count || channels.tx_count))
> > + r
Hi Nikolay,
[auto build test WARNING on net-next/master]
[also build test WARNING on next-20160208]
[cannot apply to net/master v4.5-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits
On Mon, Feb 08, 2016 at 10:46:42PM +0100, Arnd Bergmann wrote:
> On Monday 08 February 2016 21:21:13 Bernhard Walle wrote:
> > We need that for a custom hardware that needs the reverse reset
> > sequence.
> >
> > Signed-off-by: Bernhard Walle
> >
>
> Why can't this be specified in the gpios pro
On Mon, Feb 08, 2016 at 09:21:13PM +0100, Bernhard Walle wrote:
> We need that for a custom hardware that needs the reverse reset
> sequence.
>
> Signed-off-by: Bernhard Walle
> ---
> Documentation/devicetree/bindings/net/fsl-fec.txt | 3 +++
> drivers/net/ethernet/freescale/fec_main.c |
On Monday 08 February 2016 21:21:13 Bernhard Walle wrote:
> We need that for a custom hardware that needs the reverse reset
> sequence.
>
> Signed-off-by: Bernhard Walle
>
Why can't this be specified in the gpios property?
Arnd
Signed-off-by: Nikolay Borisov
---
include/linux/igmp.h | 2 --
include/net/netns/ipv4.h | 1 +
net/ipv4/igmp.c| 29 +
net/ipv4/sysctl_net_ipv4.c | 20 ++--
net/ipv4/tcp_ipv4.c| 1 +
5 files changed, 29 insertions(+), 24 d
This series continue making more of the net related sysctls
namespace aware. The first 2 and last patches are straight
forward and convert sysctls which weren't defined to be
namespace aware. The only thing in them is that each removes
a define which is used in only one place (to initialise
the
Signed-off-by: Nikolay Borisov
---
include/linux/igmp.h | 1 -
include/net/netns/ipv4.h | 1 +
net/ipv4/igmp.c| 5 +
net/ipv4/ip_sockglue.c | 5 +++--
net/ipv4/sysctl_net_ipv4.c | 14 +++---
net/ipv4/tcp_ipv4.c| 1 +
6 files changed, 13 insertions(
This was initially introduced in commit df2cf4a78e48 ("IGMP: Inhibit
reports for local multicast groups") by defining the sysctl in the
ipv4_net_table array, however it was never implemented to be
namespace aware. Fix this by changing the code accordingly.
Signed-off-by: Nikolay Borisov
---
incl
Signed-off-by: Nikolay Borisov
---
include/linux/igmp.h | 1 -
include/net/netns/ipv4.h | 2 ++
net/ipv4/igmp.c| 4 +---
net/ipv4/sysctl_net_ipv4.c | 14 +++---
net/ipv4/tcp_ipv4.c| 2 ++
5 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/incl
On 02/08/2016 05:13 PM, 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 ("bonding: export
On Mon, 8 Feb 2016 12:06:04 -0800, Jacob Keller wrote:
> + /* can't set combined and separate channels at the same time */
> + if ((channels.combined_count &&
> + (channels.rx_count || channels.tx_count))
> + return -EINVAL;
> +
> /* ensure the new Rx count fits with
Build bot seems upset so let me throw few stones as well.
On Mon, 8 Feb 2016 12:06:02 -0800, Jacob Keller wrote:
>
> +static inline int ethool_get_max_rxfh_channel(struct net_device *dev, u32
> *max)
static inline in C sources is frowned upon.
> + u32 dev_size, current_max = 0;
> + u32
Hi Jacob,
[auto build test ERROR on net/master]
[also build test ERROR on v4.5-rc3 next-20160208]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Jacob-Keller/ethtool-correctly-ensure-GS
Hi Jacob,
[auto build test WARNING on net/master]
[also build test WARNING on v4.5-rc3 next-20160208]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Jacob-Keller/ethtool-correctly-ensure-GS
Hi Jacob,
[auto build test ERROR on net/master]
[also build test ERROR on v4.5-rc3 next-20160208]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Jacob-Keller/ethtool-correctly-ensure-GS
Hi Jacob,
[auto build test ERROR on net/master]
[also build test ERROR on v4.5-rc3 next-20160208]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Jacob-Keller/ethtool-correctly-ensure-GS
We need that for a custom hardware that needs the reverse reset
sequence.
Signed-off-by: Bernhard Walle
---
Documentation/devicetree/bindings/net/fsl-fec.txt | 3 +++
drivers/net/ethernet/freescale/fec_main.c | 8 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/Do
David Laight wrote:
> I'd need convincing that unrolling the loop like that gives any significant
> gain.
> You have a dependency chain on the carry flag so have delays between the
> 'adcq'
> instructions (these may be more significant than the memory reads from l1
> cache).
If the carry chain
Hi Jacob,
[auto build test ERROR on net/master]
[also build test ERROR on v4.5-rc3 next-20160208]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Jacob-Keller/ethtool-correctly-ensure-GS
There is presently a race condition between the bonding periodic
link monitor and the updating of a slave's speed and duplex. The former
occurs on a periodic basis, and the latter in response to a driver's
calling of netif_carrier_on.
It is possible for the periodic monitor to ru
Also print an error message incase we do have to reconfigure as this
should no longer happen anymore due to ethtool changes. If it somehow
does occur, user should be made aware of it.
Signed-off-by: Jacob Keller
---
drivers/net/ethernet/intel/fm10k/fm10k_main.c | 10 --
1 file changed, 8
Based on reading current implementations of {GS}CHANNELS, most drivers
either support only combined counts or only separate counts. At least
one driver supported setting combined or separate channels. No driver
supported combined and separate channels setting at the same time, and
this patch adds a
This patch series fixes up ethtool_set_channels operation which
allowed modifying the RXFH table indirectly by reducing the number of
queues below the current max queue used by the Rx flow table. Most
drivers incorrectly allowed this to destroy the Rx flow table and
would then start by reinitializi
Add a sanity check to ensure that all requested channel sizes are within
bounds, which should reduce errors in driver implementation.
Signed-off-by: Jacob Keller
---
net/core/ethtool.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/net/core/ethtool.c b/net/c
Ethernet drivers implementing both {GS}RXFH and {GS}CHANNELS ethtool ops
incorrectly allow SCHANNELS when it would conflict with the settings
from SRXFH. This occurs because it is not possible for drivers to
understand whether their Rx flow indirection table has been configured
or is in the default
On Mon, 2016-02-08 at 19:23 +, Jakub Kiciński wrote:
> On Mon, 8 Feb 2016 17:13:15 +, Keller, Jacob E wrote:
> > Maybe we can store it as a flag in the netdev structure instead?
>
> Either flag in the netdev or keep your reset callback. Neither seems
> spectacularly clean. Maybe someone
There is presently a race condition between the bonding periodic
link monitor and the updating of a slave's speed and duplex. The former
occurs on a periodic basis, and the latter in response to a driver's
calling of netif_carrier_on.
It is possible for the periodic monitor to ru
On Mon, 8 Feb 2016 13:32:54 -0500
Jarod Wilson wrote:
> On Sun, Feb 07, 2016 at 12:19:28PM -0800, Eric Dumazet wrote:
> > On Sun, 2016-02-07 at 14:46 -0500, David Miller wrote:
> >
> > > > Why was this userspace ABI change allowed?
> > > > The stats structure is exposed to user space via netlink
On Mon, 8 Feb 2016 17:13:15 +, Keller, Jacob E wrote:
> On Mon, 2016-02-08 at 13:26 +, Jakub Kicinski wrote:
> > On Fri, 5 Feb 2016 12:30:21 -0800, Jacob Keller wrote:
> > > +#define FM10K_FLAG_RETA_TABLE_CONFIGURED (u32)(BIT(6))
> >
> > If we go with your proposal every driver will have
Shame on me for not including bare-iron TCP_RR:
stack@fcperf-cp1-comp0001-mgmt:~$ grep "1 1" xps_tcp_rr_on_* | awk
'{t+=$6;r+=$9;s+=$10}END{print "throughput",t/NR,"recv sd",r/NR,"send
sd",s/NR}'
throughput 18589.4 recv sd 21.6296 send sd 20.5931
stack@fcperf-cp1-comp0001-mgmt:~$ grep "
On 02/07/2016 03:18 PM, roopa wrote:
> On 2/3/16, 2:47 AM, Jiri Pirko wrote:
>> From: Jiri Pirko
>>
>> There a is need for some userspace API that would allow to expose things
>> that are not directly related to any device class like net_device of
>> ib_device, but rather chip-wide/switch-ASIC-wid
The present unix_stream_read_generic contains various code sequences of
the form
err = -EDISASTER;
if ()
goto out;
This has the unfortunate side effect of possibly causing the error code
to bleed through to the final
out:
return copied ? : err;
and then to be wrongly returned if
Hello.
On 02/08/2016 08:35 PM, Helmut Buchsbaum wrote:
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 --gi
Hello.
On 02/08/2016 06:33 PM, Rainer Weikusat wrote:
The present unix_stream_read_generic contains various code sequences of
the form
err = -EDISASTER;
if ()
goto out;
This has the unfortunate side effect of possibly causing the error code
to bleed through to the final
out:
On Sun, Feb 07, 2016 at 12:19:28PM -0800, Eric Dumazet wrote:
> On Sun, 2016-02-07 at 14:46 -0500, David Miller wrote:
>
> > > Why was this userspace ABI change allowed?
> > > The stats structure is exposed to user space via netlink
> > > and changing the size of responses will break iproute2 comm
The present unix_stream_read_generic contains various code sequences of
the form
err = -EDISASTER;
if ()
goto out;
This has the unfortunate side effect of possibly causing the error code
to bleed through to the final
out:
return copied ? : err;
and then to be wrongly returned if
On 02/04/2016 11:38 AM, Tom Herbert wrote:
I'd start with verifying the XPS configuration is sane and then trying
to reproduce the issue outside of using VMs, if both of those are okay
then maybe look at some sort of bad interaction with OpenStack
configuration.
So, looking at bare-iron, I can
On 8 February 2016 at 11:11, Dan Williams wrote:
> On Mon, 2016-02-08 at 10:41 -0500, 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 t
Eric, thank you for the feedback!
On Wed, Feb 3, 2016 at 8:34 PM, Eric Dumazet wrote:
> On Wed, 2016-02-03 at 19:17 +0100, Bendik Rønning Opstad wrote:
>> On Tue, Feb 2, 2016 at 9:35 PM, Eric Dumazet
wrote:
>>> Really this looks very complicated.
>>
>> Can you be more specific?
>
> A lot of code
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
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
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
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 v1:
- removed initializing registers from Device Tree following Florian's
advice
- fixe
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/
Sorry guys, I messed up that email by including HTML, and it got
rejected by netdev@vger.kernel.org. I'll resend it properly formatted.
Bendik
On 08/02/16 18:17, Bendik Rønning Opstad wrote:
> Eric, thank you for the feedback!
>
> On Wed, Feb 3, 2016 at 8:34 PM, Eric Dumazet wrote:
>> On Wed, 2
Hello Marcel,
On 8 February 2016 at 11:20, Marcel Holtmann wrote:
> Hi Joa Paulo,
>
>> 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
>>
Hi Sergei-san,
2016-02-08 2:09 GMT+09:00 Sergei Shtylyov :
> Hello.
>
> On 02/07/2016 07:50 PM, Yoshihiro Kaneko wrote:
>
>> I apologize for not responding to you earlier.
>
>
>Absolutely no problem, these reviews/tests take time from my main tasks
> anyway. :-)
>
>
From: Kazuya Mizuguchi
On 2016-02-08 17:20, Marcel Holtmann wrote:
as explained in an earlier response, the concept Airplane Mode seems
to be imposing policy into the kernel. Do we really want have this as
a kernel exposed API.
This patch is the one that *solves* that problem ... please read it more
carefully?
jo
On Mon, 2016-02-08 at 13:26 +, Jakub Kicinski wrote:
> Hi Jacob!
>
> First of all thanks for putting your time into sorting this out,
> figuring out what to do with user-set RSS table when queues are
> reconfigured was a head scratcher for me as well.
>
Yep!
> On Fri, 5 Feb 2016 12:30:21 -
>-Original Message-
>From: Jay Vosburgh [mailto:jay.vosbu...@canonical.com]
>Sent: Thursday, February 04, 2016 4:37 PM
>To: Tantilov, Emil S
>Cc: netdev@vger.kernel.org; go...@cumulusnetworks.com; zhuyj
>; j...@mellanox.com
>Subject: Re: bonding reports interface up with 0 Mbps
>
>Jay Vosb
Hi Joa Paulo,
> 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
> RFKIL
On 06/02/16 10:58, Francois Romieu wrote:
Robert Shearman :
[...]
diff --git a/net/mpls/Makefile b/net/mpls/Makefile
index 9ca923625016..6fdd61b9eae3 100644
--- a/net/mpls/Makefile
+++ b/net/mpls/Makefile
[...]
@@ -98,6 +94,29 @@ bool mpls_pkt_too_big(const struct sk_buff *skb, unsigned
int
1 - 100 of 188 matches
Mail list logo