[PATCH] USB: qmi_wwan: add Dell Wireless 5809e Gobi 4G HSPA+ (rev3)

2016-03-16 Thread Patrik Halfar
New revison of Dell Wireless 5809e Gobi 4G HSPA+ Mobile Broadband Card has new idProduct Bus 002 Device 006: ID 413c:81b3 Dell Computer Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass0 bDeviceSubClass

Re: [PATCH net-next v3 1/2] RDS: TCP: Add sysctl tunables for sndbuf/rcvbuf on rds-tcp socket

2016-03-16 Thread Sowmini Varadhan
On (03/16/16 11:29), Hannes Frederic Sowa wrote: > Normally we kmemdup a table per netns and update its data pointer, > so we can reuse the proc_doint_minmax functions. I remembered one more thing.. in this particular case, I need to have my one ->proc_handler, because I need to rds_tcp_sysctl_res

Re: [PATCH net-next 7/7] vxlan: allow setting ipv6 traffic class

2016-03-16 Thread Jiri Benc
On Fri, 4 Mar 2016 15:15:08 +0100, Daniel Borkmann wrote: > We can already do that for IPv4, but IPv6 support was missing. Add > it for vxlan, so it can be used with collect metadata frontends. > > Signed-off-by: Daniel Borkmann > --- > drivers/net/vxlan.c | 14 +- > 1 file changed,

Re: [PATCH net-next v3 1/2] RDS: TCP: Add sysctl tunables for sndbuf/rcvbuf on rds-tcp socket

2016-03-16 Thread Sowmini Varadhan
On (03/16/16 11:29), Hannes Frederic Sowa wrote: > > Normally we kmemdup a table per netns and update its data pointer, > so we can reuse the proc_doint_minmax functions. I actually thought of doing a separate kzalloc per netns, but it seemed like it would be a lot of memory bloat, when really,

Re: [PATCH (net-next.git) 2/2] stmmac: fix MDIO settings

2016-03-16 Thread Gabriel Fernandez
Hi Pepe, i have a kernel crash [2.714097] Unable to handle kernel NULL pointer dereference at virtual address 01d6 [2.722188] pgd = c0204000 [2.724886] [01d6] *pgd= [2.728452] Internal error: Oops: 5 [#1] SMP ARM [2.733054] Modules linked in: [2.736095] CPU

Re: [PATCH (net-next.git) 2/2] stmmac: fix MDIO settings

2016-03-16 Thread Andreas Färber
Am 16.03.2016 um 12:01 schrieb Gabriel Fernandez: > Hi Pepe, > > i have a kernel crash > > [2.714097] Unable to handle kernel NULL pointer dereference at > virtual address 01d6 > [2.722188] pgd = c0204000 > [2.724886] [01d6] *pgd= > [2.728452] Internal error: Oops:

Re: [PATCH (net-next.git) 0/2] STMMAC: MDIO settings

2016-03-16 Thread Andreas Färber
t; The patch #2 has been modified to solve a build problem on net-next; > inside the stmmac_init_phy where there is: > > 869 if (priv->plat->is_fixed_link) > 870 phydev->irq = PHY_IGNORE_INTERRUPT; On next-20160316 plus the other previously test

Re: [PATCH 1/3] infiniband: IB/hns: add Hisilicon RoCE support

2016-03-16 Thread Jiri Pirko
Wed, Mar 16, 2016 at 11:23:10AM CET, ouli...@huawei.com wrote: >Hi Jiri Pirko, thanks your reviewing. >sorry, I will send a new patch according to your reviews. > >On 2016/3/11 18:42, Jiri Pirko wrote: >> Fri, Mar 11, 2016 at 11:37:09AM CET, ouli...@huawei.com wrote: >>> The driver for Hisilicon Ro

Re: [PATCH 1/3] infiniband: IB/hns: add Hisilicon RoCE support

2016-03-16 Thread oulijun
Hi dledford, thanks for reviewing. I have modified according to your reivews. I will send a new patch at soon. thanks Lijun Ou On 2016/3/12 18:39, Leon Romanovsky wrote: > On Fri, Mar 11, 2016 at 06:37:09PM +0800, Lijun Ou wrote: >> The driver for Hisilicon RoCE is a platform driver. >> The driv

Re: [PATCH 1/3] infiniband: IB/hns: add Hisilicon RoCE support

2016-03-16 Thread oulijun
Hi Jiri Pirko, thanks your reviewing. sorry, I will send a new patch according to your reviews. On 2016/3/11 18:42, Jiri Pirko wrote: > Fri, Mar 11, 2016 at 11:37:09AM CET, ouli...@huawei.com wrote: >> The driver for Hisilicon RoCE is a platform driver. >> The driver will support mulitple versions

Re: [PATCH net-next v3 1/2] RDS: TCP: Add sysctl tunables for sndbuf/rcvbuf on rds-tcp socket

2016-03-16 Thread Hannes Frederic Sowa
Hello, some feedback. On 15.03.2016 19:53, Sowmini Varadhan wrote: Add per-net sysctl tunables to set the size of sndbuf and rcvbuf on the kernel tcp socket. The tunables are added at /proc/sys/net/rds/tcp/rds_tcp_sndbuf and /proc/sys/net/rds/tcp/rds_tcp_rcvbuf. Since these values must be set

Re: [RFCv2 0/3] mac80211: implement fq codel

2016-03-16 Thread Michal Kazior
On 16 March 2016 at 11:17, Michal Kazior wrote: > Hi, > > Most notable changes: [...] > * ath10k proof-of-concept that uses the new tx >scheduling (will post results in separate >email) I'm attaching a bunch of tests I've done using flent. They are all "burst" tests with burst-ports=1 an

Re: [PATCHv3 (net.git) 2/2] stmmac: fix MDIO settings

2016-03-16 Thread Giuseppe CAVALLARO
Hi Andreas On 3/16/2016 10:47 AM, Andreas Färber wrote: Hi Peppe, Am 15.03.2016 um 16:53 schrieb Giuseppe CAVALLARO: On 3/15/2016 1:54 AM, Andreas Färber wrote: The connectivity issue still remains. Kernel log snippet: [ +0.001117] rk_gmac-dwmac ff29.ethernet: Looking up phy-supply from

[RFCv2 1/3] mac80211: implement fq_codel for software queuing

2016-03-16 Thread Michal Kazior
Since 11n aggregation become important to get the best out of txops. However aggregation inherently requires buffering and queuing. Once variable medium conditions to different associated stations is considered it became apparent that bufferbloat can't be simply fought with qdiscs for wireless driv

[PATCH (net-next.git)] stmmac: fix TX normal DESC

2016-03-16 Thread Giuseppe Cavallaro
This patch fixs a regression raised when test on chips that use the normal descriptor layout. In fact, no len bits were set for the TDES1 and no OWN bit inside the TDES0. Signed-off-by: Giuseppe CAVALLARO Tested-by: Andreas Färber Cc: Fabrice Gasnier --- drivers/net/ethernet/stmicro/stmmac/nor

[RFCv2 2/3] ath10k: report per-station tx/rate rates to mac80211

2016-03-16 Thread Michal Kazior
The rate control is offloaded by firmware so it's challanging to provide expected throughput value for given station. This approach is naive as it reports last tx rate used for given station as provided by firmware stat event. This should be sufficient for airtime estimation used for fq-codel-in-

[PATCH (net-next.git)] STMMAC: fix TX Normal descriptor

2016-03-16 Thread Giuseppe Cavallaro
On top of the Oct_2015 driver version committed into net-next, this patch fixes a problem for the HW where the normal descriptor are used at runtime instead of the Enhanced/Alternate descriptors. In the beginning, it was suggested to revert the patch: "stmmac: first frame prep at the end of xmit

[RFCv2 3/3] ath10k: use ieee80211_tx_schedule()

2016-03-16 Thread Michal Kazior
The wake_tx_queue() scheduling for non-pull-push (or threshold based pull-push) wasn't really smart nor fair. Instead use the new mac80211 Tx scheduling helper which is part of the fq-codel-in-mac80211 proof of concept. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.c |

[RFCv2 0/3] mac80211: implement fq codel

2016-03-16 Thread Michal Kazior
Hi, Most notable changes: * fixes (duh); fairness should work better now, * EWMA codel target based on estimated service time, * new tx scheduling helper with in-flight duration limiting (same idea Emmanuel had for iwlwifi), * added a few debugfs hooks. * ath10k proof-of-concept that

Re: [net-next 1/2] bonding: remove duplicate set of flag IFF_MULTICAST

2016-03-16 Thread Nikolay Aleksandrov
On 03/16/2016 10:59 AM, Zhang Shengju wrote: > Remove unnecessary set of flag IFF_MULTICAST, since ether_setup > already does this. > > Signed-off-by: Zhang Shengju > --- > drivers/net/bonding/bond_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > There're a few more bonding mai

Re: [net-next 2/2] team: remove duplicate set of flag IFF_MULTICAST

2016-03-16 Thread Jiri Pirko
Wed, Mar 16, 2016 at 10:59:16AM CET, zhangshen...@cmss.chinamobile.com wrote: >Remove unnecessary set of flag IFF_MULTICAST, since ether_setup >already does this. > >Signed-off-by: Zhang Shengju Acked-by: Jiri Pirko

[net-next 0/2] remove duplicate set of flag IFF_MULTICAST

2016-03-16 Thread Zhang Shengju
This patch series remove duplicate set of flag IFF_MULTICAST. Zhang Shengju (2): bonding: remove duplicate set of flag IFF_MULTICAST team: remove duplicate set of flag IFF_MULTICAST drivers/net/bonding/bond_main.c | 2 +- drivers/net/team/team.c | 1 - 2 files changed, 1 insertion(+)

[net-next 2/2] team: remove duplicate set of flag IFF_MULTICAST

2016-03-16 Thread Zhang Shengju
Remove unnecessary set of flag IFF_MULTICAST, since ether_setup already does this. Signed-off-by: Zhang Shengju --- drivers/net/team/team.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 2769835..26c64d2 100644 --- a/drivers/net/team/te

[net-next 1/2] bonding: remove duplicate set of flag IFF_MULTICAST

2016-03-16 Thread Zhang Shengju
Remove unnecessary set of flag IFF_MULTICAST, since ether_setup already does this. Signed-off-by: Zhang Shengju --- drivers/net/bonding/bond_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index b6236ff.

Re: [PATCH net-next v2 3/3] macsec: introduce IEEE 802.1AE driver

2016-03-16 Thread Sabrina Dubroca
Hello, 2016-03-15, 15:03:31 +0100, Johannes Berg wrote: > Hi, > > > +struct macsec_rx_sa_stats { > > + __u32 InPktsOK; > > + __u32 InPktsInvalid; > > + __u32 InPktsNotValid; > > + __u32 InPktsNotUsingSA; > > + __u32 InPktsUnusedSA; > > +}; > > + > > +struct macsec_tx_sa_stats { > > +

Re: [PATCHv3 (net.git) 2/2] stmmac: fix MDIO settings

2016-03-16 Thread Andreas Färber
Hi Peppe, Am 15.03.2016 um 16:53 schrieb Giuseppe CAVALLARO: > On 3/15/2016 1:54 AM, Andreas Färber wrote: >> The connectivity issue still remains. Kernel log snippet: >> >> [ +0.001117] rk_gmac-dwmac ff29.ethernet: Looking up phy-supply >> from device tree >> [ +0.28] rk808 0-001b: Look

[PATCH (net-next.git) 1/2] Revert "stmmac: Fix 'eth0: No PHY found' regression"

2016-03-16 Thread Giuseppe Cavallaro
This reverts commit 88f8b1bb41c6208f81b6a480244533ded7b59493. due to problems on GeekBox and Banana Pi M1 board when connected to a real transceiver instead of a switch via fixed-link. Signed-off-by: Giuseppe Cavallaro Cc: Gabriel Fernandez Cc: Andreas Färber Cc: Frank Schäfer Cc: Dinh Nguyen

[PATCH (net-next.git) 2/2] stmmac: fix MDIO settings

2016-03-16 Thread Giuseppe Cavallaro
Initially the phy_bus_name was added to manipulate the driver name but it was recently just used to manage the fixed-link and then to take some decision at run-time. So the patch uses the is_pseudo_fixed_link and removes the phy_bus_name variable not necessary anymore. The driver can manage the md

[PATCH (net-next.git) 0/2] STMMAC: MDIO settings

2016-03-16 Thread Giuseppe Cavallaro
These two patches are to fix the recent regressions raised when test the stmmac on some platforms due to broken MDIO/PHY management. NOTE: these are the same reviewed patches sent for net.git (version 4). The patch #2 has been modified to solve a build problem on net-next; inside the stmmac_init_

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-16 Thread Or Gerlitz
On Wed, Mar 16, 2016 at 10:34 AM, Alexey Kardashevskiy wrote: > Oh. ok. It also looks like even with the reverted patch, mlx4 VF does not > work in a guest: So where is the breakage point for you? does 4.4 works? if not, what?

Re: [PATCH 1/1] net: stmmac: Don't search for phys if mdio node is defined.

2016-03-16 Thread Giuseppe CAVALLARO
On 3/15/2016 8:34 AM, Phil Reid wrote: If a dt mdio entry has been added least assume that we wont search for phys attached. The DT and of_mdiobus_register already do this. This stops DSA phys being found and phys created for them, as this is handled by the DSA driver. iiuc, this doesn't confli

[PATCHv4 (net.git) 0/2] STMMAC: fix MDIO settings

2016-03-16 Thread Giuseppe Cavallaro
These two patches are to fix the recent regressions raised when test the stmmac on some platforms due to broken MDIO/PHY management. = V2: to use is_pseudo_fixed_link V3: to enforce the driver to support other configurations

[PATCHv4 (net.git) 2/2] stmmac: fix MDIO settings

2016-03-16 Thread Giuseppe Cavallaro
Initially the phy_bus_name was added to manipulate the driver name but it was recently just used to manage the fixed-link and then to take some decision at run-time. So the patch uses the is_pseudo_fixed_link and removes the phy_bus_name variable not necessary anymore. The driver can manage the md

[PATCHv4 (net.git) 1/2] Revert "stmmac: Fix 'eth0: No PHY found' regression"

2016-03-16 Thread Giuseppe Cavallaro
This reverts commit 88f8b1bb41c6208f81b6a480244533ded7b59493. due to problems on GeekBox and Banana Pi M1 board when connected to a real transceiver instead of a switch via fixed-link. Signed-off-by: Giuseppe Cavallaro Cc: Gabriel Fernandez Cc: Andreas Färber Cc: Frank Schäfer Cc: Dinh Nguyen

[net-next] net: fix a comment typo

2016-03-16 Thread Zhang Shengju
Fix a comment typo. Signed-off-by: Zhang Shengju --- include/uapi/linux/if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h index 9cf2394..f802775 100644 --- a/include/uapi/linux/if.h +++ b/include/uapi/linux/if.h @@ -37,7 +3

Re: [PATCH] qmi_wwan: Added support for Gemalto's Cinterion PHxx WWAN interface

2016-03-16 Thread Bjørn Mork
Schemmel Hans-Christoph writes: > + {QMI_FIXED_INTF(0x1e2d, 0x0082, 4)},/* Cinterion PHxx,PXxx (2 > RmNet) */ That's broken. Sorry. You'll have to figure out some way submit this in a form that can be applied using "git am". There are some hints in https://www.kernel.org/doc/Documenta

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-16 Thread Alexey Kardashevskiy
On 03/16/2016 05:09 PM, Eli Cohen wrote: On Wed, Mar 16, 2016 at 04:49:00PM +1100, Alexey Kardashevskiy wrote: On 03/16/2016 04:10 PM, Eli Cohen wrote: On Wed, Mar 16, 2016 at 01:07:58PM +1100, Alexey Kardashevskiy wrote: So with v4.5 as a host, there is no actual distro available today to us

[PATCH] qmi_wwan: Added support for Gemalto's Cinterion PHxx WWAN interface

2016-03-16 Thread Schemmel Hans-Christoph
Added support for Gemalto's Cinterion PHxx WWAN interfaces by adding QMI_FIXED_INTF with Cinterion's VID and PID. PHxx can have 2 RmNet Interfaces (PID 0x0082) or 1 RmNet + 1 USB Audio interface (PID 0x0083). Signed-off-by: Hans-Christoph Schemmel --- patch is against linux-4.5 --- linux/drive

RE: [PATCH] qmi_wwan: Added support for Gemalto's Cinterion PHxx WWAN interface

2016-03-16 Thread Bjørn Mork
On March 16, 2016 8:35:26 AM CET, Schemmel Hans-Christoph : > >If I digital sign the mail it should be send unmodified/without >disclaimer. >But there will be the smime.p7s attached to the mail - like in this >mail. > >Would it be ok? Fine with me as long as it applies cleanly without having

[patch] ethernet: micrel: fix some error codes

2016-03-16 Thread Dan Carpenter
There were two issues here: 1) dma_mapping_error() return true/false but we want to return -ENOMEM 2) If dmaengine_prep_slave_sg() failed then "err" wasn't set but presumably that should be -ENOMEM as well. I changed the success path to "return 0;" instead of "return ret;" for clarity. Fixes:

RE: [PATCH] qmi_wwan: Added support for Gemalto's Cinterion PHxx WWAN interface

2016-03-16 Thread Schemmel Hans-Christoph
> From: David Miller [mailto:da...@davemloft.net] > Sent: Dienstag, 15. März 2016 22:52 > > From: Bjørn Mork > Date: Tue, 15 Mar 2016 13:27:03 +0100 > > > Schemmel Hans-Christoph > writes: > > > >> If you are not the intended recipient of this message, please delete it and > notify the sender.