[PATCH scsi 0/3] cxgb4i: add support for Chelsio T6 adapters

2016-12-01 Thread Varun Prakash
This patch series adds support for Chelsio T6 adapters in iSCSI initiator offload driver(cxgb4i). Varun Prakash (3): scsi: cxgb4i: use cxgb4_tp_smt_idx() to get smt_idx scsi: cxgb4i,libcxgbi: add active open cmd for T6 adapters scsi: cxgb4i,libcxgbi,cxgb4: add T6 iSCSI completion feature

[PATCH scsi 1/3] scsi: cxgb4i: use cxgb4_tp_smt_idx() to get smt_idx

2016-12-01 Thread Varun Prakash
cxgb4_tp_smt_idx() is defined in cxgb4 driver, it returns smt_idx for T4,T5,T6 adapters. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c

[PATCH scsi 2/3] scsi: cxgb4i,libcxgbi: add active open cmd for T6 adapters

2016-12-01 Thread Varun Prakash
Add T6 active open cmd to open active connections on T6 adapters. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 86 -- drivers/scsi/cxgbi/libcxgbi.c | 6 +-- 2 files changed, 77 insertions(+), 15 deletions(-)

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread Thomas Graf
On 12/01/16 at 10:11am, Florian Westphal wrote: > Aside from this, XDP, like DPDK, is a kernel bypass. > You might say 'Its just stack bypass, not a kernel bypass!'. > But what does that mean exactly? That packets can still be passed > onward to normal stack? > Bypass solutions like netmap can

Re: Regression: [PATCH] mlx4: give precise rx/tx bytes/packets counters

2016-12-01 Thread Saeed Mahameed
On Wed, Nov 30, 2016 at 11:00 PM, Eric Dumazet wrote: > On Wed, 2016-11-30 at 22:42 +0200, Saeed Mahameed wrote: >> On Wed, Nov 30, 2016 at 7:35 PM, Eric Dumazet wrote: >> > On Wed, 2016-11-30 at 18:46 +0200, Saeed Mahameed wrote: >> > >> >> we

Re: [PATCH] can: rcar_canfd: Correct order of interrupt specifiers

2016-12-01 Thread Marc Kleine-Budde
On 11/23/2016 02:44 PM, Geert Uytterhoeven wrote: > According to both DTS (example and actual files), and Linux driver code, > the first interrupt specifier should be the Channel interrupt, while the > second interrupt specifier should be the Global interrupt. > > Signed-off-by: Geert

Re: [PATCH net-next] net: can: usb: kvaser_usb: fix spelling mistake of "outstanding"

2016-12-01 Thread Marc Kleine-Budde
On 11/29/2016 05:27 PM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake "oustanding" to "outstanding" in > comment and dev_dbg message. > > Signed-off-by: Colin Ian King Added to can-next. Thanks, Marc --

Re: [PATCH] ip6_offload: check segs for NULL in ipv6_gso_segment.

2016-12-01 Thread Eric Dumazet
On Thu, 2016-12-01 at 14:06 +0100, Artem Savkov wrote: > segs needs to be checked for being NULL in ipv6_gso_segment() before calling > skb_shinfo(segs), otherwise kernel can run into a NULL-pointer dereference: > Signed-off-by: Artem Savkov > --- > > diff --git

[PATCH 0/2] register atmel-ssc as sound DAI w/o platform driver

2016-12-01 Thread Peter Rosin
Hi! The Atmel SSC is currently not usable as an audio DAI unless someone registers it with ASoC. This is currently delegated to a platform driver for every possible audio use, and prevents the SSC from being used as a cpu DAI with the simple-audio-card driver. The first patch fixes this. The

Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR()

2016-12-01 Thread Andy Gross
On 1 December 2016 at 04:17, Valo, Kalle wrote: > Kalle Valo writes: > >> Kalle Valo writes: >> >>> "Valo, Kalle" writes: >>> Bjorn Andersson writes: > On

Re: [PATCH] ip6_offload: check segs for NULL in ipv6_gso_segment.

2016-12-01 Thread Artem Savkov
On Thu, Dec 01, 2016 at 06:34:07AM -0800, Eric Dumazet wrote: > On Thu, 2016-12-01 at 14:06 +0100, Artem Savkov wrote: > > segs needs to be checked for being NULL in ipv6_gso_segment() before calling > > skb_shinfo(segs), otherwise kernel can run into a NULL-pointer dereference: > > > >

Re: Regression: [PATCH] mlx4: give precise rx/tx bytes/packets counters

2016-12-01 Thread Eric Dumazet
On Thu, 2016-12-01 at 17:38 +0200, Saeed Mahameed wrote: > > Hi Eric, Thanks for the patch, I already acked it. Thanks ! > > I have one educational question (not related to this patch, but > related to stats reading in general). > I was wondering why do we need to disable bh every time we

Re: [PATCH net-next v6 6/6] samples/bpf: add userspace example for prohibiting sockets

2016-12-01 Thread David Ahern
On 11/30/16 10:59 PM, Alexei Starovoitov wrote: > On Wed, Nov 30, 2016 at 10:16:50AM -0800, David Ahern wrote: >> Add examples preventing a process in a cgroup from opening a socket >> based family, protocol and type. >> >> Signed-off-by: David Ahern > ... >> +++

Re: [PATCH] ip6_offload: check segs for NULL in ipv6_gso_segment.

2016-12-01 Thread Eric Dumazet
On Thu, 2016-12-01 at 16:07 +0100, Artem Savkov wrote: > I am not, but this would have the same behavior as pre-07b26c9 code and > IS_ERR_OR_NULL is used in ipv4's inet_gso_segment(). My concern might have been that IS_ERR_OR_NULL() considers the !ptr to be unlikely. But in this code path, we

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread Hannes Frederic Sowa
Hi, On 01.12.2016 15:58, Thomas Graf wrote: > On 12/01/16 at 10:11am, Florian Westphal wrote: >> Aside from this, XDP, like DPDK, is a kernel bypass. >> You might say 'Its just stack bypass, not a kernel bypass!'. >> But what does that mean exactly? That packets can still be passed >> onward to

[PATH net v2] cdc_ether: Fix handling connection notification

2016-12-01 Thread Kristian Evensen
Commit bfe9b9d2df66 ("cdc_ether: Improve ZTE MF823/831/910 handling") introduced a work-around in usbnet_cdc_status() for devices that exported cdc carrier on twice on connect. Before the commit, this behavior caused the link state to be incorrect. It was assumed that all CDC Ethernet devices

[PATCH v2] sh_eth: remove unchecked interrupts

2016-12-01 Thread Chris Brandt
When streaming a lot of data and the RZ can't keep up, some status bits will get set that are not being checked or cleared which cause the following messages and the Ethernet driver to stop working. This patch fixes that issue. irq 21: nobody cared (try booting with the "irqpoll" option)

Re: [PATCH net-next] mlx4: fix use-after-free in mlx4_en_fold_software_stats()

2016-12-01 Thread Saeed Mahameed
On Thu, Dec 1, 2016 at 3:02 PM, Eric Dumazet wrote: > From: Eric Dumazet > > My recent commit to get more precise rx/tx counters in ndo_get_stats64() > can lead to crashes at device dismantle, as Jesper found out. > > We must prevent

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread Hannes Frederic Sowa
On 01.12.2016 10:11, Florian Westphal wrote: > [ As already mentioned in my reply to Tom, here is > the xdp flamebait/critique ] > > Lots of XDP related patches started to appear on netdev. > I'd prefer if it would stop... I discussed this with Florian and helped with the text. I want to mention

Re: Initial thoughts on TXDP

2016-12-01 Thread Sowmini Varadhan
On (11/30/16 14:54), Tom Herbert wrote: > > Posting for discussion : > One simplifying assumption we might make is that TXDP is primarily for > optimizing latency, specifically request/response type operations > (think HPC, HFT, flash server, or other tightly coupled communications >

Re: [WIP] net+mlx4: auto doorbell

2016-12-01 Thread Eric Dumazet
On Thu, 2016-12-01 at 13:05 +0100, Jesper Dangaard Brouer wrote: > On Wed, 30 Nov 2016 18:27:45 +0200 > Saeed Mahameed wrote: > > > >> All in all, this is risky business :), the right way to go is to > > >> force the upper layer to use xmit-more and delay

Re: [PATCH v2] sh_eth: remove unchecked interrupts

2016-12-01 Thread Geert Uytterhoeven
Hi Chris, On Thu, Dec 1, 2016 at 3:06 PM, Chris Brandt wrote: > --- a/drivers/net/ethernet/renesas/sh_eth.c > +++ b/drivers/net/ethernet/renesas/sh_eth.c > @@ -518,7 +518,7 @@ static struct sh_eth_cpu_data r7s72100_data = { > > .ecsr_value = ECSR_ICD, >

Re: [PATCH] ip6_offload: check segs for NULL in ipv6_gso_segment.

2016-12-01 Thread Eric Dumazet
On Thu, 2016-12-01 at 06:34 -0800, Eric Dumazet wrote: > On Thu, 2016-12-01 at 14:06 +0100, Artem Savkov wrote: > > segs needs to be checked for being NULL in ipv6_gso_segment() before calling > > skb_shinfo(segs), otherwise kernel can run into a NULL-pointer dereference: > > > > Signed-off-by:

[PATCH 1/1] NET: usb: qmi_wwan: add support for Telit LE922A PID 0x1040

2016-12-01 Thread Daniele Palmas
This patch adds support for PID 0x1040 of Telit LE922A. The qmi adapter requires to have DTR set for proper working, so QMI_WWAN_QUIRK_DTR has been enabled. Signed-off-by: Daniele Palmas --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 0/1] NET: usb: qmi_wwan: add support for Telit LE922A PID 0x1040

2016-12-01 Thread Daniele Palmas
This patch adds support for PID 0x1040 of Telit LE922A. The qmi adapter requires to have DTR set for proper working, so QMI_WWAN_QUIRK_DTR has been enabled. Following verbose lsusb output of the composition: Bus 003 Device 006: ID 1bc7:1040 Telit Wireless Solutions Device Descriptor: bLength

[PATCH 2/2] net: stmmac: unify mdio functions

2016-12-01 Thread Corentin Labbe
stmmac_mdio_{read|write} and stmmac_mdio_{read|write}_gmac4 are not enought different for being split. The only differences between thoses two functions are shift/mask for addr/reg/clk_csr. This patch introduce a per platform set of variable for setting thoses shift/mask and unify mdio read and

[PATCH 1/2] net: stmmac: avoid Camelcase naming

2016-12-01 Thread Corentin Labbe
This patch simply rename regValue to value, like it was named in other mdio functions. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH scsi 3/3] scsi: cxgb4i,libcxgbi,cxgb4: add T6 iSCSI completion feature

2016-12-01 Thread Varun Prakash
T6 adapters reduce number of completions to host by generating single completion for all the directly placed(DDP) iSCSI pdus in a sequence. This patch adds new structure for completion hw cmd (struct cpl_rx_iscsi_cmp) and implements T6 completion feature. Signed-off-by: Varun Prakash

[PATCH v7 net-next 4/6] bpf: Add support for reading socket family, type, protocol

2016-12-01 Thread David Ahern
Add socket family, type and protocol to bpf_sock allowing bpf programs read-only access. Add __sk_flags_offset[0] to struct sock before the bitfield to programmtically determine the offset of the unsigned int containing protocol and type. Signed-off-by: David Ahern ---

[PATCH v7 net-next 2/6] bpf: Add new cgroup attach type to enable sock modifications

2016-12-01 Thread David Ahern
Add new cgroup based program type, BPF_PROG_TYPE_CGROUP_SOCK. Similar to BPF_PROG_TYPE_CGROUP_SKB programs can be attached to a cgroup and run any time a process in the cgroup opens an AF_INET or AF_INET6 socket. Currently only sk_bound_dev_if is exported to userspace for modification by a bpf

[PATCH v7 net-next 5/6] samples/bpf: Update bpf loader for cgroup section names

2016-12-01 Thread David Ahern
Add support for section names starting with cgroup/skb and cgroup/sock. Signed-off-by: David Ahern --- v7 - no change v6 - new patch for version 6 samples/bpf/bpf_load.c | 14 +++--- samples/bpf/bpf_load.h | 1 + 2 files changed, 12 insertions(+), 3

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread Tom Herbert
On Thu, Dec 1, 2016 at 10:01 AM, Tom Herbert wrote: > > > On Thu, Dec 1, 2016 at 1:11 AM, Florian Westphal wrote: >> >> [ As already mentioned in my reply to Tom, here is >> the xdp flamebait/critique ] >> >> Lots of XDP related patches started to appear on

[PATCH iproute2 1/2] ss: print new tcp_info fields: delivery_rate and app_limited

2016-12-01 Thread Neal Cardwell
Dump the new delivery_rate and delivery_rate_app_limited fields that were added to tcp_info in Linux v4.9. Example output: pacing_rate 65.7Mbps delivery_rate 62.9Mbps And for the application-limited case this looks like: pacing_rate 1031.1Mbps delivery_rate 87.4Mbps app_limited

[PATCH iproute2 2/2] ss: print new tcp_info fields: busy, rwnd-limited, sndbuf-limited times

2016-12-01 Thread Neal Cardwell
From: Yuchung Cheng Dump some new fields added to tcp_info in v4.10: tcpi_busy_time, tcpi_rwnd_limited, tcpi_sndbuf_limited. Example output for a flow busy for 110ms but never measurably limited by receive window or send buffer: busy:110ms Example output for a flow

Re: [PATCH v5 net-next 0/7] Support Armada 37xx SoC (ARMv8 64-bits) in mvneta driver

2016-12-01 Thread Marcin Wojtas
Hi Gregory, Checked on a388-gp with and without HWBM, also both ports work on a3700 (second one after changing to sgmii). Tested-by: Marcin Wojtas Best regards, Marcin 2016-11-30 22:42 GMT+01:00 Gregory CLEMENT : > Hi, > > The Armada 37xx

Re: [PATCH 00/11] Netfilter fixes for net

2016-12-01 Thread David Miller
From: Pablo Neira Ayuso Date: Wed, 30 Nov 2016 22:57:14 +0100 > This is a large batch of Netfilter fixes for net, they are: ... > I know is late but I think these are important, specifically the NAT > bits, as they are mostly addressing fallout from recent changes. I also >

Re: [PATCH v2 net-next 0/4] Adding PHY MDI(X) support

2016-12-01 Thread David Miller
From: Raju Lakkaraju Date: Tue, 29 Nov 2016 15:16:45 +0530 > I updated all review comments which were given by Andrew and Florian. > > This series add support for PHY MDI(X), and implement it for MSCC phys. > > Tested on Beaglebone Black with VSC 8531 PHY. Series

Re: pull request (net): ipsec 2016-12-01

2016-12-01 Thread David Miller
From: Steffen Klassert Date: Thu, 1 Dec 2016 12:44:49 +0100 > 1) Change the error value when someone tries to run 32bit >userspace on a 64bit host from -ENOTSUPP to the userspace >exported -EOPNOTSUPP. Fix from Yi Zhao. > > 2) On inbound, ESN sequence

[PATCH net-next 3/3] sfc: remove RESET_TYPE_RX_RECOVERY

2016-12-01 Thread Edward Cree
It's no longer used now that Falcon is gone. Also remove a reference in a comment to an ioctl that doesn't exist. Signed-off-by: Edward Cree --- drivers/net/ethernet/sfc/efx.c | 1 - drivers/net/ethernet/sfc/enum.h | 5 + 2 files changed, 1 insertion(+), 5

[PATCH net-next 2/3] sfc: don't select SFC_FALCON

2016-12-01 Thread Edward Cree
Easy enough for Falcon users to enable it when making oldconfig. Signed-off-by: Edward Cree --- drivers/net/ethernet/sfc/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/sfc/Kconfig b/drivers/net/ethernet/sfc/Kconfig index 0e16197..605ebc7

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread Hannes Frederic Sowa
On 01.12.2016 17:19, David Miller wrote: > Saying that ntuple filters can handle the early drop use case doesn't > take into consideration the nature of the tables (hundreds of > thousands of "evil" IP addresses), whether hardware can actually > handle that (it can't), and whether simple IP

Re: [PATCH net] net: bcmgenet: Utilize correct struct device for all DMA operations

2016-12-01 Thread Florian Fainelli
On 11/30/2016 09:15 PM, Florian Fainelli wrote: > __bcmgenet_tx_reclaim() is not using the struct device reference when > doing its unmap operation, which made the DMA-API debugging warn about > it. Fix this by always using >pdev->dev throughout the driver, > using an identical device reference

[PATCH net v2] net: bcmgenet: Utilize correct struct device for all DMA operations

2016-12-01 Thread Florian Fainelli
From: Florian Fainelli __bcmgenet_tx_reclaim() and bcmgenet_free_rx_buffers() are not using the same struct device during unmap that was used for the map operation, which makes DMA-API debugging warn about it. Fix this by always using >pdev->dev throughout the driver, using

Re: [PATCH net v2] tipc: check minimum bearer MTU

2016-12-01 Thread Michal Kubecek
On Thu, Dec 01, 2016 at 04:11:18PM +, Ben Hutchings wrote: > On Thu, 2016-12-01 at 12:02 +0100, Michal Kubecek wrote: > [...]  > > +/* check if device MTU is sufficient for tipc headers */ > > +static inline bool tipc_check_mtu(struct net_device *dev, unsigned int > > reserve) > > +{ > > +

Re: [PATCH v7 net-next 2/6] bpf: Add new cgroup attach type to enable sock modifications

2016-12-01 Thread Alexei Starovoitov
On Thu, Dec 01, 2016 at 08:48:04AM -0800, David Ahern wrote: > Add new cgroup based program type, BPF_PROG_TYPE_CGROUP_SOCK. Similar to > BPF_PROG_TYPE_CGROUP_SKB programs can be attached to a cgroup and run > any time a process in the cgroup opens an AF_INET or AF_INET6 socket. > Currently only

Re: [PATCH 2/2] net: rfkill: Add rfkill-any LED trigger

2016-12-01 Thread kbuild test robot
Hi Michał, [auto build test WARNING on mac80211-next/master] [also build test WARNING on v4.9-rc7 next-20161201] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Micha-K-pie/net-rfkill-Cleanup

Re: [WIP] net+mlx4: auto doorbell

2016-12-01 Thread Jesper Dangaard Brouer
On Thu, 01 Dec 2016 06:24:34 -0800 Eric Dumazet wrote: > On Thu, 2016-12-01 at 13:05 +0100, Jesper Dangaard Brouer wrote: > > On Wed, 30 Nov 2016 18:27:45 +0200 > > Saeed Mahameed wrote: > > > > > >> All in all, this is risky business :),

Re: [PATCH net-next v4 3/4] bpf: BPF for lightweight tunnel infrastructure

2016-12-01 Thread Thomas Graf
On 12/01/16 at 01:08pm, Daniel Borkmann wrote: > For the verifier change in may_access_direct_pkt_data(), would be > great if you could later on follow up with a selftest-suite case, > one where BPF_PROG_TYPE_LWT_IN/OUT prog tries to write and fails, > and one where BPF_PROG_TYPE_LWT_IN/OUT prog

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread Florian Westphal
David Miller wrote: > Saying that ntuple filters can handle the early drop use case doesn't > take into consideration the nature of the tables (hundreds of > thousands of "evil" IP addresses), Thats not what I said. But Ok, message received. I rest my case.

Re: [PATCH] net: stmmac: enable tx queue 0 for gmac4 IPs synthesized with multiple TX queues

2016-12-01 Thread Alexandre Torgue
Hi David and Niklas, On 11/28/2016 05:29 PM, David Miller wrote: From: Niklas Cassel Date: Thu, 24 Nov 2016 15:36:33 +0100 From: Niklas Cassel The dwmac4 IP can synthesized with 1-8 number of tx queues. On an IP synthesized with

Re: [PATCH v5 net-next 0/7] Support Armada 37xx SoC (ARMv8 64-bits) in mvneta driver

2016-12-01 Thread Gregory CLEMENT
Hi Marcin, On jeu., déc. 01 2016, Marcin Wojtas wrote: > Hi Gregory, > > Checked on a388-gp with and without HWBM, also both ports work on > a3700 (second one after changing to sgmii). > > Tested-by: Marcin Wojtas Thanks, I am going to send a new

Re: Regression: [PATCH] mlx4: give precise rx/tx bytes/packets counters

2016-12-01 Thread Eric Dumazet
On Thu, 2016-12-01 at 07:55 -0800, Eric Dumazet wrote: > So removing the spinlock is doable, but needs to add a new parameter > to mlx4_en_fold_software_stats() and call netdev_stats_to_stats64() > before mlx4_en_fold_software_stats(dev) Untested patch would be :

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread David Miller
From: Thomas Graf Date: Thu, 1 Dec 2016 15:58:34 +0100 > The benefits of XDP for this use case are extremely obvious in combination > with local applications which need to be protected. ntuple filters won't > cut it. They are limited and subject to a certain rate at which they >

Re: [PATCH net] RDS: TCP: unregister_netdevice_notifier() in error path of rds_tcp_init_net

2016-12-01 Thread Santosh Shilimkar
On 12/1/2016 4:44 AM, Sowmini Varadhan wrote: If some error is encountered in rds_tcp_init_net, make sure to unregister_netdevice_notifier(), else we could trigger a panic later on, when the modprobe from a netns fails. Signed-off-by: Sowmini Varadhan ---

Re: [PATCH v7 net-next 4/6] bpf: Add support for reading socket family, type, protocol

2016-12-01 Thread Alexei Starovoitov
On Thu, Dec 01, 2016 at 08:48:06AM -0800, David Ahern wrote: > Add socket family, type and protocol to bpf_sock allowing bpf programs > read-only access. > > Add __sk_flags_offset[0] to struct sock before the bitfield to > programmtically determine the offset of the unsigned int containing >

Re: [PATCH v7 net-next 3/6] samples: bpf: add userspace example for modifying sk_bound_dev_if

2016-12-01 Thread Alexei Starovoitov
On Thu, Dec 01, 2016 at 08:48:05AM -0800, David Ahern wrote: > Add a simple program to demonstrate the ability to attach a bpf program > to a cgroup that sets sk_bound_dev_if for AF_INET{6} sockets when they > are created. > > Signed-off-by: David Ahern Acked-by:

Re: [RFC PATCH net-next v2] ipv6: implement consistent hashing for equal-cost multipath routing

2016-12-01 Thread Roopa Prabhu
On Tue, Nov 29, 2016 at 11:56 PM, David Lebrun wrote: > On 11/30/2016 04:52 AM, Hannes Frederic Sowa wrote: > >> Also please convert the sysctl to a netlink attribute if you pursue this >> because if I change the sysctl while my quagga is hammering the routing >> table

Re: [PATCH v5 net-next 7/7] ARM64: dts: marvell: Add network support for Armada 3700

2016-12-01 Thread Marcin Wojtas
Hi Gregory, 2016-11-30 22:42 GMT+01:00 Gregory CLEMENT : > Add neta nodes for network support both in device tree for the SoC and > the board. > > Signed-off-by: Gregory CLEMENT > --- >

[PATCH 2/2] ASoC: atmel: tse850: rely on the ssc to register as a cpu dai by itself

2016-12-01 Thread Peter Rosin
Signed-off-by: Peter Rosin --- .../bindings/sound/axentia,tse850-pcm5142.txt | 5 ++--- sound/soc/atmel/tse850-pcm5142.c | 23 +++--- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git

[PATCH net-next 0/3] sfc: defalconisation fixups

2016-12-01 Thread Edward Cree
A bug fix, the Kconfig change, and cleaning up a bit more unused code. Edward Cree (3): sfc: fix debug message format string in efx_farch_handle_rx_not_ok sfc: don't select SFC_FALCON sfc: remove RESET_TYPE_RX_RECOVERY drivers/net/ethernet/sfc/Kconfig | 1 - drivers/net/ethernet/sfc/efx.c

RE: [PATCH V2 net-next] net: hns: Fix to conditionally convey RX checksum flag to stack

2016-12-01 Thread Salil Mehta
> -Original Message- > From: Salil Mehta > Sent: Thursday, December 01, 2016 12:09 PM > To: 'David Miller' > Cc: Zhuangyuzeng (Yisen); mehta.salil@gmail.com; > netdev@vger.kernel.org; linux-ker...@vger.kernel.org; Linuxarm > Subject: RE: [PATCH V2 net-next] net: hns: Fix to

Re: [PATCH v7 net-next 0/6] net: Add bpf support for sockets

2016-12-01 Thread Alexei Starovoitov
On Thu, Dec 01, 2016 at 08:48:02AM -0800, David Ahern wrote: > The recently added VRF support in Linux leverages the bind-to-device > API for programs to specify an L3 domain for a socket. While > SO_BINDTODEVICE has been around for ages, not every ipv4/ipv6 capable > program has support for it.

Re: Regression: [PATCH] mlx4: give precise rx/tx bytes/packets counters

2016-12-01 Thread Eric Dumazet
On Thu, 2016-12-01 at 18:33 +0200, Saeed Mahameed wrote: > Thanks for the detailed answer !! You're welcome. > > BTW you went 5 steps ahead of my original question :)), so far you > already have a patch without locking at all (really impressive). > > What i wanted to ask originally, was

Re: DSA vs. SWTICHDEV ?

2016-12-01 Thread Andrew Lunn
Hi Murali > 2. Switch mode where it implements a simple Ethernet switch. Currently >it doesn't have address learning capability, but in future it >can. If it does not have address learning capabilities, does it act like a plain old hub? What comes in one port goes out all others? Or

Re: [PATCH v2] sh_eth: remove unchecked interrupts

2016-12-01 Thread Sergei Shtylyov
On 12/01/2016 09:24 PM, Chris Brandt wrote: One thing you've missed so far is mentioning R7S72100 (RZ/A1) in the subject. This driver supports many SoCs, you're only fixing one of them... For the last sh_eth.c patch I submitted, I had: "net: ethernet: renesas: sh_eth: add POST registers

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread Florian Westphal
Thomas Graf wrote: > On 12/01/16 at 10:11am, Florian Westphal wrote: > > Aside from this, XDP, like DPDK, is a kernel bypass. > > You might say 'Its just stack bypass, not a kernel bypass!'. > > But what does that mean exactly? That packets can still be passed > > onward to normal

Re: Regression: [PATCH] mlx4: give precise rx/tx bytes/packets counters

2016-12-01 Thread Saeed Mahameed
On Thu, Dec 1, 2016 at 5:55 PM, Eric Dumazet wrote: > On Thu, 2016-12-01 at 17:38 +0200, Saeed Mahameed wrote: > >> >> Hi Eric, Thanks for the patch, I already acked it. > > Thanks ! > >> >> I have one educational question (not related to this patch, but >> related to

Re: DSA vs. SWTICHDEV ?

2016-12-01 Thread Murali Karicheri
On 11/30/2016 03:50 AM, Joakim Tjernlund wrote: > I am trying to wrap my head around these two "devices" and have a hard time > telling them apart. > We are looking att adding a faily large switch(over PCIe) to our board and > from what I can tell > switchdev is the new way to do it but DSA is

Re: [PATCH v7 net-next 1/6] bpf: Refactor cgroups code in prep for new type

2016-12-01 Thread Alexei Starovoitov
On Thu, Dec 01, 2016 at 08:48:03AM -0800, David Ahern wrote: > Code move and rename only; no functional change intended. > > Signed-off-by: David Ahern Acked-by: Alexei Starovoitov

[PATCH v6 net-next 1/7] net: mvneta: Optimize rx path for small frame

2016-12-01 Thread Gregory CLEMENT
For small frame reuse the phys_addr variable instead of accessing the uncacheable value in the rx descriptor. Signed-off-by: Gregory CLEMENT Tested-by: Marcin Wojtas --- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1

[PATCH v6 net-next 0/7] Support Armada 37xx SoC (ARMv8 64-bits) in mvneta driver

2016-12-01 Thread Gregory CLEMENT
Hi, The Armada 37xx is a new ARMv8 SoC from Marvell using same network controller as the older Armada 370/38x/XP SoCs. This series adapts the driver in order to be able to use it on this new SoC. The main changes are: - 64-bits support: the first patches allow using the driver on a 64-bit

[PATCH v6 net-next 7/7] ARM64: dts: marvell: Add network support for Armada 3700

2016-12-01 Thread Gregory CLEMENT
Add neta nodes for network support both in device tree for the SoC and the board. Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 23 +++- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 23

[PATCH v6 net-next 6/7] net: mvneta: Add network support for Armada 3700 SoC

2016-12-01 Thread Gregory CLEMENT
From: Marcin Wojtas Armada 3700 is a new ARMv8 SoC from Marvell using same network controller as older Armada 370/38x/XP. There are however some differences that needed taking into account when adding support for it: * open default MBUS window to 4GB of DRAM - Armada 3700

[PATCH v6 net-next 3/7] net: mvneta: Use cacheable memory to store the rx buffer virtual address

2016-12-01 Thread Gregory CLEMENT
Until now the virtual address of the received buffer were stored in the cookie field of the rx descriptor. However, this field is 32-bits only which prevents to use the driver on a 64-bits architecture. With this patch the virtual address is stored in an array not shared with the hardware (no

Re: [PATCH 2/2] net: rfkill: Add rfkill-any LED trigger

2016-12-01 Thread kbuild test robot
Hi Michał, [auto build test ERROR on mac80211-next/master] [also build test ERROR on v4.9-rc7 next-20161201] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Micha-K-pie/net-rfkill-Cleanup-error

RE: [PATCH v2] sh_eth: remove unchecked interrupts

2016-12-01 Thread Chris Brandt
On 12/1/2016, Sergei Shtylyov wrote: > One thing you've missed so far is mentioning R7S72100 (RZ/A1) in the > subject. This driver supports many SoCs, you're only fixing one of them... For the last sh_eth.c patch I submitted, I had: "net: ethernet: renesas: sh_eth: add POST registers for rz"

Re: [PATCH net v2] tipc: check minimum bearer MTU

2016-12-01 Thread Ben Hutchings
On Thu, 2016-12-01 at 12:02 +0100, Michal Kubecek wrote: [...]  > +/* check if device MTU is sufficient for tipc headers */ > +static inline bool tipc_check_mtu(struct net_device *dev, unsigned int > reserve) > +{ > + if (dev->mtu >= TIPC_MIN_BEARER_MTU + reserve) > + return

Re: [flamebait] xdp, well meaning but pointless

2016-12-01 Thread Thomas Graf
On 12/01/16 at 04:52pm, Hannes Frederic Sowa wrote: > First of all, this is a rant targeted at XDP and not at eBPF as a whole. > XDP manipulates packets at free will and thus all security guarantees > are off as well as in any user space solution. > > Secondly user space provides policy, acl,

Re: pull request (net-next): ipsec-next 2016-12-01

2016-12-01 Thread David Miller
From: Steffen Klassert Date: Thu, 1 Dec 2016 12:48:04 +0100 > git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master > > for you to fetch changes up to 2258d927a691ddd2ab585adb17ea9f96e89d0638: > > xfrm: remove unused helper (2016-09-30

[PATCH net-next 1/3] sfc: fix debug message format string in efx_farch_handle_rx_not_ok

2016-12-01 Thread Edward Cree
Defalconisation removed one of the string arguments, but missed the corresponding %s. Fixes: 5a6681e22c14 ("sfc: separate out SFC4000 ("Falcon") support into new sfc-falcon driver") Signed-off-by: Edward Cree --- drivers/net/ethernet/sfc/farch.c | 2 +- 1 file changed,

[PATCH v6 net-next 2/7] net: mvneta: Do not allocate buffer in rxq init with HWBM

2016-12-01 Thread Gregory CLEMENT
For HWBM all buffers are allocated in mvneta_bm_construct() and in runtime they are put into descriptors by hardware. There is no need to fill them at this point. Suggested-by: Marcin Wojtas Signed-off-by: Gregory CLEMENT Tested-by: Marcin

[PATCH v6 net-next 4/7] net: mvneta: Convert to be 64 bits compatible

2016-12-01 Thread Gregory CLEMENT
From: Marcin Wojtas Prepare the mvneta driver in order to be usable on the 64 bits platform such as the Armada 3700. [gregory.clem...@free-electrons.com]: this patch was extract from a larger one to ease review and maintenance. Signed-off-by: Marcin Wojtas

Re: [PATCH v2] sh_eth: remove unchecked interrupts

2016-12-01 Thread Sergei Shtylyov
On 12/01/2016 08:36 PM, Sergei Shtylyov wrote: When streaming a lot of data and the RZ can't keep up, some status bits will get set that are not being checked or cleared which cause the following messages and the Ethernet driver to stop working. This patch fixes that issue. irq 21: nobody

[net PATCH 0/2] IPv4 FIB suffix length fixes

2016-12-01 Thread Alexander Duyck
In reviewing the patch from Robert Shearman and looking over the code I realized there were a few different bugs we were still carrying in the IPv4 FIB lookup code. These two patches are based off of Robert's original patch, but take things one step further by splitting them up to address two

[net PATCH 1/2] ipv4: Drop leaf from suffix pull/push functions

2016-12-01 Thread Alexander Duyck
It wasn't necessary to pass a leaf in when doing the suffix updates so just drop it. Instead just pass the suffix and work with that. Since we dropped the leaf there is no need to include that in the name so the names are updated to node_push_suffix and node_pull_suffix. Finally I noticed that

Re: [PATCH net] fib_trie: Avoid expensive update of suffix length when not required

2016-12-01 Thread Alexander Duyck
On Wed, Nov 30, 2016 at 4:27 PM, Robert Shearman wrote: > On 29/11/16 23:14, Alexander Duyck wrote: >> >> On Tue, Nov 29, 2016 at 9:46 AM, Robert Shearman >> wrote: >>> >>> With certain distributions of routes it can take a long time to add >>> and

[net PATCH 2/2] ipv4: Drop suffix update from resize code

2016-12-01 Thread Alexander Duyck
It has been reported that update_suffix can be expensive when it is called on a large node in which most of the suffix lengths are the same. The time required to add 200K entries had increased from around 3 seconds to almost 49 seconds. In order to address this we need to move the code for

pull-request: wireless-drivers-next 2016-12-01

2016-12-01 Thread Kalle Valo
Hi Dave, here's another pull request for net-next. Nothing special to mention about, the details are in the signed tag below. This time there's a trivial conflict in drivers/net/wireless/ath/ath10k/mac.c: <<< HEAD ieee80211_hw_set(ar->hw, SUPPORTS_TX_FRAG); ===

Re: [PATCH iproute2 net-next 2/4] tc: flower: document SCTP ip_proto

2016-12-01 Thread Stephen Hemminger
On Tue, 29 Nov 2016 16:51:31 +0100 Simon Horman wrote: > Add SCTP ip_proto to help text and man page. > > Signed-off-by: Simon Horman Sorry doesn't apply to current net-next branch in iproute2 git. Probably some of the other changes

Re: [PATCH] netfilter: avoid warn and OOM on vmalloc call

2016-12-01 Thread Marcelo Ricardo Leitner
On Thu, Dec 01, 2016 at 10:42:22AM +0100, Andrey Konovalov wrote: > On Wed, Nov 30, 2016 at 8:42 PM, Marcelo Ricardo Leitner > wrote: > > Hi Andrey, > > > > Please let me know how this works for you. It seems good here, though > > your poc may still trigger OOM through

Re: [net-next] rtnetlink: return the correct error code

2016-12-01 Thread David Miller
From: Zhang Shengju Date: Wed, 30 Nov 2016 16:37:34 +0800 > Before this patch, function ndo_dflt_fdb_dump() will always return code > from uc fdb dump. The reture code of mc fdb dump is lost. > > Signed-off-by: Zhang Shengju

Re: Initial thoughts on TXDP

2016-12-01 Thread Sowmini Varadhan
On (12/01/16 11:05), Tom Herbert wrote: > > Polling does not necessarily imply that networking monopolizes the CPU > except when the CPU is otherwise idle. Presumably the application > drives the polling when it is ready to receive work. I'm not grokking that- "if the cpu is idle, we want to

Re: [WIP] net+mlx4: auto doorbell

2016-12-01 Thread Eric Dumazet
On Thu, 2016-12-01 at 20:17 +0100, Jesper Dangaard Brouer wrote: > On Thu, 01 Dec 2016 09:04:17 -0800 Eric Dumazet > wrote: > > > BTW, if you are doing tests on mlx4 40Gbit, > > I'm mostly testing with mlx5 50Gbit, but I do have 40G NIC in the > machines too. > > >

Re: [RFC net-next 0/3] net: bridge: Allow CPU port configuration

2016-12-01 Thread Florian Fainelli
On 11/23/2016 05:48 AM, Ido Schimmel wrote: > Hi Florian, > > On Tue, Nov 22, 2016 at 09:56:30AM -0800, Florian Fainelli wrote: >> On 11/22/2016 09:41 AM, Ido Schimmel wrote: >>> Hi Florian, >>> >>> On Mon, Nov 21, 2016 at 11:09:22AM -0800, Florian Fainelli wrote: Hi all, This

Re: [WIP] net+mlx4: auto doorbell

2016-12-01 Thread David Miller
From: Eric Dumazet Date: Thu, 01 Dec 2016 09:04:17 -0800 > On Thu, 2016-12-01 at 17:04 +0100, Jesper Dangaard Brouer wrote: > >> When qdisc layer or trafgen/af_packet see this indication it knows it >> should/must flush the queue when it don't have more work left.

[PATCH iproute2 1/1] tc: updated man page to reflect handle-id use in filter GET command.

2016-12-01 Thread Roman Mashak
Signed-off-by: Roman Mashak --- man/man8/tc.8 | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man/man8/tc.8 b/man/man8/tc.8 index 8a47a2b..d957ffa 100644 --- a/man/man8/tc.8 +++ b/man/man8/tc.8 @@ -32,7 +32,9 @@ class-id ] qdisc DEV .B [ parent

[PATCH -next] net: ethernet: ti: davinci_cpdma: add missing EXPORTs

2016-12-01 Thread Paul Gortmaker
As of commit 8f32b90981dcdb355516fb95953133f8d4e6b11d ("net: ethernet: ti: davinci_cpdma: add set rate for a channel") the ARM allmodconfig builds would fail modpost with: ERROR: "cpdma_chan_set_weight" [drivers/net/ethernet/ti/ti_cpsw.ko] undefined! ERROR: "cpdma_chan_get_rate"

Re: [RFC PATCH net-next] ipv6: implement consistent hashing for equal-cost multipath routing

2016-12-01 Thread David Miller
From: Hannes Frederic Sowa Date: Wed, 30 Nov 2016 14:12:48 +0100 > David, one question: do you remember if you measured with linked lists > at that time or also with arrays. I actually would expect small arrays > that entirely fit into cachelines to be actually faster

[PATCH v3] sh_eth: remove unchecked interrupts for RZ/A1

2016-12-01 Thread Chris Brandt
When streaming a lot of data and the RZ/A1 can't keep up, some status bits will get set that are not being checked or cleared which cause the following messages and the Ethernet driver to stop working. This patch fixes that issue. irq 21: nobody cared (try booting with the "irqpoll" option)

Re: [PATCH net-next iproute2 PATCH 2/2 v2] ss: Add inet raw sockets information gathering via netlink diag interface

2016-12-01 Thread Stephen Hemminger
On Wed, 2 Nov 2016 16:14:56 +0300 Cyrill Gorcunov wrote: > unix, tcp, udp[lite], packet, netlink sockets already support diag > interface for their collection and killing. Implement support > for raw sockets. > > Signed-off-by: Cyrill Gorcunov Applied

  1   2   3   >