Re: [PATCH v3 01/11] net: phy: Add rockchip phy driver support

2017-08-09 Thread David.Wu
Hi Andrew, 在 2017/8/2 21:21, Andrew Lunn 写道: +static struct phy_driver rockchip_phy_driver[] = { +{ + .phy_id = 0x1234d400, + .phy_id_mask= 0xfff0, + .name = "Rockchip internal EPHY", + .features = (PHY_BASIC

Re: [PATCH] igmp: Fix regression caused by igmp sysctl namespace code.

2017-08-09 Thread Eric Dumazet
On Wed, 2017-08-09 at 08:52 +0300, Nikolay Borisov wrote: > Commit dcd87999d415 ("igmp: net: Move igmp namespace init to correct file") > moved the igmp sysctls initialization from tcp_sk_init to igmp_net_init. This > function is only called as part of per-namespace initialization, only if > CONFIG

Re:Re:Re: Re:Re: Re: [PATCH net] ppp: Fix a scheduling-while-atomic bug in del_chan

2017-08-09 Thread Gao Feng
At 2017-08-09 13:13:53, "Gao Feng" wrote: >At 2017-08-09 03:45:53, "Cong Wang" wrote: >>On Mon, Aug 7, 2017 at 6:10 PM, Gao Feng wrote: >>> >>> Sorry, I don't get you clearly. Why the sock_hold() isn't helpful? >> >>I already told you, the dereference happends before sock_hold(). >> >>so

Re: [PATCH v2 iproute2] lib: Dump ext-ack string by default

2017-08-09 Thread Girish Moodalbail
On 8/8/17 7:30 AM, David Ahern wrote: In time, errfn can be implemented for link, route, etc commands to give a much more detailed response (e.g., point to the attribute that failed). Doing so is much more complicated to process the message and convert attribute ids to names. In any case the err

Re: [RFC PATCH 2/2] bpf: Initialise mod[] in bpf_trace_printk

2017-08-09 Thread James Hogan
On Tue, Aug 08, 2017 at 02:54:33PM -0700, David Miller wrote: > From: James Hogan > Date: Tue, 08 Aug 2017 22:20:05 +0100 > > > cool, i hadn't realised unmentioned elements in an initialiser are > > always zeroed, even when non-global/static, so had interpreted the > > whole array as uninitialise

Re: [PATCH net-next 0/7] rtnetlink: allow to run selected handlers without rtnl

2017-08-09 Thread Florian Westphal
David Miller wrote: > From: Florian Westphal > Date: Tue, 8 Aug 2017 18:02:29 +0200 > > > Unfortunately RTNL mutex is a performance issue, e.g. a cpu adding > > an ip address prevents other cpus from seemingly unrelated tasks > > such as dumping tc classifiers. > > It is related if somehow the

[PATCH net-next] geneve: use netlink_ext_ack for error reporting in rtnl operations

2017-08-09 Thread Girish Moodalbail
Add extack error messages for failure paths while creating/modifying geneve devices. Once extack support is added to iproute2, more meaningful and helpful error messages will be displayed making it easy for users to discern what went wrong. Before: === $ ip link add gen1 address 0:1:2:3:4:5:6

[PATCH v11 8/8] PCI: Remove PCI pool macro functions

2017-08-09 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index a75c13673

[PATCH v11 5/8] mlx4: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin Reviewed-by: Leon Romanovsky Acked-by: Doug Ledford Tested-by: Doug Ledford

[PATCH v11 6/8] mlx5: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Doug Ledford Tested-by: Doug Ledford --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 11 +++

[PATCH v11 7/8] wireless: ipw2200: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 13 +++-- 1 file changed, 7 insertions(+), 6 del

[PATCH v11 1/8] block: DAC960: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38 ++ drive

[PATCH v11 3/8] IB/mthca: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin Acked-by: Doug Ledford Tested-by: Doug Ledford --- drivers/infiniband/hw/mt

[PATCH v11 2/8] dmaengine: pch_dma: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/dma/pch_dma.c | 12 ++-- 1 file changed, 6 insertions(+),

[PATCH v11 4/8] net: e100: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12 ++

[PATCH v11 0/8] Replace PCI pool by DMA pool API

2017-08-09 Thread Romain Perier
by the dma pool API and remove the defines. Changes in v11: - Rebased series onto next-20170809 - Removed patches 08-14, these have been merged. Changes in v10: - Rebased series onto next-20170706 - I have fixed and improved patch "scsi: megaraid: Replace PCI pool old API" Changes in v9:

Re: [PATCH 0/3] Fix y2038 issues for security/keys subsystem

2017-08-09 Thread David Howells
The rxrpc patch isn't part of the security/keys subsystem. I'll push it to the network tree. The other two I'll push to James. David

Re: [PATCH 0/3] Fix y2038 issues for security/keys subsystem

2017-08-09 Thread Arnd Bergmann
On Wed, Aug 9, 2017 at 4:51 AM, Baolin Wang wrote: > Since 'time_t', 'timeval' and 'timespec' types are not year 2038 safe on > 32 bits system, this patchset tries to fix this issues for security/keys > subsystem and net/rxrpc subsystem which is connected with security/keys > subsystem. > > Baolin

Re: [PATCH v3 05/11] net: stmmac: dwmac-rk: Add internal phy support

2017-08-09 Thread Corentin Labbe
On Thu, Aug 03, 2017 at 07:06:33PM +0800, Chen-Yu Tsai wrote: > On Thu, Aug 3, 2017 at 1:38 AM, Florian Fainelli wrote: > > On 08/01/2017 11:21 PM, David Wu wrote: > >> To make internal phy work, need to configure the phy_clock, > >> phy cru_reset and related registers. > >> > >> Signed-off-by: Da

RE: [ovs-dev] [PATCH net-next] openvswitch: add NSH support

2017-08-09 Thread Jan Scheurich
Hi all, In OVS 2.8 we support only fixed size NSH MD1 context data for matching and in set/copy_field actions. OVS parses an MD2 NSH header but does not make any TLV headers available to OF. The plan is to add support for matching/manipulating NSH MD2 TLVs through a new infrastructure of generi

Re: [PATCH iproute2 master] examples/bpf: update list of examples

2017-08-09 Thread Daniel Borkmann
On 08/09/2017 05:39 AM, Alexander Alemayhu wrote: Remove deleted examples and add the new map in map example. Signed-off-by: Alexander Alemayhu Acked-by: Daniel Borkmann

Re: [PATCH 3/3] net: rxrpc: Replace time_t type with time64_t type

2017-08-09 Thread Arnd Bergmann
On Wed, Aug 9, 2017 at 4:51 AM, Baolin Wang wrote: > diff --git a/include/keys/rxrpc-type.h b/include/keys/rxrpc-type.h > index 5de0673..76421e2 100644 > --- a/include/keys/rxrpc-type.h > +++ b/include/keys/rxrpc-type.h > @@ -127,4 +127,25 @@ struct rxrpc_key_data_v1 { > #define AFSTOKEN_K5_ADDR

Re: [PATCH] hv_set_ifconfig.sh double check before setting ip

2017-08-09 Thread Eduardo Otubo
On 08/09/2017 06:11 AM, David Miller wrote: From: Eduardo Otubo Date: Tue, 8 Aug 2017 15:53:45 +0200 This patch fixes the behavior of the hv_set_ifconfig script when setting the interface ip. Sometimes the interface has already been configured by network daemon, in this case hv_set_ifconfig c

Re: [PATCH net-next 0/1] netvsc: another VF datapath fix

2017-08-09 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > The following would allow udev a chance at the device. > This would of course work but the approach is a bit hackish and can still fail on a loaded system. Raising the pause interval would be an option, but again, probably not the best one. Let me try to send an RFC

[PATCH] atm: make atmdev_ops const

2017-08-09 Thread Bhumika Goyal
Make these structures const as they are either passed to the function atm_dev_register having the corresponding argument as const or stored in the ops field of a atm_dev structure, which is also const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/atm/adummy.c| 2 +- driver

[PATCH] net: atm: make atmdev_ops const

2017-08-09 Thread Bhumika Goyal
Make these const as they are only stored in the ops field of a atm_dev structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- net/atm/clip.c | 2 +- net/atm/lec.c | 2 +- net/atm/mpc.c | 2 +- net/atm/signaling.c | 2 +- 4 files changed, 4 insertions(

Re: [PATCH 3/3] net: rxrpc: Replace time_t type with time64_t type

2017-08-09 Thread David Howells
Arnd Bergmann wrote: > > @@ -533,8 +536,9 @@ static int rxrpc_preparse_xdr_rxk5(struct > > key_preparsed_payload *prep, > > pptoken = &(*pptoken)->next) > > continue; > > *pptoken = token; > > - if (token->kad->expiry < prep->expiry) > > -

Re: [PATCH v3 05/11] net: stmmac: dwmac-rk: Add internal phy support

2017-08-09 Thread David.Wu
Hello Corentin, Chen-Yu 在 2017/8/9 16:45, Corentin Labbe 写道: On Thu, Aug 03, 2017 at 07:06:33PM +0800, Chen-Yu Tsai wrote: On Thu, Aug 3, 2017 at 1:38 AM, Florian Fainelli wrote: On 08/01/2017 11:21 PM, David Wu wrote: To make internal phy work, need to configure the phy_clock, phy cru_reset

RE: [ovs-dev] [PATCH net-next] openvswitch: add NSH support

2017-08-09 Thread Yang, Yi Y
Hi, Jan I have worked out a patch, will send it quickly for Ben. In addition, I also will send out a patch to change encap_nsh &decap_nsh to push_nsh and pop_nsh. Per comments from all the people, we all agreed to do so :-) diff --git a/datapath/linux/compat/include/linux/openvswitch.h b/data

Re: [PATCH 3/3] net: rxrpc: Replace time_t type with time64_t type

2017-08-09 Thread Arnd Bergmann
On Wed, Aug 9, 2017 at 11:33 AM, David Howells wrote: > Arnd Bergmann wrote: > >> > @@ -533,8 +536,9 @@ static int rxrpc_preparse_xdr_rxk5(struct >> > key_preparsed_payload *prep, >> > pptoken = &(*pptoken)->next) >> > continue; >> > *pptoken = token; >> > -

[PATCH 1/2] net-next: mediatek: fix typos inside the header file

2017-08-09 Thread John Crispin
Trivial patch fixing 2 typos. Signed-off-by: John Crispin --- drivers/net/ethernet/mediatek/mtk_eth_soc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/drivers/net/ethernet/mediatek/mtk_eth_soc.h index 4594862e5a9b..940517a

[PATCH 2/2] net-next: mediatek: bring up QDMA RX ring 0

2017-08-09 Thread John Crispin
This patch is in preparation for adding HW flow and QoS offloading. For those features to work, the driver needs to bring up the first QDMA RX ring. This ring is used by the PPE offloading HW. Signed-off-by: John Crisp in --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 36 +

[PATCH 0/2] net-next: mediatek: bring up QDMA RX ring 0

2017-08-09 Thread John Crispin
The MT7623 has several DMA rings. Inside the SW path, the core will use the PDMA when receiving traffic. While bringing up the HW path we noticed that the PPE requires the QDMA RX to also be brought up as it uses this ring internally for its flow scheduling. John Crispin (2): net-next: mediatek:

[PATCHv2 net] net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target

2017-08-09 Thread Xin Long
Commit 55917a21d0cc ("netfilter: x_tables: add context to know if extension runs from nft_compat") introduced a member nft_compat to xt_tgchk_param structure. But it didn't set it's value for ipt_init_target. With unexpected value in par.nft_compat, it may return unexpected result in some target's

[PATCH net-next 2/9] bpf, x86: implement jiting of BPF_J{LT,LE,SLT,SLE}

2017-08-09 Thread Daniel Borkmann
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions with BPF_X/BPF_K variants for the x86_64 eBPF JIT. Signed-off-by: Daniel Borkmann Acked-by: Alexei Starovoitov --- arch/x86/net/bpf_jit_comp.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/x8

[PATCH net-next 0/9] Add BPF_J{LT,LE,SLT,SLE} instructions

2017-08-09 Thread Daniel Borkmann
This set adds BPF_J{LT,LE,SLT,SLE} instructions to the BPF insn set, interpreter, JIT hardening code and all JITs are also updated to support the new instructions. Basic idea is to reduce register pressure by avoiding BPF_J{GT,GE,SGT,SGE} rewrites. Removing the workaround for the rewrites in LLVM,

[PATCH net-next 5/9] bpf, s390x: implement jiting of BPF_J{LT,LE,SLT,SLE}

2017-08-09 Thread Daniel Borkmann
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions with BPF_X/BPF_K variants for the s390x eBPF JIT. Signed-off-by: Daniel Borkmann Acked-by: Michael Holzheu --- arch/s390/net/bpf_jit_comp.c | 24 1 file changed, 24 insertions(+) diff --git a/arch/s390/ne

[PATCH net-next 9/9] bpf: add test cases for new BPF_J{LT,LE,SLT,SLE} instructions

2017-08-09 Thread Daniel Borkmann
Add test cases to the verifier selftest suite in order to verify that i) direct packet access, and ii) dynamic map value access is working with the changes related to the new instructions. Signed-off-by: Daniel Borkmann Acked-by: Alexei Starovoitov --- tools/testing/selftests/bpf/test_verifier.

[PATCH net-next 6/9] bpf, ppc64: implement jiting of BPF_J{LT,LE,SLT,SLE}

2017-08-09 Thread Daniel Borkmann
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions with BPF_X/BPF_K variants for the ppc64 eBPF JIT. Signed-off-by: Daniel Borkmann Acked-by: Naveen N. Rao Tested-by: Naveen N. Rao --- arch/powerpc/net/bpf_jit.h| 1 + arch/powerpc/net/bpf_jit_comp64.c | 20 ++

[PATCH net-next 8/9] bpf: enable BPF_J{LT,LE,SLT,SLE} opcodes in verifier

2017-08-09 Thread Daniel Borkmann
Enable the newly added jump opcodes, main parts are in two different areas, namely direct packet access and dynamic map value access. For the direct packet access, we now allow for the following two new patterns to match in order to trigger markings with find_good_pkt_pointers(): Variant 1 (access

[PATCH net-next 1/9] bpf: add BPF_J{LT,LE,SLT,SLE} instructions

2017-08-09 Thread Daniel Borkmann
Currently, eBPF only understands BPF_JGT (>), BPF_JGE (>=), BPF_JSGT (s>), BPF_JSGE (s>=) instructions, this means that particularly *JLT/*JLE counterparts involving immediates need to be rewritten from e.g. X < [IMM] by swapping arguments into [IMM] > X, meaning the immediate first is required to

[PATCH net-next 4/9] bpf, sparc64: implement jiting of BPF_J{LT,LE,SLT,SLE}

2017-08-09 Thread Daniel Borkmann
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions with BPF_X/BPF_K variants for the sparc64 eBPF JIT. Signed-off-by: Daniel Borkmann --- arch/sparc/net/bpf_jit_comp_64.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/sparc/net/bpf_jit_

[PATCH net-next 3/9] bpf, arm64: implement jiting of BPF_J{LT,LE,SLT,SLE}

2017-08-09 Thread Daniel Borkmann
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions with BPF_X/BPF_K variants for the arm64 eBPF JIT. Signed-off-by: Daniel Borkmann --- arch/arm64/net/bpf_jit.h | 4 arch/arm64/net/bpf_jit_comp.c | 20 2 files changed, 24 insertions(+) diff --git a/

[PATCH net-next 7/9] bpf, nfp: implement jiting of BPF_J{LT,LE}

2017-08-09 Thread Daniel Borkmann
This work implements jiting of BPF_J{LT,LE} instructions with BPF_X/BPF_K variants for the nfp eBPF JIT. The two BPF_J{SLT,SLE} instructions have not been added yet given BPF_J{SGT,SGE} are not supported yet either. Signed-off-by: Daniel Borkmann Acked-by: Jakub Kicinski --- drivers/net/etherne

[PATCH RFC net-next] net: Allow name change of IFF_UP interfaces

2017-08-09 Thread Vitaly Kuznetsov
Recent 'transparenf VF' changes to netvsc driver made VF interfaces register as netvsc interface slaves upon appearance. This led to udev not being able to rename the interface according to the 'predictable interface names' scheme: kernel: mlx4_core 0002:00:02.0 eth2: joined to eth1 kernel: hv_n

Re: [PATCH net-next v2] wan: dscc4: add checks for dma mapping errors

2017-08-09 Thread Andy Shevchenko
On Tue, Aug 8, 2017 at 10:28 PM, Alexey Khoroshilov wrote: > The driver does not check if mapping dma memory succeed. > The patch adds the checks and failure handling. > > Found by Linux Driver Verification project (linuxtesting.org). Since it is going to be v3, just to mention that IIRC we bette

Payment

2017-08-09 Thread Maria Schaefler
I just made a Donation of 1.7Million Euros to you,reply back for details

[PATCH] ibmvnic: Fix unused variable warning

2017-08-09 Thread Michal Suchanek
Fixes: a248878d7a1d ("ibmvnic: Check for transport event on driver resume") Signed-off-by: Michal Suchanek --- drivers/net/ethernet/ibm/ibmvnic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 99576ba4187f..09c20d

[PATCHv2] igmp: Fix regression caused by igmp sysctl namespace code.

2017-08-09 Thread Nikolay Borisov
Commit dcd87999d415 ("igmp: net: Move igmp namespace init to correct file") moved the igmp sysctls initialization from tcp_sk_init to igmp_net_init. This function is only called as part of per-namespace initialization, only if CONFIG_IP_MULTICAST is defined, otherwise igmp_mc_init() call in ip_init

Re: Driver profiles RFC

2017-08-09 Thread Arkadi Sharshevsky
On 08/08/2017 07:08 PM, Roopa Prabhu wrote: > On Tue, Aug 8, 2017 at 6:15 AM, Arkadi Sharshevsky > wrote: >> Drivers may require driver specific information during the init stage. >> For example, memory based shared resource which should be segmented for >> different ASIC processes, such as FDB

[no subject]

2017-08-09 Thread системы администратор
внимания; Ваши сообщения превысил лимит памяти, который составляет 5 Гб, определенных администратором, который в настоящее время работает на 10.9GB, Вы не сможете отправить или получить новую почту, пока вы повторно не проверить ваш почтовый ящик почты. Чтобы восстановить работоспособность Ваше

[PATCH v4 04/12] net: stmmac: dwmac-rk: Remove unwanted code for rk3328_set_to_rmii()

2017-08-09 Thread David Wu
This is wrong setting for rk3328_set_to_rmii(), so remove it. Signed-off-by: David Wu --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index f0

[PATCH v4 00/12] Add the internal phy support

2017-08-09 Thread David Wu
The rk3228 and rk3328 support internal phy inside, let's enable it to work. And the internal phy need to do some special setting, so register the rockchip internal phy driver. David Wu (12): net: phy: Add rockchip phy driver support multi_v7_defconfig: Make rockchip phy built-in arm64: defco

[PATCH v4 03/12] arm64: defconfig: Enable CONFIG_ROCKCHIP_PHY

2017-08-09 Thread David Wu
Make the rockchip phy driver built into the kernel. Signed-off-by: David Wu --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6c7d147..925bd478 100644 --- a/arch/arm64/configs/defconfig +++ b/arc

[PATCH net-next] skbuff: Add BUG_ON in skb_init.

2017-08-09 Thread Tonghao Zhang
When initializing the skbuff SLAB cache, we should make sure it is successful. Adding BUG_ON to check it and init_inodecache() is in the same case. Signed-off-by: Tonghao Zhang --- net/core/skbuff.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index

[PATCH net-next] net: skb_needs_check() removes CHECKSUM_NONE check for tx.

2017-08-09 Thread Tonghao Zhang
This patch reverts the commit 6e7bc478c9a0 ("net: skb_needs_check() accepts CHECKSUM_NONE for tx"), because we removed the UFO support. Cc: Eric Dumazet Cc: Willem de Bruijn Signed-off-by: Tonghao Zhang --- net/core/dev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ne

[PATCH v4 02/12] multi_v7_defconfig: Make rockchip phy built-in

2017-08-09 Thread David Wu
Enable the rockchip phy for multi_v7_defconfig builds. Signed-off-by: David Wu --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 4d19c1b..94d7e71 100644 --- a/arch/arm/confi

[PATCH v4 01/12] net: phy: Add rockchip phy driver support

2017-08-09 Thread David Wu
Support internal ethernet phy currently. Signed-off-by: David Wu --- changes in v4: - Remove SUPPORTED_[Asym_]Pause flag - Some minor fix like defines drivers/net/phy/Kconfig| 5 + drivers/net/phy/Makefile | 1 + drivers/net/phy/rockchip.c | 233 +

[PATCH v4 05/12] Documentation: net: phy: Add phy-is-internal binding

2017-08-09 Thread David Wu
Add the documentation for internal phy. A boolean property indicates that a internal phy will be used. Signed-off-by: David Wu --- Documentation/devicetree/bindings/net/phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/phy.txt b/Documentation/d

[PATCH v4 06/12] net: stmmac: dwmac-rk: Add internal phy support

2017-08-09 Thread David Wu
To make internal phy work, need to configure the phy_clock, phy cru_reset and related registers. Signed-off-by: David Wu --- change in v4: - PHY is internal or not base on the phy-is-internal property via phy node. .../devicetree/bindings/net/rockchip-dwmac.txt | 4 +- drivers/net/etherne

Re: [PATCH] net: Reduce skb_warn_bad_offload() noise.

2017-08-09 Thread Tonghao Zhang
Thanks, I send a patch, which will revert commit 6e7bc478c9a0 in net-next. On Wed, Aug 9, 2017 at 1:46 AM, Willem de Bruijn wrote: >>> @@ -2670,6 +2670,7 @@ static inline bool skb_needs_check(struct >>> sk_buff *skb, bool tx_path) >>> { >>> if (tx_path) >>> return skb->ip

[PATCH v4 07/12] net: stmmac: dwmac-rk: Add internal phy support for rk3228

2017-08-09 Thread David Wu
There is only one mac controller in rk3228, which could connect to external phy or internal phy, use the grf_com_mux bit15 to route external/internal phy. Signed-off-by: David Wu --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 12 1 file changed, 12 insertions(+) diff --git a/

[PATCH v4 08/12] net: stmmac: dwmac-rk: Add internal phy supprot for rk3328

2017-08-09 Thread David Wu
There are two mac controllers in the rk3328, the one connects to external phy, and the other one connects to internal phy. Like the mac of external phy, the internal phy's mac also needs to configure the related mac registers at GRF. Signed-off-by: David Wu --- drivers/net/ethernet/stmicro/stmma

[PATCH v4 09/12] ARM: dts: rk322x: Add support internal phy for gmac

2017-08-09 Thread David Wu
This patch adds internal mac phy clock and internal mac phy reset for rk gmac using. Signed-off-by: David Wu --- arch/arm/boot/dts/rk322x.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index f3e4ffd..

[PATCH v4 10/12] ARM: dts: rk3228-evb: Enable the internal phy for gmac

2017-08-09 Thread David Wu
This patch enables the internal phy for rk3228 evb board by default. To use the external 1000M phy on evb board, need to make some switch of evb board to be on. Signed-off-by: David Wu --- arch/arm/boot/dts/rk3228-evb.dts | 32 1 file changed, 32 insertions(+) d

[PATCH v4 11/12] ARM64: dts: rockchip: Add gmac2phy node support for rk3328

2017-08-09 Thread David Wu
The gmac2phy controller of rk3328 is connected to internal phy directly inside, add the node for the internal phy support. Signed-off-by: David Wu --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 37 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dt

[PATCH v4 12/12] ARM64: dts: rockchip: Enable gmac2phy for rk3328-evb

2017-08-09 Thread David Wu
Enable the gmac2phy, make the gmac2phy work on the rk3328-evb board. Signed-off-by: David Wu --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-e

Re: [PATCH v9 1/4] PCI: Add new PCIe Fabric End Node flag, PCI_DEV_FLAGS_NO_RELAXED_ORDERING

2017-08-09 Thread Ding Tianhong
On 2017/8/9 11:02, Bjorn Helgaas wrote: > On Wed, Aug 09, 2017 at 01:40:01AM +, Casey Leedom wrote: >> | From: Bjorn Helgaas >> | Sent: Tuesday, August 8, 2017 4:22 PM >> | >> | This needs to include a link to the Intel spec >> | >> (https://software.intel.com/sites/default/files/managed/9

Re: [PATCH RFC net-next] net: Allow name change of IFF_UP interfaces

2017-08-09 Thread 吉藤英明
2017-08-09 19:42 GMT+09:00 Vitaly Kuznetsov : > What happens is: __netvsc_vf_setup() does dev_open() for the VF device and > the consecutive dev_change_name() fails with -EBUSY because of the > (dev->flags & IFF_UP) check. The history of this code predates git so I > wasn't able to figure out when

[patch net-next 0/5] net: sched: let the offloader decide what to offload

2017-08-09 Thread Jiri Pirko
From: Jiri Pirko Currently there is a Qdisc_class_ops->tcf_cl_offload callback that is called to find out if cls would offload rule or not. This is only supported by sch_ingress and sch_clsact. So the Qdisc are to decide. However, the driver knows what is he able to offload, so move the decision

[patch net-next 1/5] net: sched: Add helpers to identify classids

2017-08-09 Thread Jiri Pirko
From: Jiri Pirko Offloading drivers need to understand what qdisc class a filter is added to. Currently they only need to identify ingress, clsact->ingress and clsact->egress. So provide these helpers. Signed-off-by: Jiri Pirko --- include/net/pkt_sched.h | 14 ++ 1 file changed, 1

[patch net-next 5/5] net: sched: remove cops->tcf_cl_offload

2017-08-09 Thread Jiri Pirko
From: Jiri Pirko cops->tcf_cl_offload is no longer needed, as the drivers check what they can and cannot offload using the classid identify helpers. So remove this. Signed-off-by: Jiri Pirko --- include/net/pkt_cls.h | 14 +++--- include/net/sch_generic.h | 1 - net/sched/cls_bpf.

[patch net-next 3/5] net: sched: use newly added classid identity helpers

2017-08-09 Thread Jiri Pirko
From: Jiri Pirko Instead of checking handle, which does not have the inner class information and drivers wrongly assume clsact->egress as ingress, use the newly introduced classid identification helpers. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +-

[patch net-next 4/5] net: sched: remove handle propagation down to the drivers

2017-08-09 Thread Jiri Pirko
From: Jiri Pirko There is no longer need to use handle in drivers, so remove it from tc_cls_common_offload struct. Signed-off-by: Jiri Pirko --- include/net/pkt_cls.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 1f1de20..bd9dd79 10064

[patch net-next 2/5] net: sched: propagate classid down to offload drivers

2017-08-09 Thread Jiri Pirko
From: Jiri Pirko Drivers need classid to decide they support this specific qdisc+class or not. So propagate it down via the tc_cls_common_offload struct. Signed-off-by: Jiri Pirko --- include/net/pkt_cls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/net/pkt_cls.h b/include/ne

Re: [PATCH v06 15/36] uapi linux/socket.h: include sys/socket.h in user space

2017-08-09 Thread Arnd Bergmann
On Wed, Aug 9, 2017 at 1:00 AM, Dmitry V. Levin wrote: > On Sun, Aug 06, 2017 at 06:44:06PM +0200, Mikko Rapeli wrote: >> This libc header has sockaddr definition in user space. >> >> Fixes user space compilation errors like these from kernel headers including >> only linux/socket.h: >> >> error:

Re: [PATCH v9 2/4] PCI: Disable PCIe Relaxed Ordering if unsupported

2017-08-09 Thread Casey Leedom
| From: Bjorn Helgaas | Sent: Tuesday, August 8, 2017 7:22 PM | ... | and the caller should do something like this: | | if (pcie_relaxed_ordering_broken(pci_find_pcie_root_port(pdev))) | adapter->flags |= ROOT_NO_RELAXED_ORDERING; | | That way it's obvious where the issue is, and it'

Re: Qdisc->u32_node - licence to kill

2017-08-09 Thread Jamal Hadi Salim
On 17-08-07 07:21 PM, Cong Wang wrote: On Mon, Aug 7, 2017 at 12:54 PM, John Fastabend wrote: On 08/07/2017 12:06 PM, Jiri Pirko wrote: Mon, Aug 07, 2017 at 07:47:14PM CEST, john.fastab...@gmail.com wrote: On 08/07/2017 09:41 AM, Jiri Pirko wrote: Hi Jamal/Cong/David/all. = Not correct.

[PATCH 2/4] net-next: dsa: add flow_dissect callback to struct dsa_device_ops

2017-08-09 Thread John Crispin
When the flow dissector first sees packets coming in on a DSA devices the 802.3 header wont be located where the code expects it to be as the tag is still present. Adding this new callback allows a DSA device to provide a new function that the flow_dissector can use to get the correct protocol and

[PATCH 3/4] net-next: tag_mtk: add flow_dissect callback to the ops struct

2017-08-09 Thread John Crispin
The MT7530 inserts the 4 magic header in between the 802.3 address and protocol field. The patch implements the callback that can be called by the flow dissector to figure out the real protocol and offset of the network header. With this patch applied we can properly parse the packet and thus make

[PATCH 0/4] net-next: dsa: fix flow dissection

2017-08-09 Thread John Crispin
RPS and probably other kernel features are currently broken on some if not all DSA devices. The root cause of this is that skb_hash will call the flow_dissector. At this point the skb still contains the magic switch header and the skb->protocol field is not set up to the correct 802.3 value yet. By

[PATCH 4/4] net-next: dsa: fix flow dissection

2017-08-09 Thread John Crispin
RPS and probably other kernel features are currently broken on some if not all DSA devices. The root cause of this is that skb_hash will call the flow_dissector. At this point the skb still contains the magic switch header and the skb->protocol field is not set up to the correct 802.3 value yet. By

[PATCH 1/4] net-next: dsa: move struct dsa_device_ops to the global header file

2017-08-09 Thread John Crispin
We need to access this struct from within the flow_dissector to fix dissection for packets coming in on DSA devices. Signed-off-by: Muciri Gatimu Signed-off-by: Shashidhar Lakkavalli Signed-off-by: John Crispin --- include/net/dsa.h | 7 +++ net/dsa/dsa_priv.h | 7 --- 2 files changed

Re: Qdisc->u32_node - licence to kill

2017-08-09 Thread Jiri Pirko
Wed, Aug 09, 2017 at 02:40:30PM CEST, j...@mojatatu.com wrote: >On 17-08-07 07:21 PM, Cong Wang wrote: >> On Mon, Aug 7, 2017 at 12:54 PM, John Fastabend >> wrote: >> > On 08/07/2017 12:06 PM, Jiri Pirko wrote: >> > > Mon, Aug 07, 2017 at 07:47:14PM CEST, john.fastab...@gmail.com wrote: >> > > > O

[PATCH iproute2 net-next 0/3] Add support for SRv6 local segment processing

2017-08-09 Thread David Lebrun
This patch series adds support and documentation for the seg6local lightweight tunnel, enabling to perform operations to SR-enabled packets based on their active segment. Signed-off-by: David Lebrun David Lebrun (3): iproute: add helper functions for SRH processing iproute: add support for S

[PATCH iproute2 net-next 3/3] man: add documentation for seg6local lwt

2017-08-09 Thread David Lebrun
This patch adds documentation in the ip-route man page about the seg6local lightweight tunnel. Signed-off-by: David Lebrun --- man/man8/ip-route.8.in | 62 +- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/man/man8/ip-route.8.in b/ma

[PATCH iproute2 net-next 2/3] iproute: add support for SRv6 local segment processing

2017-08-09 Thread David Lebrun
This patch adds support for the seg6local lightweight tunnel ("ip route add ... encap seg6local ..."). Signed-off-by: David Lebrun --- ip/iproute.c | 2 +- ip/iproute_lwtunnel.c | 238 ++ 2 files changed, 239 insertions(+), 1 deletion(-)

[PATCH iproute2 net-next 1/3] iproute: add helper functions for SRH processing

2017-08-09 Thread David Lebrun
This patch adds two helper functions to print and parse Segment Routing Headers. Signed-off-by: David Lebrun --- ip/iproute_lwtunnel.c | 124 +- 1 file changed, 72 insertions(+), 52 deletions(-) diff --git a/ip/iproute_lwtunnel.c b/ip/iproute_lwtu

Re: [PATCH 3/3] net: rxrpc: Replace time_t type with time64_t type

2017-08-09 Thread David Howells
Arnd Bergmann wrote: > Do you know which format is used in practice? Are both kad and k5 common > among rxrpc users? The aklog program I'm using uses the non-XDR interface to push a Kerberos 5 ticket to the kernel, so it doesn't actually invoke rxrpc_preparse_xdr() from rxrpc_preparse(). David

Re: [PATCH v9 2/4] PCI: Disable PCIe Relaxed Ordering if unsupported

2017-08-09 Thread Ding Tianhong
Hi Bjorn: On 2017/8/9 10:22, Bjorn Helgaas wrote: > On Sat, Aug 05, 2017 at 03:15:11PM +0800, Ding Tianhong wrote: >> When bit4 is set in the PCIe Device Control register, it indicates >> whether the device is permitted to use relaxed ordering. >> On some platforms using relaxed ordering can have

Re: [PATCH v9 2/4] PCI: Disable PCIe Relaxed Ordering if unsupported

2017-08-09 Thread Ding Tianhong
On 2017/8/9 11:25, Bjorn Helgaas wrote: > On Tue, Aug 08, 2017 at 09:22:39PM -0500, Bjorn Helgaas wrote: >> On Sat, Aug 05, 2017 at 03:15:11PM +0800, Ding Tianhong wrote: >>> When bit4 is set in the PCIe Device Control register, it indicates > After looking at the driver, I wonder if it would be s

Re: [PATCH 1/4] net-next: dsa: move struct dsa_device_ops to the global header file

2017-08-09 Thread Andrew Lunn
On Wed, Aug 09, 2017 at 02:41:16PM +0200, John Crispin wrote: > We need to access this struct from within the flow_dissector to fix > dissection for packets coming in on DSA devices. > > Signed-off-by: Muciri Gatimu > Signed-off-by: Shashidhar Lakkavalli > Signed-off-by: John Crispin Hi John

Re: [PATCH 2/4] net-next: dsa: add flow_dissect callback to struct dsa_device_ops

2017-08-09 Thread Andrew Lunn
On Wed, Aug 09, 2017 at 02:41:17PM +0200, John Crispin wrote: > When the flow dissector first sees packets coming in on a DSA devices the > 802.3 header wont be located where the code expects it to be as the tag > is still present. Adding this new callback allows a DSA device to provide a > new fun

Re: [PATCH 3/4] net-next: tag_mtk: add flow_dissect callback to the ops struct

2017-08-09 Thread Andrew Lunn
On Wed, Aug 09, 2017 at 02:41:18PM +0200, John Crispin wrote: > The MT7530 inserts the 4 magic header in between the 802.3 address and > protocol field. The patch implements the callback that can be called by > the flow dissector to figure out the real protocol and offset of the > network header. W

Re: [PATCH 4/4] net-next: dsa: fix flow dissection

2017-08-09 Thread Andrew Lunn
On Wed, Aug 09, 2017 at 02:41:19PM +0200, John Crispin wrote: > RPS and probably other kernel features are currently broken on some if not > all DSA devices. The root cause of this is that skb_hash will call the > flow_dissector. At this point the skb still contains the magic switch > header and th

Re: [PATCH v2 iproute2] lib: Dump ext-ack string by default

2017-08-09 Thread David Ahern
On 8/9/17 1:38 AM, Girish Moodalbail wrote: >> @@ -99,7 +95,16 @@ static int nl_dump_ext_err(const struct nlmsghdr >> *nlh, nl_ext_ack_fn_t errfn) >> err_nlh = &err->msg; >> } >> -return errfn(errmsg, off, err_nlh); >> +if (errfn) >> +return errfn(errmsg, off,

[no subject]

2017-08-09 Thread Administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de corre

ICT DEPARTMENT

2017-08-09 Thread Napoleon, Sarah C (NAPOLSC17)
Your password Will Expire In The Next TWO HOURS Current Mail User Should Please Log On To IT-WEBSITE To Validate Your E-mail Address And Password. CONFIDENTIALITY NOTICE: The materials in this electronic mail transmission (including all attachments) are private and confi

Re: [PATCH] net: dsa: make dsa_switch_ops const

2017-08-09 Thread Vivien Didelot
Bhumika Goyal writes: > Make these structures const as they are only stored in the ops field of > a dsa_switch structure, which is const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Reviewed-by: Vivien Didelot

RE: CONTACT ME VIA::haroldia...@hotmail.com

2017-08-09 Thread Napoleon, Sarah C (NAPOLSC17)
From: Napoleon, Sarah C (NAPOLSC17) Sent: Wednesday, August 09, 2017 10:35 AM Subject: CONTACT ME VIA::haroldia...@hotmail.com A Private donation has be made to You contact ( haroldia...@hotmail.com) for Claim CONFIDENTIALITY NOTICE: The materials in this elect

  1   2   3   4   >