Re: [PATCH] net: stmmac: dwmac-rk: add rk322x-specific data

2016-06-21 Thread Heiko Stübner
Am Dienstag, 21. Juni 2016, 15:13:55 schrieb Xing Zheng: > Add constants and callback functions for the dwmac on rk322x socs. > As can be seen, the base structure is the same, only registers and > the bits in them moved slightly. > > Signed-off-by: Xing Zheng > --- > >

Re: [PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on net-next/master] [also build test ERROR on v4.7-rc4 next-20160621] [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/Thomas-Rowland/include-net-cfg802154-rename

Re: [PATCH v10 06/22] IB/hns: Add initial cmd operation

2016-06-21 Thread Leon Romanovsky
On Tue, Jun 21, 2016 at 06:50:51PM +0800, Wei Hu (Xavier) wrote: > > > On 2016/6/20 21:33, Leon Romanovsky wrote: > >On Thu, Jun 16, 2016 at 10:35:14PM +0800, Lijun Ou wrote: > >>This patch added the operation for cmd, and added some functions > >>for initializing eq table and selecting cmd

Re: [PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on net-next/master] [also build test ERROR on v4.7-rc4 next-20160621] [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/Thomas-Rowland/include-net-cfg802154-rename

Re: [PATCH 0/3] *** Mesh Path Selection Metric Calculation ***

2016-06-21 Thread Bob Copeland
On Mon, Jun 20, 2016 at 04:00:19PM +0300, Maxim Altshul wrote: > 2. Implements the opcode and the mechanism that reports the rates > in TI driver. Does this mean TI driver will support mesh at some point? -- Bob Copeland %% http://bobcopeland.com/

Re: [PATCH net-next 00/19] net: hns: fix some bugs in hns driver

2016-06-21 Thread David Miller
From: Yisen Zhuang Date: Tue, 21 Jun 2016 11:56:20 +0800 > This series includes some bugs fixed. All these patches needs to be > applied after the patchset about ACPI support, so this series is > floated to net-next list. Series applied, thanks.

Re: [PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on net-next/master] [also build test ERROR on v4.7-rc4 next-20160621] [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/Thomas-Rowland/include-net-cfg802154-rename

[PATCHv3] wlcore: spi: add wl18xx support

2016-06-21 Thread Reizer, Eyal
Add support for using with both wl12xx and wl18xx. - all wilink family needs special init command for entering wspi mode. extra clock cycles should be sent after the spi init command while the cs pin is high. - Use inverted chip select for sending a dummy 4 bytes command that completes the

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Naveen N. Rao
On 2016/06/20 03:56PM, Thadeu Lima de Souza Cascardo wrote: > On Sun, Jun 19, 2016 at 11:19:14PM +0530, Naveen N. Rao wrote: > > On 2016/06/17 10:00AM, Thadeu Lima de Souza Cascardo wrote: > > > > > > Hi, Michael and Naveen. > > > > > > I noticed independently that there is a problem with BPF

[PATCH net 0/2] mlx4_en fixes for 4.7-rc

2016-06-21 Thread Tariq Toukan
Hi Dave, This small patchset includes two fixes for mlx4_en driver. One allows a clean shutdown even when clients do not release their netdev reference. The other adds error return values to the VLAN VID add/kill functions. Eran Ben Elisha (1): net/mlx4_en: Avoid unregister_netdev at shutdown

[PATCH V4 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-21 Thread thloh
From: Tien Hock Loh This adds support for TSE PCS that uses SGMII adapter when the phy-mode of the dwmac is set to sgmii Signed-off-by: Tien Hock Loh --- v2: - Refactored the TSE PCS out from the dwmac-socfpga.c file - Added binding documentation for TSE

Re: [PATCH 3/3] mac80211: mesh: Add support for HW RC implementation

2016-06-21 Thread Johannes Berg
> - if (sta->mesh->fail_avg >= 100) > - return MAX_METRIC; > + /* try to get rate based on HW RC algorithm */ > + rate = drv_get_expected_throughput(local, >sta); This doesn't look correct, since you should use the rate control op if available, to get data from rate

Re: [RESEND PATCH 1/3] rfkill: Create "rfkill-airplane-mode" LED trigger

2016-06-21 Thread Johannes Berg
On Mon, 2016-06-13 at 23:21 +0200, Pavel Machek wrote: >  > (Actually, "::wifi" is super confusing, I'd expect that to be a led > that blinks when wifi is active.) Agree with that, yeah, that'd be confusing. > Well... "airplane" is quite confusing. I'd we use "rfkill" for > disabling radios, and

Re: [PATCH net-next] net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)

2016-06-21 Thread Netanel Belgazal
On 06/21/2016 01:43 AM, Francois Romieu wrote: > Netanel Belgazal : > [...] >>> diff --git a/drivers/net/ethernet/amazon/ena/ena_com.h >>> b/drivers/net/ethernet/amazon/ena/ena_com.h >>> new file mode 100644 >>> index 000..e49ba43 >>> --- /dev/null >>> [...] >>>

Re: [PATCH net-next 10/19] net: hns: bugfix about pfc pause frame statistics

2016-06-21 Thread Andy Shevchenko
On Tue, 2016-06-21 at 11:56 +0800, Yisen Zhuang wrote: > From: Daode Huang > > For SoC hip06, PFC pause handled in dsaf, while hip05 in XGMAC, > so change the statistics of pfc pause in dsaf and remove the old > pfc pause frame statistics. > > +static char

Re: [net-next PATCH v3 00/17] Future-proof tunnel offload handlers

2016-06-21 Thread Edward Cree
On 21/06/16 09:22, David Miller wrote: > From: Tom Herbert Date: Mon, 20 Jun 2016 10:05:01 -0700 >> Generally, this means it needs to at least match by local addresses and port >> for an unconnected/unbound socket, the source address for an >> unconnected/bound socket, a

Re: [PATCH v10 06/22] IB/hns: Add initial cmd operation

2016-06-21 Thread Wei Hu (Xavier)
On 2016/6/20 21:33, Leon Romanovsky wrote: On Thu, Jun 16, 2016 at 10:35:14PM +0800, Lijun Ou wrote: This patch added the operation for cmd, and added some functions for initializing eq table and selecting cmd mode. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao

[PATCH net-next] net/mlx4_en: Add DCB PFC support through CEE netlink commands

2016-06-21 Thread Tariq Toukan
From: Rana Shahout This patch adds support for reading and updating priority flow control (PFC) attributes in the driver via netlink. Signed-off-by: Rana Shahout Signed-off-by: Eran Ben Elisha Signed-off-by: Eugenia Emantayev

Re: 802.3ad bonding aggregator reselection

2016-06-21 Thread Veli-Matti Lintu
2016-06-20 17:11 GMT+03:00 zhuyj : > 5. Switch Configuration > === > > For this section, "switch" refers to whatever system the > bonded devices are directly connected to (i.e., where the other end of > the cable plugs into). This may be an actual

[PATCH 2/2] ath6kl: replace semaphore with mutex

2016-06-21 Thread Chaehyun Lim
It replaces struct semaphore sem with struct mutex mutex Signed-off-by: Chaehyun Lim --- drivers/net/wireless/ath/ath6kl/cfg80211.c | 30 +++--- drivers/net/wireless/ath/ath6kl/core.c | 2 +- drivers/net/wireless/ath/ath6kl/core.h | 2 +-

Re: [PATCH v10 08/22] IB/hns: Add icm support

2016-06-21 Thread Leon Romanovsky
On Tue, Jun 21, 2016 at 12:37:39PM +0800, Wei Hu (Xavier) wrote: > > > On 2016/6/20 21:04, Leon Romanovsky wrote: > >On Mon, Jun 20, 2016 at 05:48:15PM +0800, Wei Hu (Xavier) wrote: > >> > >>On 2016/6/20 17:27, Leon Romanovsky wrote: > >>>On Mon, Jun 20, 2016 at 03:49:24PM +0800, Wei Hu (Xavier)

Re: [PATCH 2/2] ath6kl: replace semaphore with mutex

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on ath6kl/ath-next] [also build test ERROR on v4.7-rc4 next-20160621] [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/Chaehyun-Lim/ath10k-remove-unused-linux-semaphore

Re: [PATCH net-next 01/19] net: hns: bug fix of ge reset sequence

2016-06-21 Thread Andy Shevchenko
On Tue, 2016-06-21 at 11:56 +0800, Yisen Zhuang wrote: > From: Qianqian Xie > > The bit fileds of PPE reset register are different between HNS v1 and > HNS v2, but the current procedure just only match HNS v1. Here is a > patch to fix it. > > Signed-off-by: Kejian Yan

pull-request: wireless-drivers 2016-06-21

2016-06-21 Thread Kalle Valo
Hi Dave, here is a pull request for 4.7, really small fixes this time, some of them fix important regressions. Please let me know if there are any problems. Kalle The following changes since commit 182fd9eecb287e696c82b30d06c6150d80a49c5b: MAINTAINERS: Add file patterns for wireless device

pull-request: wireless-drivers-next 2016-06-21

2016-06-21 Thread Kalle Valo
Hi Dave, I hope it's ok to send two pull requests the same day, both for net and net-next? This is targeted to 4.8 so it is for net-next. Even though is this the first pull request for 4.8 we actually remove more code than add, thanks to Guenter Roeck's on removing unused "phy_a" support from

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Michael Ellerman
On Tue, 2016-06-21 at 14:28 +0530, Naveen N. Rao wrote: > On 2016/06/20 03:56PM, Thadeu Lima de Souza Cascardo wrote: > > On Sun, Jun 19, 2016 at 11:19:14PM +0530, Naveen N. Rao wrote: > > > On 2016/06/17 10:00AM, Thadeu Lima de Souza Cascardo wrote: > > > > > > > > Hi, Michael and Naveen. > > >

Re: [PATCH 15/15] ARM: dts: am335x/am437x/dra7: use new "ti,cpsw-mdio" compat string

2016-06-21 Thread Tony Lindgren
* Grygorii Strashko [160615 05:05]: > Add "ti,cpsw-mdio" for am335x/am437x/dra7 SoCs where MDIO is > implemented as part of TI CPSW and, this way, enable PM runtime auto > suspend for Davinci MDIO driver on these paltforms. This one should not cause merge conflicts,

Re: [PATCH net-next] net/mlx4_en: Add DCB PFC support through CEE netlink commands

2016-06-21 Thread Or Gerlitz
On Tue, Jun 21, 2016 at 2:12 PM, Tariq Toukan wrote: > From: Rana Shahout > > This patch adds support for reading and updating priority flow > control (PFC) attributes in the driver via netlink. The patch does multiple things, you need to break it to few

Re: [PATCH] rxrpc: fix uninitialized variable use

2016-06-21 Thread David Howells
Arnd Bergmann wrote: > Hashing the peer key was introduced for AF_INET, but gcc > warns about the rxrpc_peer_hash_key function returning uninitialized > data for any other value of srx->transport.family: > > net/rxrpc/peer_object.c: In function 'rxrpc_peer_hash_key': >

Re: linux-next: manual merge of the net-next tree with the arm-soc tree

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 11:18:39 AM CEST Stephen Rothwell wrote: > Today's linux-next merge of the net-next tree got conflicts in: > > arch/arm64/boot/dts/broadcom/ns2-svk.dts > arch/arm64/boot/dts/broadcom/ns2.dtsi > > between commits: > > 97b1504a30b3 ("arm64: dts: enable pinctrl for

Re: [patch net-next] rxrpc: checking for IS_ERR() instead of NULL

2016-06-21 Thread David Howells
Dan Carpenter wrote: > rxrpc_lookup_peer_rcu() returns NULL on error, it never returns error > pointers. > > Fixes: be6e6707f6ee ('rxrpc: Rework peer object handling to use hash table > and RCU') > Signed-off-by: Dan Carpenter Applied.

Re: [patch net-next 00/23] mlxsw: Preparation for IPv4 router

2016-06-21 Thread David Miller
From: Jiri Pirko Date: Mon, 20 Jun 2016 23:03:58 +0200 > From: Jiri Pirko > > Ido says: > > This series prepares the driver for IPv4 router support. The router follow-up > patches are available at: >

Re: [PATCH] rxrpc: fix uninitialized variable use

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 9:48:52 AM CEST David Howells wrote: > Arnd Bergmann wrote: > > > Hashing the peer key was introduced for AF_INET, but gcc > > warns about the rxrpc_peer_hash_key function returning uninitialized > > data for any other value of srx->transport.family: > >

[PATCH 1/2] ath10k: remove unused

2016-06-21 Thread Chaehyun Lim
is not used anymore, so just remove it. Signed-off-by: Chaehyun Lim --- drivers/net/wireless/ath/ath10k/htc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/htc.h b/drivers/net/wireless/ath/ath10k/htc.h index cc82718..0c55cd9 100644

Re: [PATCH] net: stmmac: dwmac-rk: add rk322x-specific data

2016-06-21 Thread Xing Zheng
Hi Heiko, On 2016年06月21日 17:43, Heiko Stübner wrote: devicetree names are normally expected to be real, aka no "x" as catchall. So I guess either just add compatibles for both the rk3228 and rk3229 which point to the same structure in the driver. (So driver-side can stay as it is below, just

Re: [PATCH V4 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 1:46:11 AM CEST th...@altera.com wrote: > diff --git a/Documentation/devicetree/bindings/net/socfpga-dwmac.txt > b/Documentation/devicetree/bindings/net/socfpga-dwmac.txt > index 72d82d6..dd10f2f 100644 > --- a/Documentation/devicetree/bindings/net/socfpga-dwmac.txt >

Re: [PATCH v4 00/19] CALIPSO Implementation

2016-06-21 Thread David Miller
From: Huw Davies Date: Mon, 20 Jun 2016 14:36:40 +0100 > 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 hop-by-hop option. CALIPSO is very similar to >

[PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread Thomas Rowland
Renamed the ieee802154_llsec_device member 'hwaddr' to 'extended_addr' Signed-off-by: Thomas Rowland --- include/net/cfg802154.h | 2 +- net/ieee802154/nl802154.c | 15 +-- net/mac802154/llsec.c | 4 ++-- 3 files changed, 8 insertions(+), 13

[PATCH net 2/2] net/mlx4_en: Avoid unregister_netdev at shutdown flow

2016-06-21 Thread Tariq Toukan
From: Eran Ben Elisha This allows a clean shutdown, even if some netdev clients do not release their reference from this netdev. It is enough to release the HW resources only as the kernel is shutting down. Fixes: 2ba5fbd62b25 ('net/mlx4_core: Handle AER flow properly')

[PATCH net 1/2] net/mlx4_en: Fix the return value of a failure in VLAN VID add/kill

2016-06-21 Thread Tariq Toukan
From: Kamal Heib Modify mlx4_en_vlan_rx_[add/kill]_vid to return error value in case of failure. Fixes: 8e586137e6b6 ('net: make vlan ndo_vlan_rx_[add/kill]_vid return error value') Signed-off-by: Kamal Heib Signed-off-by: Tariq Toukan

Re: [PATCH] rxrpc: fix uninitialized variable use

2016-06-21 Thread David Howells
Arnd Bergmann wrote: > > I'm actually more tempted to put a BUG() in there because if any new family > > support (say AF_INET6) is added, I want to make sure I catch all the places. > > Makes sense. Do you want to do the patch yourself, or should I send > a new one doing that? >

[PATCH] net: ethernet: fix odd_ptr_err.cocci warnings

2016-06-21 Thread Julia Lawall
This patch refers to the following code: url: https://github.com/0day-ci/linux/commits/thloh-altera-com/net-ethernet-Add-T SE-PCS-support-to-dwmac-socfpga/20160621-164854 dwmac-socfpga.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c

Re: [6/6] ppc: ebpf/jit: Implement JIT compiler for extended BPF

2016-06-21 Thread Michael Ellerman
On Tue, 2016-06-21 at 12:28 +0530, Naveen N. Rao wrote: > On 2016/06/21 09:38AM, Michael Ellerman wrote: > > On Sun, 2016-06-19 at 23:06 +0530, Naveen N. Rao wrote: > > > > > > #include > > > > > > in bpf_jit_comp64.c > > > > > > Can you please check if it resolves the build error? > > > >

Re: [PATCH v4 00/19] CALIPSO Implementation

2016-06-21 Thread Huw Davies
On Tue, Jun 21, 2016 at 05:39:28AM -0400, David Miller wrote: > From: Huw Davies > Date: Mon, 20 Jun 2016 14:36:40 +0100 > > > This patch series implements RFC 5570 - Common Architecture Label IPv6 > > Security Option (CALIPSO). Its goal is to set MLS sensitivity labels >

Re: [PATCH net-next 10/19] net: hns: bugfix about pfc pause frame statistics

2016-06-21 Thread Yisen Zhuang
在 2016/6/21 18:32, Andy Shevchenko 写道: > On Tue, 2016-06-21 at 11:56 +0800, Yisen Zhuang wrote: >> From: Daode Huang >> >> For SoC hip06, PFC pause handled in dsaf, while hip05 in XGMAC, >> so change the statistics of pfc pause in dsaf and remove the old >> pfc pause

Re: [PATCH net-next 16/19] net: hns: fix bug that alloc skb fail lead to port unavailable

2016-06-21 Thread Yisen Zhuang
在 2016/6/21 21:25, Sergei Shtylyov 写道: > Hello. > > On 6/21/2016 6:56 AM, Yisen Zhuang wrote: > >> From: Jun He >> >> When hns_nic_poll_rx_skb alloc skb fail, it will break receive cycle and >> read new fbd_num to start new receive cycle. It recomputes cycle num is >>

Re: [PATCH -next 3/4] cgroup: bpf: Add bpf_skb_in_cgroup_proto

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on next-20160621] url: https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/cgroup-bpf-cgroup2-membership-test-on-skb/20160622-082800 config: sh-titan_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205 reproduce

Re: [PATCH net-next 0/8] tou: Transports over UDP - part I

2016-06-21 Thread Jerry Chu
On Tue, Jun 21, 2016 at 1:29 AM, David Miller wrote: > From: Tom Herbert > Date: Mon, 20 Jun 2016 08:13:48 -0700 > >> Routing around the problem is already being done. > > QUIC, a new protocol used for specific purposes and implemented in > userspace

Re: [net-next] samples/bpf: set max locked memory to ulimited

2016-06-21 Thread Alexei Starovoitov
On Tue, Jun 21, 2016 at 09:05:58PM -0700, William Tu wrote: > Signed-off-by: William Tu Acked-by: Alexei Starovoitov

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Michael Ellerman
On Tue, 2016-06-21 at 14:28 +0530, Naveen N. Rao wrote: > On 2016/06/20 03:56PM, Thadeu Lima de Souza Cascardo wrote: > > On Sun, Jun 19, 2016 at 11:19:14PM +0530, Naveen N. Rao wrote: > > > On 2016/06/17 10:00AM, Thadeu Lima de Souza Cascardo wrote: > > > > > > > > Hi, Michael and Naveen. > > >

Re: [PATCH v10 08/22] IB/hns: Add icm support

2016-06-21 Thread Wei Hu (Xavier)
On 2016/6/21 19:55, Leon Romanovsky wrote: On Tue, Jun 21, 2016 at 12:37:39PM +0800, Wei Hu (Xavier) wrote: On 2016/6/20 21:04, Leon Romanovsky wrote: On Mon, Jun 20, 2016 at 05:48:15PM +0800, Wei Hu (Xavier) wrote: On 2016/6/20 17:27, Leon Romanovsky wrote: On Mon, Jun 20, 2016 at

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Michael Ellerman
On Fri, 2016-06-17 at 10:00 -0300, Thadeu Lima de Souza Cascardo wrote: > From a984dc02b6317a1d3a3c2302385adba5227be5bd Mon Sep 17 00:00:00 2001 > From: Thadeu Lima de Souza Cascardo > Date: Wed, 15 Jun 2016 13:22:12 -0300 > Subject: [PATCH] ppc: Fix BPF JIT for ABIv2 > >

[PATCH net-next 02/13] liquidio: Vlan offloads changes

2016-06-21 Thread Raghu Vatsavayi
This patch adds support for vlan offloads for the driver and receive header structures are also modified appropriately. Also requestID will not be used in reveive header any more. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla

[PATCH net-next 04/13] liquidio: Napi rx/tx traffic

2016-06-21 Thread Raghu Vatsavayi
This Patch adds tx buffer handling to Napi along with RX traffic. Also separate spinlocks are introduced for handling iq posting and buffer reclaim so that tx path and tx interrupt do not compete against each other. Signed-off-by: Derek Chickles Signed-off-by:

[PATCH net-next 09/13] liquidio: New statistics support

2016-06-21 Thread Raghu Vatsavayi
This patch adds extensive support of statistics for data path, control path and firmware. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

[PATCH net-next 08/13] liquidio: tx rx interrupt moderation

2016-06-21 Thread Raghu Vatsavayi
This patch has new tx/rx interrupt moderation defaults of count/timer for better throughput and utilisation. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

[PATCH net-next 05/13] liquidio: Firmware image download

2016-06-21 Thread Raghu Vatsavayi
This patch has firmware image related changes for: firmware release upon failure, support latest firmware version and firmware download in 4MB chunks. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla

[PATCH net-next 06/13] liquidio: New unload state

2016-06-21 Thread Raghu Vatsavayi
This patch adds new state so that the ctrl packets are not sent to firmware during unload time and only rx packets are allowed. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

[PATCH net-next 07/13] liquidio: chip reset changes

2016-06-21 Thread Raghu Vatsavayi
This patch resolves the order of chip reset while destroying the resources by postoponing soft reset in destroy resources function until all queues are removed properly. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla

[PATCH net-next 03/13] liquidio: Vlan filtering

2016-06-21 Thread Raghu Vatsavayi
This patch adds supports for Vlan filtering for liquidio driver. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

Re: [PATCH net-next v3] tcp: use RFC6298 compliant TCP RTO calculation

2016-06-21 Thread Yuchung Cheng
On Fri, Jun 17, 2016 at 11:56 AM, Yuchung Cheng wrote: > > On Fri, Jun 17, 2016 at 11:32 AM, David Miller wrote: > > > > From: Daniel Metz > > Date: Wed, 15 Jun 2016 20:00:03 +0200 > > > > > This patch adjusts Linux RTO calculation to be

Re: [PATCH -next 4/4] cgroup: bpf: Add an example to do cgroup checking in BPF

2016-06-21 Thread Alexei Starovoitov
On Tue, Jun 21, 2016 at 05:23:22PM -0700, Martin KaFai Lau wrote: > test_cgrp2_array_pin.c: > A userland program that creates a bpf_map (BPF_MAP_TYPE_GROUP_ARRAY), > pouplates/updates it with a cgroup2's backed fd and pins it to a > bpf-fs's file. The pinned file can be loaded by tc and then used

[PATCH iproute2 1/3] ss: Refactor inet_show_sock

2016-06-21 Thread David Ahern
Extract parsing of sockstat and filter from inet_show_sock. While moving run_ssfilter into callers of inet_show_sock enable userspace filtering before the kill. Signed-off-by: David Ahern --- misc/ss.c | 68

[PATCH iproute2 0/3] ss: Add support to filter by device

2016-06-21 Thread David Ahern
Add support for specifying device name in the filter to ss. The kernel does not provide support for iface filtering, so if the user specifies 'dev == NAME' or 'dev != NAME' all filtering is done in userspace. I will send a patch to add support for iface filtering in the kernel, but the reality is

[PATCH iproute2 3/3] ss: Add support to filter on device

2016-06-21 Thread David Ahern
Add support for device names in the filter. Example: root@kenny:~# ss -t 'sport == :22 && dev == red' State Recv-Q Send-Q Local Address:Port Peer Address:Port ESTAB 0 0 10.100.1.2%red:ssh 10.100.1.254:47814 ESTAB 0 0

[PATCH iproute2 2/3] ss: Allow ssfilter_bytecompile to return 0

2016-06-21 Thread David Ahern
Allow ssfilter_bytecompile to return 0 for filter ops the kernel does not support. If such an op is in the filter string then all filtering is done in userspace. Signed-off-by: David Ahern --- misc/ss.c | 52 +--- 1 file

Re: [PATCH v10 06/22] IB/hns: Add initial cmd operation

2016-06-21 Thread Leon Romanovsky
On Tue, Jun 21, 2016 at 09:01:57PM +0800, Wei Hu (Xavier) wrote: > > > On 2016/6/21 19:28, Leon Romanovsky wrote: > >On Tue, Jun 21, 2016 at 06:50:51PM +0800, Wei Hu (Xavier) wrote: > >> > >>On 2016/6/20 21:33, Leon Romanovsky wrote: > >>>On Thu, Jun 16, 2016 at 10:35:14PM +0800, Lijun Ou wrote:

Re: [PATCH] ibmvnic: fix to use list_for_each_safe() when delete items

2016-06-21 Thread Wei Yongjun
Hi Thomas Falcon, Thanks for found this. I will send new patch include your changes. Regards, Yongjun Wei On 06/22/2016 12:01 AM, Thomas Falcon wrote: On 06/20/2016 10:50 AM, Thomas Falcon wrote: On 06/17/2016 09:53 PM, weiyj...@163.com wrote: From: Wei Yongjun

[PATCH net-next] cxgb4vf: Synchronize access to mailbox

2016-06-21 Thread Hariprasad Shenai
The issue comes when there are multiple threads attempting to use the mailbox facility at the same time. The issue is the for the Virtual Function Driver, the only way to get the Virtual Interface statistics is to issue mailbox commands to ask the firmware for the VI Stats. And, because the VI

[net-next] samples/bpf: set max locked memory to ulimited

2016-06-21 Thread William Tu
Signed-off-by: William Tu --- samples/bpf/sockex2_user.c | 3 +++ samples/bpf/sockex3_user.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/samples/bpf/sockex2_user.c b/samples/bpf/sockex2_user.c index 29a276d..8a4085c 100644 --- a/samples/bpf/sockex2_user.c +++

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Michael Ellerman
On Tue, 2016-06-21 at 08:45 -0700, Alexei Starovoitov wrote: > On 6/21/16 7:47 AM, Thadeu Lima de Souza Cascardo wrote: > > > > > > > > The calling convention is different with ABIv2 and so we'll need changes > > > > in bpf_slow_path_common() and sk_negative_common(). > > > > > > How big would

Re: [PATCH net-next 0/8] tou: Transports over UDP - part I

2016-06-21 Thread David Ahern
On 6/21/16 9:42 PM, Jerry Chu wrote: Yes TOU may lower the bar for random hacks by Joe Random. But I'd argue no large organization would serious consider or dare deploy TCP stack with random hacks. There are userspace network stacks that have been around for years and widely deployed on

[PATCH iproute2] man: ip-link: Add vrf type

2016-06-21 Thread David Ahern
Add description for vrf type to ip-link man page. Signed-off-by: David Ahern --- man/man8/ip-link.8.in | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index

Re: [PATCH -next 2/4] cgroup: bpf: Add BPF_MAP_TYPE_CGROUP_ARRAY

2016-06-21 Thread Alexei Starovoitov
On Tue, Jun 21, 2016 at 05:23:20PM -0700, Martin KaFai Lau wrote: > Add a BPF_MAP_TYPE_CGROUP_ARRAY and its bpf_map_ops's implementations. > To update an element, the caller is expected to obtain a cgroup2 backed > fd by open(cgroup2_dir) and then update the array with that fd. > > Signed-off-by:

Re: [PATCH net-next 01/19] net: hns: bug fix of ge reset sequence

2016-06-21 Thread Yisen Zhuang
在 2016/6/21 18:35, Andy Shevchenko 写道: > On Tue, 2016-06-21 at 11:56 +0800, Yisen Zhuang wrote: >> From: Qianqian Xie >> >> The bit fileds of PPE reset register are different between HNS v1 and >> HNS v2, but the current procedure just only match HNS v1. Here is a >>

Re: [PATCH -next 3/4] cgroup: bpf: Add bpf_skb_in_cgroup_proto

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on next-20160621] url: https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/cgroup-bpf-cgroup2-membership-test-on-skb/20160622-082800 config: i386-randconfig-s1-201625 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce

Re: [PATCH -next 2/4] cgroup: bpf: Add BPF_MAP_TYPE_CGROUP_ARRAY

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on next-20160621] url: https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/cgroup-bpf-cgroup2-membership-test-on-skb/20160622-082800 config: m68k-sun3_defconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 reproduce: wget https

Re: [PATCH -next 3/4] cgroup: bpf: Add bpf_skb_in_cgroup_proto

2016-06-21 Thread Alexei Starovoitov
On Tue, Jun 21, 2016 at 05:23:21PM -0700, Martin KaFai Lau wrote: > Adds a bpf helper, bpf_skb_in_cgroup, to decide if a skb->sk > belongs to a descendant of a cgroup2. It is similar to the > feature added in netfilter: > commit c38c4597e4bf ("netfilter: implement xt_cgroup cgroup2 path match") >

[PATCH v2] ibmvnic: fix to use list_for_each_safe() when delete items

2016-06-21 Thread Wei Yongjun
Since we will remove items off the list using list_del() we need to use a safe version of the list_for_each() macro aptly named list_for_each_safe(). Signed-off-by: Wei Yongjun --- drivers/net/ethernet/ibm/ibmvnic.c | 14 +++--- 1 file changed, 7

[PATCH -next 4/4] cgroup: bpf: Add an example to do cgroup checking in BPF

2016-06-21 Thread Martin KaFai Lau
test_cgrp2_array_pin.c: A userland program that creates a bpf_map (BPF_MAP_TYPE_GROUP_ARRAY), pouplates/updates it with a cgroup2's backed fd and pins it to a bpf-fs's file. The pinned file can be loaded by tc and then used by the bpf prog later. This program can also update an existing pinned

[PATCH -next 3/4] cgroup: bpf: Add bpf_skb_in_cgroup_proto

2016-06-21 Thread Martin KaFai Lau
Adds a bpf helper, bpf_skb_in_cgroup, to decide if a skb->sk belongs to a descendant of a cgroup2. It is similar to the feature added in netfilter: commit c38c4597e4bf ("netfilter: implement xt_cgroup cgroup2 path match") The user is expected to populate a BPF_MAP_TYPE_CGROUP_ARRAY which will be

[PATCH -next 1/4] cgroup: Add cgroup_get_from_fd

2016-06-21 Thread Martin KaFai Lau
Add a helper function to get a cgroup2 from a fd. It will be stored in a bpf array (BPF_MAP_TYPE_CGROUP_ARRAY) which will be introduced in the later patch. Signed-off-by: Martin KaFai Lau Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Tejun Heo

[PATCH -next 2/4] cgroup: bpf: Add BPF_MAP_TYPE_CGROUP_ARRAY

2016-06-21 Thread Martin KaFai Lau
Add a BPF_MAP_TYPE_CGROUP_ARRAY and its bpf_map_ops's implementations. To update an element, the caller is expected to obtain a cgroup2 backed fd by open(cgroup2_dir) and then update the array with that fd. Signed-off-by: Martin KaFai Lau Cc: Alexei Starovoitov Cc:

[PATCH -next 0/4] cgroup: bpf: cgroup2 membership test on skb

2016-06-21 Thread Martin KaFai Lau
This series is to implement a bpf-way to check the cgroup2 membership of a skb (sk_buff). It is similar to the feature added in netfilter: c38c4597e4bf ("netfilter: implement xt_cgroup cgroup2 path match") The current target is the tc-like usage.

Re: [ovs-dev] [RFC PATCH net v2 2/2] openvswitch: Only set mark and labels with a commit flag.

2016-06-21 Thread Joe Stringer
On 21 June 2016 at 14:59, Jarno Rajahalme wrote: > Only set conntrack mark or labels when the commit flag is specified. > This makes sure we can not set them before the connection has been > persisted, as in that case the mark and labels would be lost in an > event of an userspace

Re: 802.3ad bonding aggregator reselection

2016-06-21 Thread Jay Vosburgh
Veli-Matti Lintu wrote: [...] >>>The ports are configured in switch settings (HP Procurve 2530-48G) in >>>same trunk group (TrkX) and trunk group type is set as LACP. >>>/proc/net/bonding/bond0 also shows that the three ports belong to same >>>aggregator and

RE: [PATCH 0/3] *** Mesh Path Selection Metric Calculation ***

2016-06-21 Thread Machani, Yaniv
Yes, TI driver have added support in our latest release (TI git). http://software-dl.ti.com/ecs/WiLink8/R8_7/exports/release_notes_R8_7.html Patches will be shared with mainline in the near future. Thanks, Yaniv Machani -Original Message- From: Bob Copeland [mailto:m...@bobcopeland.com]

Re: [PATCH v10 06/22] IB/hns: Add initial cmd operation

2016-06-21 Thread Wei Hu (Xavier)
On 2016/6/21 19:28, Leon Romanovsky wrote: On Tue, Jun 21, 2016 at 06:50:51PM +0800, Wei Hu (Xavier) wrote: On 2016/6/20 21:33, Leon Romanovsky wrote: On Thu, Jun 16, 2016 at 10:35:14PM +0800, Lijun Ou wrote: This patch added the operation for cmd, and added some functions for initializing

[PATCH net] MAINTAINERS: Update Mellanox's mlx4 Eth NIC driver entry

2016-06-21 Thread Or Gerlitz
Tariq Toukan is replacing Eugenia (Jenny) Emantayev as the mlx4 Ethernet driver maintainer, thanks to Jenny and good luck to him. Signed-off-by: Or Gerlitz --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH 1/2] ath10k: remove unused

2016-06-21 Thread Sergei Shtylyov
Hello. On 6/21/2016 2:45 PM, Chaehyun Lim wrote: is not used anymore, so just remove it. s/it/#include/? Signed-off-by: Chaehyun Lim [...] diff --git a/drivers/net/wireless/ath/ath10k/htc.h b/drivers/net/wireless/ath/ath10k/htc.h index cc82718..0c55cd9

[PATCH v2] net: stmmac: dwmac-rk: add rk3228-specific data

2016-06-21 Thread Xing Zheng
Add constants and callback functions for the dwmac on rk3228/rk3229 socs. As can be seen, the base structure is the same, only registers and the bits in them moved slightly. Signed-off-by: Xing Zheng --- Changes in v2: - the "rk322x" is not clear to SoC decription,

Re: [PATCH net-next 12/18] IB/mlx5: Add kernel offload flow-tag

2016-06-21 Thread Saeed Mahameed
On Tue, Jun 21, 2016 at 5:18 AM, Alexei Starovoitov wrote: > On Sat, Jun 18, 2016 at 01:31:26AM +0300, Saeed Mahameed wrote: >> >> We simply want to selectively be able to see RoCE/RDMA ETH standard >> traffic in tcpdump, for diagnostic purposes. >> so in order to

Re: [PATCH net-next 16/19] net: hns: fix bug that alloc skb fail lead to port unavailable

2016-06-21 Thread Sergei Shtylyov
Hello. On 6/21/2016 6:56 AM, Yisen Zhuang wrote: From: Jun He When hns_nic_poll_rx_skb alloc skb fail, it will break receive cycle and read new fbd_num to start new receive cycle. It recomputes cycle num is fbd_num minus clean_count, actually this cycle num is too big

Fwd: Re: [PATCH net-next 00/15] net/smc: Shared Memory Communications - RDMA

2016-06-21 Thread Ursula Braun
Dave, the SMC-R patches submitted 2016-06-03 show up in state "Changes Requested" on patchwork: https://patchwork.ozlabs.org/project/netdev/list/?submitter=2266=*=1 You had requested a change of the SMC-R description in the cover letter. We came up with the response below. Do you need

Re: [PATCH net-next 00/18] mlx5 RoCE/RDMA packet sniffer

2016-06-21 Thread Saeed Mahameed
On Fri, Jun 17, 2016 at 5:43 PM, Saeed Mahameed wrote: > Hi Dave, > > This patch set introduces mlx5 RoCE/RDMA packet sniffer, it allows > mlx5e netdevice to receive RoCE/RDMA or RAW ETH traffic which isn't > supposed to be passed to the kernel stack, for sniffing and

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Thadeu Lima de Souza Cascardo
On Tue, Jun 21, 2016 at 09:15:48PM +1000, Michael Ellerman wrote: > On Tue, 2016-06-21 at 14:28 +0530, Naveen N. Rao wrote: > > On 2016/06/20 03:56PM, Thadeu Lima de Souza Cascardo wrote: > > > On Sun, Jun 19, 2016 at 11:19:14PM +0530, Naveen N. Rao wrote: > > > > On 2016/06/17 10:00AM, Thadeu

Re: [net-next PATCH v3 00/17] Future-proof tunnel offload handlers

2016-06-21 Thread Hannes Frederic Sowa
On 21.06.2016 01:22, David Miller wrote: > From: Tom Herbert > Date: Mon, 20 Jun 2016 10:05:01 -0700 > >> Generally, this means it needs to at least match by local addresses >> and port for an unconnected/unbound socket, the source address for >> an unconnected/bound

Re: [PATCH iproute2 net-next] bridge: vlan: add support to display per-vlan statistics

2016-06-21 Thread Nikolay Aleksandrov
On 21/06/16 18:01, Stephen Hemminger wrote: > On Mon, 20 Jun 2016 12:13:19 +0200 > Nikolay Aleksandrov wrote: > >> This patch adds support for the -statistics (-s) argument to the bridge >> vlan show command which will display the per-vlan statistics and the bridge

[iproute PATCH v2 1/7] tc: m_action: Improve conversion to C99 style initializers

2016-06-21 Thread Phil Sutter
This improves my initial change in the following points: - Drop superfluous comma after last expression in block. - No need to initialize variables to zero as the key feature of C99 initializers is to do this implicitly. - By relocating the declaration of struct rtattr *tail, it can be

[iproute PATCH v2 6/7] misc/ifstat: simplify unsigned value comparison

2016-06-21 Thread Phil Sutter
By directly comparing the value of both unsigned variables, casting to signed becomes unnecessary. This also fixes for compiling with older versions of gcc (at least <=3.4.6) which emit the following warning: | ifstat.c: In function `update_db': | ifstat.c:542: warning: comparison is always

  1   2   >