Re: [PATCH net-next] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-23 Thread Nicolas Dichtel
Le 22/12/2015 01:34, Pravin B Shelar a écrit : By moving stats update into iptunnel_xmit(), we can simplify iptunnel_xmit() usage. With this change there is no need to call another function (iptunnel_xmit_stats()) to update stats in tunnel xmit code path. Signed-off-by: Pravin B Shelar

[PATCH 2/2] ixgbe: Use core to device locality interface

2015-12-23 Thread Daniel J Blueman
Rather than assuming cores starting from 0 are local to the ethernet device, use the introduced interface to find near cores. Not only does this improve performance due to spreading interrupts via near NUMA nodes, it prevents assigning cores on distant NUMA nodes, which aren't reachable by device

[PATCH 1/2] PCI: Add mechanism to find topologically near cores

2015-12-23 Thread Daniel J Blueman
Some devices (eg ixgbe) make assumptions about device to core locality when specifying interrupts locality hints and allocate starting from core 0. Moreover, interrupts may not be routable to distant NUMA nodes due to the 8-bit APIC ID space limitations. Provide a mechanism drivers can use to

[PATCH net-next 0/3] Ethtool support for phy stats

2015-12-23 Thread Andrew Lunn
This patchset add ethtool support for reading statistics from the PHY. The Marvell and Micrel Phys are then extended to report receiver packet errors and idle errors. Patches to ethtool(1) to follow. Andrew Lunn (3): ethtool: Add phy statistics phy: marvell: Add ethtool statistics counters

[PATCH net-next 2/3] phy: marvell: Add ethtool statistics counters

2015-12-23 Thread Andrew Lunn
The PHY counters receiver errors and errors while idle. Signed-off-by: Andrew Lunn --- drivers/net/phy/marvell.c | 135 ++ 1 file changed, 135 insertions(+) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index

[PATCH net-next 1/3] ethtool: Add phy statistics

2015-12-23 Thread Andrew Lunn
Ethernet PHYs can maintain statistics, for example errors while idle and receive errors. Add an ethertool mechanism to retrieve these statistics, using the same model as MAC statistics. Signed-off-by: Andrew Lunn --- drivers/net/phy/phy.c| 35

[PATCH net-next 3/3] phy: micrel: Add ethtool statistics counters

2015-12-23 Thread Andrew Lunn
The PHY counters receiver errors and errors while idle. Signed-off-by: Andrew Lunn --- drivers/net/phy/micrel.c | 96 1 file changed, 96 insertions(+) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index

[PATCH 1/2] ethtool-copy.h: sync with net

2015-12-23 Thread Andrew Lunn
This covers kernel changes up to: commit eff3cddc222c88943ff515ae9335687c9e2cbaf6 Author: Jacob Keller Date: Wed Apr 22 14:40:30 2015 -0700 clarify implementation of ethtool's get_ts_info op Signed-off-by: Andrew Lunn --- ethtool-copy.h |

[PATCH 0/2] ethtool(1) support for reading Phy stats

2015-12-23 Thread Andrew Lunn
Add support to ethertool(1) for reading phy statistics. The mechanism is the same for reading MAC stats. Andrew Lunn (2): ethtool-copy.h: sync with net ethtool: Add PHY statistics support ethtool-copy.h | 55 +++-- ethtool.8.in | 6 ++

[PATCH 2/2] ethtool: Add PHY statistics support

2015-12-23 Thread Andrew Lunn
This adds support for printing statistics from the network devices PHY. Signed-off-by: Andrew Lunn --- ethtool.8.in | 6 ++ ethtool.c| 60 2 files changed, 66 insertions(+) diff --git a/ethtool.8.in

Re: [PATCH 1/1] ixgbe: force to synchronize reporting "link on" and getting speed and duplex

2015-12-23 Thread Sergei Shtylyov
Hello. On 12/23/2015 9:46 AM, zyjzyj2...@gmail.com wrote: From: Zhu Yanjun In X540 NIC, there is a time span between reporting "link on" and getting the speed and duplex. To a bonding driver in 802.3ad mode, this time span will make it not work well if the time span is

Re: [PATCH net] geneve: initialize needed_headroom

2015-12-23 Thread Paolo Abeni
On Wed, 2015-12-23 at 16:35 +0100, Hannes Frederic Sowa wrote: > On 23.12.2015 16:21, Paolo Abeni wrote: > > @@ -1187,6 +1187,14 @@ static int geneve_configure(struct net *net, struct > > net_device *dev, > > if (t) > > return -EBUSY; > > > > + /* make enough headroom for

Re: [PATCH RFC 01/28] component: remove old add_components method

2015-12-23 Thread Russell King - ARM Linux
Why are you sending this? I'm confused. On Wed, Dec 23, 2015 at 01:56:15PM +0100, Andrew Lunn wrote: > From: Russell King > > Now that drivers create an array of component matches at probe time, we > can retire the old methods. This involves removing the

[PATCH net v2] geneve: initialize needed_headroom

2015-12-23 Thread Paolo Abeni
Currently the needed_headroom field for the geneve device is left to the default value. This patch set it to space required for basic geneve encapsulation, so that we can avoid the skb head re-allocation on xmit. This give a 6% speedup for unsegment traffic on geneve tunnel. v1 -> v2: - add

Re: [PATCH 1/2] PCI: Add mechanism to find topologically near cores

2015-12-23 Thread Bjorn Helgaas
Hi Daniel, On Wed, Dec 23, 2015 at 06:01:40PM +0800, Daniel J Blueman wrote: > Some devices (eg ixgbe) make assumptions about device to core locality when > specifying interrupts locality hints and allocate starting from core 0. > Moreover, interrupts may not be routable to distant NUMA nodes due

Re: [PATCH V1 00/16] add Intel(R) X722 iWARP driver

2015-12-23 Thread Doug Ledford
On 12/21/2015 06:13 PM, Faisal Latif wrote: > This (V1) series contains the addition of the i40iw.ko driver after > incorporating the feedback from Christoph Hellwig and Joe Perches for > initial series. > > This driver provides iWARP RDMA functionality for the Intel(R) X722 Ethernet > controller

Re: [PATCH net v2] geneve: initialize needed_headroom

2015-12-23 Thread John W. Linville
On Wed, Dec 23, 2015 at 04:54:27PM +0100, Paolo Abeni wrote: > Currently the needed_headroom field for the geneve device is left > to the default value. > > This patch set it to space required for basic geneve encapsulation, > so that we can avoid the skb head re-allocation on xmit. > > This

[PATCH net] geneve: initialize needed_headroom

2015-12-23 Thread Paolo Abeni
Currently the needed_headroom field for the geneve device is left to the default value. This patch set it to space required for basic geneve encapsulation, so that we can avoid the skb head re-allocation on xmit. This give a 6% speedup for unsegment traffic on geneve tunnel. Signed-off-by:

Re: [PATCH net] geneve: initialize needed_headroom

2015-12-23 Thread John W. Linville
On Wed, Dec 23, 2015 at 04:21:48PM +0100, Paolo Abeni wrote: > Currently the needed_headroom field for the geneve device is left > to the default value. > > This patch set it to space required for basic geneve encapsulation, > so that we can avoid the skb head re-allocation on xmit. > > This

Re: [PATCH net] geneve: initialize needed_headroom

2015-12-23 Thread Hannes Frederic Sowa
On 23.12.2015 16:21, Paolo Abeni wrote: > Currently the needed_headroom field for the geneve device is left > to the default value. > > This patch set it to space required for basic geneve encapsulation, > so that we can avoid the skb head re-allocation on xmit. > > This give a 6% speedup for

netdev antiblue protect eye for distributor

2015-12-23 Thread lcdaccessory
Dear netdev MD, New LCD/LED TV defender blocker for year 2016. huge profits reserve for first distributor there, a lots request from end-users especial for antiblue protector. New and hottest model refer to http://www.emetal.tw/protect/p1-blue.htm inquire email to Eric from eMetal Technology

Re: [PATCH RFC 01/28] component: remove old add_components method

2015-12-23 Thread Andrew Lunn
On Wed, Dec 23, 2015 at 01:21:24PM +, Russell King - ARM Linux wrote: > Why are you sending this? I'm confused. Hi Russell It is part of a bigger series, which i just sent as RFC. I need the functionality of your patch, but it not yet available upstream. By the time my patch series leaves

Re: [PATCH net-next 1/3] ethtool: Add phy statistics

2015-12-23 Thread kbuild test robot
Hi Andrew, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Andrew-Lunn/ethtool-Add-phy-statistics/20151223-195714 config: i386-randconfig-i0-201551 (attached as .config) reproduce: # save the attached .config to linux build tree make

[linux-review:Andrew-Lunn/ethtool-Add-phy-statistics/20151223-195714] 5d5686595a5cbf1ccfd334bc472bfa1d1441b849 BUILD DONE

2015-12-23 Thread kbuild test robot
https://github.com/0day-ci/linux Andrew-Lunn/ethtool-Add-phy-statistics/20151223-195714 5d5686595a5cbf1ccfd334bc472bfa1d1441b849 phy: micrel: Add ethtool statistics counters ethtool.c:(.text+0x17a0a): undefined reference to `phy_get_sset_count' ethtool.c:(.text+0x18b92): undefined reference

Re: [PATCH V1 00/16] add Intel(R) X722 iWARP driver

2015-12-23 Thread Doug Ledford
On 12/23/2015 11:35 AM, Faisal Latif wrote: > On Wed, Dec 23, 2015 at 11:09:56AM -0500, Doug Ledford wrote: >> On 12/21/2015 06:13 PM, Faisal Latif wrote: >>> This (V1) series contains the addition of the i40iw.ko driver after >>> incorporating the feedback from Christoph Hellwig and Joe Perches

[PATCH net] sctp: label accepted/peeled off sockets

2015-12-23 Thread Marcelo Ricardo Leitner
From: Marcelo Ricardo Leitner Accepted or peeled off sockets were missing a security label (e.g. SELinux) which means that socket was in "unlabeled" state. This patch clones the sock's label from the parent sock and resolves the issue (similar to AF_BLUETOOTH protocol

Re: [PATCH V1 00/16] add Intel(R) X722 iWARP driver

2015-12-23 Thread Faisal Latif
On Wed, Dec 23, 2015 at 11:09:56AM -0500, Doug Ledford wrote: > On 12/21/2015 06:13 PM, Faisal Latif wrote: > > This (V1) series contains the addition of the i40iw.ko driver after > > incorporating the feedback from Christoph Hellwig and Joe Perches for > > initial series. > > > > This driver

Re: [PATCH V1 15/16] i40iw: add entry in rdma_netlink

2015-12-23 Thread Or Gerlitz
On 12/22/2015 1:13 AM, Faisal Latif wrote: Add entry for port mapper services. Signed-off-by: Faisal Latif --- include/uapi/rdma/rdma_netlink.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h

Re: [PATCHv2 net-next 0/4] Trivial enhancements for cxgb4

2015-12-23 Thread David Miller
From: Hariprasad Shenai Date: Wed, 23 Dec 2015 11:29:52 +0530 > This series adds a debug message if adapter isn't inserted in right PCI > slot. Changes naming conventions for iSCSI rx queues, use node info while > allocating rx queue and use napi_complete_done() api in

[PATCH net-next 0/2] new maintainers for Mellanox mlx4/mlx5 core and IB drivers

2015-12-23 Thread Or Gerlitz
Hi Dave, Doug We're happily assigning new maintainers for mlx4/mlx5 core and IB drivers. This is aligned with Eli (mlx5) and Roland (mlx4). FWIW, I did the whole change to go through netdev. Or. Or Gerlitz (2): MAINTAINERS: Assign new maintainers to Mellanox mlx5 core and IB drivers

[PATCH net-next 3/9] cxgb4/cxgb4vf: Update Ingress padding boundary values for T6 adapter

2015-12-23 Thread Hariprasad Shenai
Ingress padding boundary values got changed for T6. T5: 0=32B 1=64B 2=128B 3=256B 4=512B 5=1024B 6=2048B 7=4096B T6: 0=8B 1=16B 2=32B 3=64B 4=128B 5=128B 6=256B 7=512B Updating the driver to set the correct boundary values in SGE_CONTROL to 32B. Also, need to take care of this fl

[PATCH net-next 0/9] Update support for T6 adapters

2015-12-23 Thread Hariprasad Shenai
Hi This patch changes updates the various code changes related to register, stats and hardware related changes for T6 family of adapters. This patch series has been created against net-next tree and includes patches on cxgb4 and cxgb4vf driver. We have included all the maintainers of respective

[PATCH net-next 6/9] cxgb4: Update correct encoding of SGE Ingress DMA States for T6 adapter

2015-12-23 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 59 ++ 1 file changed, 59 insertions(+) diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c index

[PATCH net-next 2/9] cxgb4: Update pm_stats for T6 adapter family

2015-12-23 Thread Hariprasad Shenai
Updated pm_stats code to display input FIFO wait (index 5) and read latency (index 7) counters for T6 adapters Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 30

[PATCH net-next 1/9] cxgb4: Pass correct argument to t4_link_l1cfg()

2015-12-23 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c index

Re: [PATCH] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2015-12-23 Thread Cong Wang
On Tue, Dec 22, 2015 at 11:37 PM, Vijay Pandurangan wrote: > Cool, thanks! I see it in the -stable queue. Is there anything else I need > to do to help with getting this into main or backporting? Happy to pitch in > if I can be helpful. > DaveM usually just backports it to a

[PATCH net] sctp: use GFP_USER for user-controlled kmalloc

2015-12-23 Thread Marcelo Ricardo Leitner
Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc") missed two other spots. For connectx, as it's more likely to be used by kernel users of the API, it detects if GFP_USER should be used or not. Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")

[patch] poll.2: timeout_ts is a pointer, so use -> not . for member access

2015-12-23 Thread richardvo...@gmail.com
>From the context, it is apparent that in the code explaining ppoll in terms of poll, timeout_ts must be a pointer. Usage #1: ready = ppoll(, nfds, timeout_ts, ); Usage #2:(timeout_ts == NULL) Thus member access in (timeout_ts.tv_sec * 1000 + timeout_ts.tv_nsec / 100) is an error.

Re: [PATCH V1 08/16] i40iw: add files for iwarp interface

2015-12-23 Thread Or Gerlitz
On 12/22/2015 1:13 AM, Faisal Latif wrote: + +enum i40iw_memreg_type { + IW_MEMREG_TYPE_MEM = 0x, + IW_MEMREG_TYPE_QP = 0x0001, + IW_MEMREG_TYPE_CQ = 0x0002, + IW_MEMREG_TYPE_MW = 0x0003, + IW_MEMREG_TYPE_FMR = 0x0004, + IW_MEMREG_TYPE_FMEM = 0x0005, +};

Re: [E1000-devel] [Intel-wired-lan] [PATCH 1/1] ixgbe: force to synchronize reporting "link on" and getting speed and duplex

2015-12-23 Thread Stephen Hemminger
On Wed, 23 Dec 2015 15:59:24 + "Tantilov, Emil S" wrote: > >-Original Message- > >From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On > >Behalf Of zyjzyj2...@gmail.com > >Sent: Tuesday, December 22, 2015 10:47 PM > >To: Kirsher,

Re: [PATCH net-next 0/2] new maintainers for Mellanox mlx4/mlx5 core and IB drivers

2015-12-23 Thread Doug Ledford
On 12/23/2015 11:30 AM, Or Gerlitz wrote: > Hi Dave, Doug > > We're happily assigning new maintainers for mlx4/mlx5 core and IB drivers. > > This is aligned with Eli (mlx5) and Roland (mlx4). > > FWIW, I did the whole change to go through netdev. Hi Dave, I've picked these up. Thanks Or. >

[PATCH net-next 2/2] MAINTAINERS: Assign maintainer to Mellanox mlx4 core and IB drivers

2015-12-23 Thread Or Gerlitz
The driver was written originally by Roland Dreier, currently there's no official maintainer. Yishai steps in as maintainer. Signed-off-by: Or Gerlitz Cc: Roland Dreier --- MAINTAINERS | 19 +++ 1 file changed, 19 insertions(+) diff

Re: [PATCH V1 00/16] add Intel(R) X722 iWARP driver

2015-12-23 Thread Or Gerlitz
On 12/23/2015 6:35 PM, Faisal Latif wrote: I will provide new patch series for latest k.o. Also will make sure of shallow threading for the series. Please make sure that the cover letter will include the full output of the git generated cover-letter so we can see the location of changes you

[PATCH net-next 1/2] MAINTAINERS: Assign new maintainers to Mellanox mlx5 core and IB drivers

2015-12-23 Thread Or Gerlitz
Matan and Leon step in as co-maintainers to replace Eli Cohen who wrote and maintained the core and IB drivers. Signed-off-by: Or Gerlitz --- MAINTAINERS | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH 1/1] phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.

2015-12-23 Thread David Miller
From: Henri Roosen Date: Wed, 23 Dec 2015 09:11:22 +0100 > On 12/22/2015 11:14 PM, David Miller wrote: >> From: Andrew Lunn >> Date: Tue, 22 Dec 2015 12:06:34 +0100 >> >>> On Tue, Dec 22, 2015 at 11:58:40AM +0100, Henri Roosen wrote: Commit

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread David Miller
From: "David Rivshin (Allworx)" Date: Tue, 22 Dec 2015 19:36:31 -0500 > Testing by anyone who has real hardware using phy-handle or dual_emac > with fixed-link would be appreciated. I'm going to wait for such testing before applying this series. Thanks. -- To

Re: [PATCH V1 00/16] add Intel(R) X722 iWARP driver

2015-12-23 Thread Or Gerlitz
On 12/22/2015 1:13 AM, Faisal Latif wrote: This driver provides iWARP RDMA functionality for the Intel(R) X722 Ethernet controller for PCI Physical Functions. Is there any public info on the X722, I didn't manage to find such. It also has support for Virtual Function driver (i40iwvf.ko),

[PATCH net-next 9/9] cxgb4vf: Update to 128 byte mailbox size for T6 adapter

2015-12-23 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4vf/t4vf_defs.h | 1 + drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c | 11 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git

[PATCH net-next 4/9] cxgb4: Update register range and SGE registers for T6 adapter

2015-12-23 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 5 +++-- drivers/net/ethernet/chelsio/cxgb4/sge.c| 15 +-- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 16 +++-

[PATCH net-next 7/9] cxgb4: Update mps_tcam output to include T6 fields

2015-12-23 Thread Hariprasad Shenai
In T6, MPS classification has a 512 deep TCAM to do the match lookup. Each entry has 80x2b sets containing 48 bit MAC address, port number, VLAN Valid/ID, VNI, lookup type (outer or inner packet header). [71:48] bit locations are overloaded for outer vs. inner lookup types. Signed-off-by:

Re: [RFC PATCH 00/17] CALIPSO implementation

2015-12-23 Thread Paul Moore
On Tue, Dec 22, 2015 at 12:28 PM, Casey Schaufler wrote: > On 12/22/2015 3:46 AM, Huw Davies wrote: >> This patch series implements RFC 5570 - Common Architecture Label IPv6 >> Security Option (CALIPSO). Its goal is to set MLS sensitivity labels >> on IPv6 packets using a

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread Markus Brunner
On Wednesday 23 December 2015 12:04:25 David Miller wrote: > From: "David Rivshin (Allworx)" > Date: Tue, 22 Dec 2015 19:36:31 -0500 > > > Testing by anyone who has real hardware using phy-handle or dual_emac > > with fixed-link would be appreciated. > > I'm going to

Re: [PATCH RFC 05/28] net: dsa: Pass the dsa device to the switch drivers

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > By passing a device structure to the switch devices, it allows them > to use devm_* methods for resource management. > > Signed-off-by: Andrew Lunn Acked-by: Florian Fainelli -- Florian -- To unsubscribe from

Re: [PATCH RFC 27/28] dsa: slave: Don't reference NULL pointer during phy_disconnect

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > When the phy is disconnected, the parent pointer to the netdev it was > attached to is set to NULL. The code then tries to suspend the phy, > but dsa_slave_fixed_link_update needs the parent pointer to determine > which switch the phy is connected to.

[PATCH net] ipv6: honor ifindex in case we receive ll addresses in router advertisements

2015-12-23 Thread Hannes Frederic Sowa
Marc Haber reported we don't honor interface indexes when we receive link local router addresses in router advertisements. Luckily the non-strict version of ipv6_chk_addr already does the correct job here, so we can simply use it to lighten the checks and use those addresses by default without any

Re: [patch] poll.2: timeout_ts is a pointer, so use -> not . for member access

2015-12-23 Thread Michael Kerrisk (man-pages)
Hello Richard, On 23 December 2015 at 20:30, richardvo...@gmail.com wrote: > From the context, it is apparent that in the code explaining ppoll in > terms of poll, timeout_ts must be a pointer. > > Usage #1: ready = ppoll(, nfds, timeout_ts, ); > > Usage #2:

Re: [PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-23 Thread David Miller
From: Pravin B Shelar Date: Wed, 23 Dec 2015 15:52:03 -0800 > } else { > - err_stats->tx_dropped++; > + struct net_device_stats *err_stats = >stats; > + > + if (err < 0) { > + err_stats->tx_errors++; > +

[V2 PATCH 1/1] ixgbe: force to synchronize reporting "link on" and

2015-12-23 Thread zyjzyj2000
Hi, Jeff Thanks for your reply. Changes: Since there is a time span between link_up and link_speed to X540 NIC, it is not appropriate to continue in the function ixgbe_watchdog_link_is_up if only link_up is ready. Best Regards! Zhu Yanjun -- To unsubscribe from this list: send the line

[PATCH 1/1] ixgbe: force to synchronize reporting "link on" and getting speed

2015-12-23 Thread zyjzyj2000
From: yzhu1 In X540 NIC, there is a time span between reporting "link on" and getting the speed and duplex. To a bonding driver in 802.3ad mode, this time span will make it not work well if the time span is big enough. The big time span will make bonding driver change the

Re: [PATCH net-next 0/2] new maintainers for Mellanox mlx4/mlx5 core and IB drivers

2015-12-23 Thread David Miller
From: Doug Ledford Date: Wed, 23 Dec 2015 13:31:06 -0500 > On 12/23/2015 11:30 AM, Or Gerlitz wrote: >> Hi Dave, Doug >> >> We're happily assigning new maintainers for mlx4/mlx5 core and IB drivers. >> >> This is aligned with Eli (mlx5) and Roland (mlx4). >> >> FWIW, I

[PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-23 Thread Pravin B Shelar
By moving stats update into iptunnel_xmit(), we can simplify iptunnel_xmit() usage. With this change there is no need to call another function (iptunnel_xmit_stats()) to update stats in tunnel xmit code path. Signed-off-by: Pravin B Shelar --- v1-v2: - keep

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread David Rivshin (Allworx)
On Thu, 24 Dec 2015 00:34:49 +0100 Nicolas Chauvet wrote: > 2015-12-23 22:54 GMT+01:00 David Rivshin (Allworx) < > drivshin.allw...@gmail.com>: > > > On Wed, 23 Dec 2015 22:20:58 +0100 > > Nicolas Chauvet wrote: > > > > > 2015-12-23 1:36 GMT+01:00 David

RE: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-23 Thread Alan Stern
On Wed, 23 Dec 2015, Hayes Wang wrote: > Oliver Neukum [mailto:oneu...@suse.de] > > Sent: Wednesday, December 23, 2015 4:20 PM > [...] > > No, step (2) does not exist. Calls to suspend() and [reset_]resume() > > always balance. Usually a driver shouldn't care about system suspend. > > The way the

Re: [Intel-wired-lan] [PATCH 1/1] ixgbe: force to synchronize reporting "link on" and getting speed and duplex

2015-12-23 Thread zhuyj
On 12/23/2015 11:59 PM, Tantilov, Emil S wrote: -Original Message- From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of zyjzyj2...@gmail.com Sent: Tuesday, December 22, 2015 10:47 PM To: Kirsher, Jeffrey T; Brandeburg, Jesse; Nelson, Shannon; Wyborny,

Re: [PATCH net] ipv6: honor ifindex in case we receive ll addresses in router advertisements

2015-12-23 Thread David Miller
From: Hannes Frederic Sowa Date: Wed, 23 Dec 2015 22:44:37 +0100 > Marc Haber reported we don't honor interface indexes when we receive link > local router addresses in router advertisements. Luckily the non-strict > version of ipv6_chk_addr already does the correct

Re: [PATCH net-next v2 0/5] sfc: additional virtual function support​

2015-12-23 Thread David Miller
From: Bert Kenward Date: Wed, 23 Dec 2015 08:55:12 + > This introduces the client side of a mechanism to defer authorisation of > operations, for example multicast subscription. Although primarily aimed at > SRIOV VFs this can also apply to unprivileged PFs. > >

Re: [PATCH net-next] dsa: mv88e6xxx: Add Second back of statistics

2015-12-23 Thread David Miller
From: Andrew Lunn Date: Wed, 23 Dec 2015 13:23:17 +0100 > The 6320 family of switch chips has a second bank for statistics, but > is missing three statistics in the port registers. Generalise and > extend the code: > > * adding a field to the statistics table indicating the

Re: [PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c

2015-12-23 Thread David Miller
From: Geliang Tang Date: Wed, 23 Dec 2015 20:42:20 +0800 > to_dev is not used anymore so drop it. > > Signed-off-by: Geliang Tang Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

Re: [PATCH 2/2] bridge: use kobj_to_dev instead of to_dev

2015-12-23 Thread David Miller
From: Geliang Tang Date: Wed, 23 Dec 2015 20:42:21 +0800 > kobj_to_dev has been defined in linux/device.h, so I replace to_dev > with it. > > Signed-off-by: Geliang Tang Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in

Re: [PATCH net v2] geneve: initialize needed_headroom

2015-12-23 Thread David Miller
From: Paolo Abeni Date: Wed, 23 Dec 2015 16:54:27 +0100 > Currently the needed_headroom field for the geneve device is left > to the default value. > > This patch set it to space required for basic geneve encapsulation, > so that we can avoid the skb head re-allocation on

Re: [PATCH v2 1/1] phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.

2015-12-23 Thread David Miller
From: Henri Roosen Date: Wed, 23 Dec 2015 11:42:29 +0100 > + do { > + of_node = dev_walker->of_node; > + dev_walker = dev_walker->parent; > + > + } while (!of_node && dev_walker); Please remove the unnecessary empty line in this loop.

Re: [PATCH net-next 0/9] Update support for T6 adapters

2015-12-23 Thread David Miller
From: Hariprasad Shenai Date: Wed, 23 Dec 2015 22:47:10 +0530 > This patch changes updates the various code changes related to > register, stats and hardware related changes for T6 family of > adapters. > > This patch series has been created against net-next tree and

Re: [PATCH net,stable] net: cdc_ncm: avoid changing RX/TX buffers on MTU changes

2015-12-23 Thread David Miller
From: Bjørn Mork Date: Wed, 23 Dec 2015 13:42:43 +0100 > NCM buffer sizes are negotiated with the device independently of > the network device MTU. The RX buffers are allocated by the > usbnet framework based on the rx_urb_size value set by cdc_ncm. A > single RX buffer can hold

Re: [PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-23 Thread Pravin Shelar
On Wed, Dec 23, 2015 at 6:57 PM, David Miller wrote: > From: Pravin B Shelar > Date: Wed, 23 Dec 2015 15:52:03 -0800 > >> } else { >> - err_stats->tx_dropped++; >> + struct net_device_stats *err_stats = >stats; >> + >> +

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread David Rivshin (Allworx)
On Wed, 23 Dec 2015 19:35:37 +0100 Markus Brunner wrote: > On Wednesday 23 December 2015 12:04:25 David Miller wrote: > > From: "David Rivshin (Allworx)" > > Date: Tue, 22 Dec 2015 19:36:31 -0500 > > > > > Testing by anyone

[PATCH net] openvswitch: Fix template leak in error cases.

2015-12-23 Thread Joe Stringer
Commit 5b48bb8506c5 ("openvswitch: Fix helper reference leak") fixed a reference leak on helper objects, but inadvertently introduced a leak on the ct template. Previously, ct_info.ct->general.use was initialized to 0 by nf_ct_tmpl_alloc() and only incremented when ovs_ct_copy_action() returned

Re: [PATCH RFC 00/28] DSA: Restructure probing

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 14:33, Andrew Lunn a écrit : > On Wed, Dec 23, 2015 at 12:44:59PM -0800, Florian Fainelli wrote: >> Hi Andrew, >> >> Le 23/12/2015 04:56, Andrew Lunn a écrit : >>> As noted in Documentation/networking/dsa/dsa.txt, the current DSA >>> architecture has a few architecture problems: >>>

Re: [PATCH RFC 00/28] DSA: Restructure probing

2015-12-23 Thread Florian Fainelli
Hi Andrew, Le 23/12/2015 04:56, Andrew Lunn a écrit : > As noted in Documentation/networking/dsa/dsa.txt, the current DSA > architecture has a few architecture problems: > > DSA is implemented as a DSA platform device driver which is convenient because > it will register the entire DSA switch

Re: [PATCH RFC 28/28] dsa: Destroy fixed link phys after the phy has been disconnected

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > The phy is disconnected from the slave in dsa_slave_destroy(). Don't > destroy fixed link phys until after this, since there can be fixed > linked phys connected to ports. > > Signed-off-by: Andrew Lunn Acked-by: Florian Fainelli

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread David Rivshin (Allworx)
On Wed, 23 Dec 2015 22:20:58 +0100 Nicolas Chauvet wrote: > 2015-12-23 1:36 GMT+01:00 David Rivshin (Allworx) < > drivshin.allw...@gmail.com>: > > > From: David Rivshin > > > > This series is based on the tip of the net tree. > > > > The first patch

Re: [PATCH RFC 00/28] DSA: Restructure probing

2015-12-23 Thread Andrew Lunn
On Wed, Dec 23, 2015 at 12:44:59PM -0800, Florian Fainelli wrote: > Hi Andrew, > > Le 23/12/2015 04:56, Andrew Lunn a écrit : > > As noted in Documentation/networking/dsa/dsa.txt, the current DSA > > architecture has a few architecture problems: > > > > DSA is implemented as a DSA platform

Re: [PATCH 0/2] ppp: add netlink support

2015-12-23 Thread Guillaume Nault
On Wed, Dec 23, 2015 at 09:04:46PM +0100, Guillaume Nault wrote: > This series adds netlink support for creating PPP devices. > And I forgot to mention that it applies to net-next. Sorry. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

Re: [PATCH net 1/2] openvswitch: Fix helper reference leak

2015-12-23 Thread Joe Stringer
On 9 December 2015 at 15:33, Pravin Shelar wrote: > On Wed, Dec 9, 2015 at 3:10 PM, Joe Stringer wrote: >> On 9 December 2015 at 14:50, Pravin Shelar wrote: >>> On Wed, Dec 9, 2015 at 2:07 PM, Joe Stringer wrote: If the

Re: [PATCH RFC 19/28] net: dsa: bcm_sf2: make it a real platform driver

2015-12-23 Thread Florian Fainelli
Hi Andrew, Le 23/12/2015 04:56, Andrew Lunn a écrit : > diff --git a/Documentation/devicetree/bindings/net/dsa/broadcom.txt > b/Documentation/devicetree/bindings/net/dsa/broadcom.txt > new file mode 100644 > index ..bd92be0ef2c8 > --- /dev/null > +++

Re: [PATCH RFC 21/28] net: dsa: Add some debug prints for error cases

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > Due to the complexity it can be hard to know why DSA fails to probe. > Add some debug prints for the common error cases. > > Signed-off-by: Andrew Lunn Acked-by: Florian Fainelli I had something similar here

Re: [PATCH RFC 12/28] net: dsa: Make dsa,mii-bus optional

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > When all the switches are devices and register to the DSA framework, > having a dsa,mii-bus property is not required. > > Signed-off-by: Andrew Lunn Acked-by: Florian Fainelli -- Florian -- To unsubscribe from

Re: [iproute PATCH v3 1/2] libnetlink: add a variant of rtnl_send_check that consumes ACKs

2015-12-23 Thread Stephen Hemminger
On Tue, 22 Dec 2015 17:31:33 +0900 Lorenzo Colitti wrote: > The new variant is identical to rtnl_send_check, except it also > consumes the kernel response instead of using MSG_PEEK. This is > useful for callers that send simple commands that never cause a > response but only

[PATCH] mac802154: constify ieee802154_llsec_ops structure

2015-12-23 Thread Julia Lawall
The ieee802154_llsec_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- include/net/ieee802154_netdev.h |2 +- net/mac802154/mac_cmd.c |2 +- 2 files changed, 2 insertions(+), 2

Re: [PATCH RFC 25/28] Documentation: DSA: Describe how probe of DSA and switches work.

2015-12-23 Thread Andrew Lunn
On Wed, Dec 23, 2015 at 12:48:28PM -0800, Florian Fainelli wrote: > Le 23/12/2015 04:56, Andrew Lunn a écrit : > > With the introduction of switches as linux devices and the use of the > > component framework, probing has become more complex. Add some > > documentation. > > > > Signed-off-by:

Re: [PATCH net] sctp: label accepted/peeled off sockets

2015-12-23 Thread Paul Moore
On Wednesday, December 23, 2015 04:44:09 PM Marcelo Ricardo Leitner wrote: > From: Marcelo Ricardo Leitner > > Accepted or peeled off sockets were missing a security label (e.g. > SELinux) which means that socket was in "unlabeled" state. > > This patch clones the

[PATCH 2/2] ppp: implement rtnetlink device handling

2015-12-23 Thread Guillaume Nault
Define PPP device handler for use with rtnetlink. The only PPP specific attribute is IFLA_PPP_DEV_FD. It is mandatory and contains the file descriptor of the associated /dev/ppp instance (the file descriptor which would have been used for ioctl(PPPIOCNEWUNIT) in the ioctl-based API). PPP devices

[PATCH 0/2] ppp: add netlink support

2015-12-23 Thread Guillaume Nault
This series adds netlink support for creating PPP devices. It doesn't implement any PPP specific attribute beyond IFLA_PPP_DEV_FD, which is necessary in the PPP device model for passing control plane packets to user space. Guillaume Nault (2): ppp: define reusable device creation functions

[PATCH 1/2] ppp: define reusable device creation functions

2015-12-23 Thread Guillaume Nault
Move PPP device initialisation and registration out of ppp_create_interface(). This prepares code for device registration with rtnetlink. While there, cleanup ppp_create_interface() prototype to return an error code rather than the ppp structure. The unit parameter is now read/write so that

Re: [PATCH RFC 06/28] net: dsa: Have the switch driver allocate there own private memory

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > Now the switch devices have a dev pointer, make use if it for allocating > the drivers private data structures using a devm_kzalloc(). > > Signed-off-by: Andrew Lunn > --- > drivers/net/dsa/bcm_sf2.c | 7 +-- >

Re: [PATCH RFC 07/28] net: dsa: Remove allocation of driver private memory

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > The drivers now allocate their own memory for private usage. Remove > the allocation from the core code. > > Signed-off-by: Andrew Lunn Acked-by: Florian Fainelli -- Florian -- To unsubscribe from this list:

Re: [PATCH RFC 08/28] net: dsa: Keep the mii bus and address in the private structure

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > Rather than looking up the mii bus and address every time, do it once > and setup, and keep it in the private structure. > > Signed-off-by: Andrew Lunn Acked-by: Florian Fainelli -- Florian -- To unsubscribe

Re: [PATCH RFC 25/28] Documentation: DSA: Describe how probe of DSA and switches work.

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > With the introduction of switches as linux devices and the use of the > component framework, probing has become more complex. Add some > documentation. > > Signed-off-by: Andrew Lunn > --- > Documentation/networking/dsa/dsa.txt | 48

Re: [PATCH net-next] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-23 Thread Pravin Shelar
On Wed, Dec 23, 2015 at 1:49 AM, Nicolas Dichtel wrote: > Le 22/12/2015 01:34, Pravin B Shelar a écrit : >> >> By moving stats update into iptunnel_xmit(), we can simplify >> iptunnel_xmit() usage. With this change there is no need to >> call another function

Re: [PATCH RFC 24/28] net: dsa: If a switch fails to probe, defer probing

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > Switches are either listed in device tree of platform_data. They > should exist. If the probe fails, defer the probe, which is the likely > cause of failure, not broken device tree or platform data. > > Signed-off-by: Andrew Lunn

Re: [PATCH] netconsole: Initialize after all core networking drivers

2015-12-23 Thread Calvin Owens
On Thursday 12/17 at 17:46 -0800, Calvin Owens wrote: > On Thursday 12/17 at 17:08 -0800, Eric Dumazet wrote: > > On Thu, 2015-12-17 at 15:52 -0800, Calvin Owens wrote: > > > With built-in netconsole and IXGBE, configuring netconsole via the kernel > > > cmdline results in the following panic at

  1   2   >