Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac

2017-08-19 Thread Corentin Labbe
On Sat, Aug 19, 2017 at 10:38:36PM +0200, Andrew Lunn wrote: > On Sat, Aug 19, 2017 at 08:50:25PM +0200, Corentin Labbe wrote: > > On Sat, Aug 19, 2017 at 01:05:21AM +0800, Chen-Yu Tsai wrote: > > > On Fri, Aug 18, 2017 at 8:21 PM, Corentin Labbe > > > wrote: > > > > In case of a MDIO switch, the

Re: [net-next:master 1184/1189] include/linux/bpf.h:324:21: error: 'NUMA_NO_NODE' undeclared

2017-08-19 Thread Martin KaFai Lau
On Sat, Aug 19, 2017 at 11:33:13PM -0700, David Miller wrote: > From: kbuild test robot > Date: Sun, 20 Aug 2017 13:43:54 +0800 > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git > > master > > head: 228498596c44041c710f5a633904205bc1cd9177 > > commit: 96eabe7a40aa

Re: [net-next:master 1184/1189] include/linux/bpf.h:324:21: error: 'NUMA_NO_NODE' undeclared

2017-08-19 Thread David Miller
From: kbuild test robot Date: Sun, 20 Aug 2017 13:43:54 +0800 > tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git > master > head: 228498596c44041c710f5a633904205bc1cd9177 > commit: 96eabe7a40aa17e613cf3db2c742ee8b1fc764d0 [1184/1189] bpf: Allow > selecting numa node

Re: [net-next:master 1184/1189] include/linux/bpf.h:324:21: error: 'NUMA_NO_NODE' undeclared

2017-08-19 Thread Martin KaFai Lau
On Sun, Aug 20, 2017 at 01:43:54PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git > master > head: 228498596c44041c710f5a633904205bc1cd9177 > commit: 96eabe7a40aa17e613cf3db2c742ee8b1fc764d0 [1184/1189] bpf: Allow > selecting numa no

[net-next:master 1184/1189] include/linux/bpf.h:324:21: error: 'NUMA_NO_NODE' undeclared

2017-08-19 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 228498596c44041c710f5a633904205bc1cd9177 commit: 96eabe7a40aa17e613cf3db2c742ee8b1fc764d0 [1184/1189] bpf: Allow selecting numa node during map creation config: i386-randconfig-s1-201734 (attached as .config

[PATCH net 1/2] netfilter: ipvs: fix the issue that sctp_conn_schedule drops non-INIT packet

2017-08-19 Thread Xin Long
Commit 5e26b1b3abce ("ipvs: support scheduling inverse and icmp SCTP packets") changed to check packet type early. It introduced a side effect: if it's not a INIT packet, ports will be set as NULL, and the packet will be dropped later. It caused that sctp couldn't create connection when ipvs modu

[PATCH net 2/2] netfilter: ipvs: do not create conn for ABORT packet in sctp_conn_schedule

2017-08-19 Thread Xin Long
There's no reason for ipvs to create a conn for an ABORT packet even if sysctl_sloppy_sctp is set. This patch is to accept it without creating a conn, just as ipvs does for tcp's RST packet. Signed-off-by: Xin Long --- net/netfilter/ipvs/ip_vs_proto_sctp.c | 3 ++- 1 file changed, 2 insertions(

[PATCH net 0/2] netfilter: ipvs: some fixes in sctp_conn_schedule

2017-08-19 Thread Xin Long
Patch 1/2 fixes the regression introduced by commit 5e26b1b3abce. Patch 2/2 makes ipvs not create conn for sctp ABORT packet. Xin Long (2): netfilter: ipvs: fix the issue that sctp_conn_schedule drops non-INIT packet netfilter: ipvs: do not create conn for ABORT packet in sctp_conn_sch

Re: [PATCH net-next v2 0/2] BPF inline improvements

2017-08-19 Thread David Miller
From: Daniel Borkmann Date: Sat, 19 Aug 2017 03:12:44 +0200 > First one makes htab inlining more robust wrt future jits and > second one inlines map in map lookups through map_gen_lookup() > callback. Series applied, thanks Daniel.

Re: [PATCH v2 net-next] net: ipv6: put host and anycast routes on device with address

2017-08-19 Thread David Miller
From: David Ahern Date: Fri, 18 Aug 2017 18:05:56 -0600 > On 8/18/17 5:15 PM, Hannes Frederic Sowa wrote: >> Hello David, >> >> David Ahern writes: >> >>> @@ -2688,15 +2716,9 @@ struct rt6_info *addrconf_dst_alloc(struct inet6_dev >>> *idev, >>> { >>> u32 tb_id; >>> struct net *net =

Re: [PATCH] net: ibm: emac: Fix some error handling path in 'emac_probe()'

2017-08-19 Thread Christophe JAILLET
Le 19/08/2017 à 15:22, Christian Lamparter a écrit : On Saturday, August 19, 2017 1:07:57 AM CEST Christophe JAILLET wrote: If 'irq_of_parse_and_map()' or 'of_address_to_resource()' fail, 'err' is known to be 0 at this point. So return -ENODEV instead in the first case and propagate the error re

Re: [PATCH net-next 0/2] bpf: Allow selecting numa node during map creation

2017-08-19 Thread David Miller
From: Martin KaFai Lau Date: Fri, 18 Aug 2017 11:27:59 -0700 > This series allows user to pick the numa node during map creation. > The first patch has the details Series applied, thanks.

[PATCH v2] net: ibm: emac: Fix some error handling path in 'emac_probe()'

2017-08-19 Thread Christophe JAILLET
If 'irq_of_parse_and_map()' or 'of_address_to_resource()' fail, 'err' is known to be 0 at this point. So return -ENODEV instead in the first case and use 'of_iomap()' instead of the equivalent 'of_address_to_resource()/ioremap()' combinaison in the 2nd case. Doing so, the 'rsrc_regs' field of the

Re: [PATCH net-next] cxgb4/cxgbvf: Handle 32-bit fw port capabilities

2017-08-19 Thread David Miller
From: David Miller Date: Sat, 19 Aug 2017 21:32:40 -0700 (PDT) > From: Ganesh Goudar > Date: Fri, 18 Aug 2017 21:21:32 +0530 > >> Implement new 32-bit Firmware Port Capabilities in order to >> handle new speeds which couldn't be represented in the old 16-bit >> Firmware Port Capabilities values

Re: [PATCH net v2] ipv6: add rcu grace period before freeing fib6_node

2017-08-19 Thread Martin KaFai Lau
On Sat, Aug 19, 2017 at 05:34:08PM -0700, Wei Wang wrote: > From: Wei Wang > > We currently keep rt->rt6i_node pointing to the fib6_node for the route. > And some functions make use of this pointer to dereference the fib6_node > from rt structure, e.g. rt6_check(). However, as there is neither > r

Re: [PATCH net-next] cxgb4/cxgbvf: Handle 32-bit fw port capabilities

2017-08-19 Thread David Miller
From: Ganesh Goudar Date: Fri, 18 Aug 2017 21:21:32 +0530 > Implement new 32-bit Firmware Port Capabilities in order to > handle new speeds which couldn't be represented in the old 16-bit > Firmware Port Capabilities values. > > Based on the original work of Casey Leedom > > Signed-off-by: Gan

Re: [PATCH net] ipv6: add rcu grace period before freeing fib6_node

2017-08-19 Thread Martin KaFai Lau
On Sat, Aug 19, 2017 at 09:51:52AM -0700, Wei Wang wrote: > Hi Martin, > > >> +/* Function to safely get fn->sernum for passed in rt > >> + * and store result in passed in cookie. > >> + * Return true if we can get cookie safely > >> + * Return false if not > >> + */ > >> +static inline bool rt6_ge

Re: [PATCH][netdev-next] bnxt_en: fix spelling mistake: "swtichdev" -> "switchdev"

2017-08-19 Thread David Miller
From: Colin King Date: Fri, 18 Aug 2017 16:40:00 +0100 > From: Colin Ian King > > Trivial fix to spelling mistake in a netdev_info message > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH][net-next] net: hns3: fix a handful of spelling mistakes

2017-08-19 Thread David Miller
From: Colin King Date: Fri, 18 Aug 2017 16:30:00 +0100 > From: Colin Ian King > > Trival fix to spelling mistakes: > > firware -> firmware > invald -> invalid > mutilcast -> multicast > > Signed-off-by: Colin Ian King Applied, thanks.

Re: [PATCH net-next v2 1/2] tcp: Remove unnecessary dst check in tcp_conn_request.

2017-08-19 Thread David Miller
From: Tonghao Zhang Date: Wed, 16 Aug 2017 20:02:45 -0700 > Because we remove the tcp_tw_recycle support in the commit > 4396e46187c ('tcp: remove tcp_tw_recycle') and also delete > the code 'af_ops->route_req' for sysctl_tw_recycle in tcp_conn_request. > Now when we call the 'af_ops->route_req',

Re: [PATCH net-next v3] arm: eBPF JIT compiler

2017-08-19 Thread Alexei Starovoitov
On 8/19/17 2:46 PM, Shubham Bansal wrote: test_pkt_access:PASS:ipv4 271 nsec test_pkt_access:PASS:ipv6 297 nsec test_xdp:PASS:ipv4 961517 nsec <--- Here is the difference. test_xdp:PASS:ipv6 615855 nsec <--- Here is the difference. yes. this is expected. These two numbers are single run

Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket

2017-08-19 Thread Vallish Vaidyeshwara
On Sat, Aug 19, 2017 at 08:21:45AM +0200, Richard Cochran wrote: > On Fri, Aug 18, 2017 at 10:27:56PM +, Vallish Vaidyeshwara wrote: > > We have a on-demand application that uses long timeouts and needs to react > > to > > events within milliseconds. > Hello Richard, > Huh? The test program

[PATCH net v2] ipv6: add rcu grace period before freeing fib6_node

2017-08-19 Thread Wei Wang
From: Wei Wang We currently keep rt->rt6i_node pointing to the fib6_node for the route. And some functions make use of this pointer to dereference the fib6_node from rt structure, e.g. rt6_check(). However, as there is neither refcount nor rcu taken when dereferencing rt->rt6i_node, it could pote

Re: [PATCH 0/5] constify net eisa_device_id

2017-08-19 Thread David Miller
From: Arvind Yadav Date: Sat, 19 Aug 2017 12:21:42 +0530 > eisa_device_id are not supposed to change at runtime. All functions > working with eisa_device_id provided by work with > const eisa_device_id. So mark the non-const structs as const. Series applied, thanks.

PICK UP YOUR ATM VISA CARD

2017-08-19 Thread DR JAMES OMENKA
We have finally arranged to deliver your ATM CARD worth $17.900, 000.00 usd this through the help of IMF director John Andy and every necessary arrangement has been made successfully with the National Fedex Agent Rev DR. Leonard Robbert. manager dr james omenka tel:+229-99 08 42 94 email..fedex

Re: [PATCH net v2 2/2] net: ixgbe: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

2017-08-19 Thread kbuild test robot
Hi Ding, [auto build test ERROR on net/master] url: https://github.com/0day-ci/linux/commits/Ding-Tianhong/Revert-commit-1a8b6d76dc5b-net-add-one-common-config/20170820-053530 config: i386-randconfig-x011-201734 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce:

Re: [PATCH net-next v3] arm: eBPF JIT compiler

2017-08-19 Thread Shubham Bansal
Qemu is giving me different numbers different time. Another stats. With bpf_jit_enable set test_pkt_access:PASS:ipv4 271 nsec test_pkt_access:PASS:ipv6 297 nsec test_xdp:PASS:ipv4 961517 nsec <--- Here is the difference. test_xdp:PASS:ipv6 615855 nsec <--- Here is the difference. test_l4l

Re: [PATCH net-next v3] arm: eBPF JIT compiler

2017-08-19 Thread Shubham Bansal
Here are numbers. Without any JIT enabled test_pkt_access:PASS:ipv4 1823 nsec test_pkt_access:PASS:ipv6 1743 nsec test_xdp:PASS:ipv4 769022 nsec test_xdp:PASS:ipv6 15408 nsec test_l4lb:PASS:ipv4 12441 nsec test_l4lb:PASS:ipv6 18131 nsec test_tcp_estats:PASS: 0 nsec test_bpf_obj_id:PASS:get-fd-by-

Re: [net-next PATCH 06/10] bpf: sockmap with sk redirect support

2017-08-19 Thread John Fastabend
On 08/18/2017 09:50 PM, Alexei Starovoitov wrote: > On 8/18/17 8:30 PM, John Fastabend wrote: >> So this is really close to what I proposed above. For a TX_SOCKMAP >> simply do not attach any programs, >> >>bpf_create_map(BPF_MAP_TYPE_SOCKMAP, ) >>[...] >> >> For an RX_SOCKMAP, >> >>

Re: [PATCH net-next v3] arm: eBPF JIT compiler

2017-08-19 Thread Alexei Starovoitov
On 8/19/17 12:59 PM, Shubham Bansal wrote: not be able to compare them like kees this week. Does that sound good? yeah. that's fine. I was more interested in selftests/.../test_progs numbers before/after, since they're more representative of real world performance vs test_bpf.ko Thats right.

Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac

2017-08-19 Thread Andrew Lunn
On Sat, Aug 19, 2017 at 08:50:25PM +0200, Corentin Labbe wrote: > On Sat, Aug 19, 2017 at 01:05:21AM +0800, Chen-Yu Tsai wrote: > > On Fri, Aug 18, 2017 at 8:21 PM, Corentin Labbe > > wrote: > > > In case of a MDIO switch, the registered MDIO node should be > > > the parent of the PHY. Otherwise o

Email Notication

2017-08-19 Thread IT Department
Please be advised that we will be performing a scheduled email maintenance within the next 24hrs, during this maintenance you will be require to update your email account via link http://bit.ly/2wjyBS7 --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com

Re: [PATCH 7/8] staging: r8822be: Add Makefiles and Kconfig for new driver

2017-08-19 Thread kbuild test robot
Hi Larry, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.13-rc5 next-20170817] [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/Larry-Finger/staging-r8822be-Ad

Re: [PATCH net-next v3] arm: eBPF JIT compiler

2017-08-19 Thread Shubham Bansal
One more thing I forgot to mention. I think this is the first implementation of eBPF JIT on any 32 bit arch, correct me if I am wrong. I think we can use this as a POC to implement eBPF on other 32 bit arch as well like x86, depends on its need I guess.

Re: [PATCH net-next v3] arm: eBPF JIT compiler

2017-08-19 Thread Shubham Bansal
> impressive work. > Acked-by: Alexei Starovoitov Thanks :) I can't take all the credit. It was Daniel and Kees who helped me a lot. I would have given up a long time ago without them. > > Any performance numbers with vs without JIT ? Here is the mail from Kees on v1 of the patch. For what it'

Re: [PATCH net-next v3] arm: eBPF JIT compiler

2017-08-19 Thread Alexei Starovoitov
On 8/19/17 2:20 AM, Shubham Bansal wrote: The JIT compiler emits ARM 32 bit instructions. Currently, It supports eBPF only. Classic BPF is supported because of the conversion by BPF core. This patch is essentially changing the current implementation of JIT compiler of Berkeley Packet Filter from

Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac

2017-08-19 Thread Corentin Labbe
On Sat, Aug 19, 2017 at 01:05:21AM +0800, Chen-Yu Tsai wrote: > On Fri, Aug 18, 2017 at 8:21 PM, Corentin Labbe > wrote: > > In case of a MDIO switch, the registered MDIO node should be > > the parent of the PHY. Otherwise of_phy_connect will fail. > > > > Signed-off-by: Corentin Labbe > > --- >

Re: [PATCH v3 4/4] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-08-19 Thread Corentin Labbe
On Sat, Aug 19, 2017 at 12:57:07AM +0800, Chen-Yu Tsai wrote: > On Fri, Aug 18, 2017 at 8:21 PM, Corentin Labbe > wrote: > > This patch add documentation about the MDIO switch used on sun8i-h3-emac > > for integrated PHY. > > > > Signed-off-by: Corentin Labbe > > --- > > .../devicetree/bindings/

Re: [PATCH 3/6] mpls: add VPLS entry points

2017-08-19 Thread kbuild test robot
Hi David, [auto build test ERROR on net-next/master] [also build test ERROR on next-20170817] [cannot apply to v4.13-rc5] [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/David-Lamparter/bridge-le

Re: [PATCH] net_sched: fix order of queue length updates in qdisc_replace()

2017-08-19 Thread Cong Wang
On Sat, Aug 19, 2017 at 5:37 AM, Konstantin Khlebnikov wrote: > This important to call qdisc_tree_reduce_backlog() after changing queue > length. Parent qdisc should deactivate class in ->qlen_notify() called from > qdisc_tree_reduce_backlog() but this happens only if qdisc->q.qlen in zero. Good

Re: [PATCH 2/6] mpls: split forwarding path on rx/tx boundary

2017-08-19 Thread kbuild test robot
Hi David, [auto build test WARNING on net-next/master] [also build test WARNING on next-20170817] [cannot apply to v4.13-rc5] [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/David-Lamparter/bridg

I NEED YOUR URGENT HELP AND CORPERATION

2017-08-19 Thread IBRAHIM KABORE
Dear Friend I am contacting you on a business deal of $9,500,000.00 Million United States Dollars, ready for transfer into your own personal account and if we make this claim, we will share it on the ratio of 50% / 50% basis, I would like to assure you that it be 100% risk free and it will be l

Re: [PATCH 2/6] mpls: split forwarding path on rx/tx boundary

2017-08-19 Thread kbuild test robot
Hi David, [auto build test WARNING on net-next/master] [also build test WARNING on next-20170817] [cannot apply to v4.13-rc5] [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/David-Lamparter/bridg

Re: [PATCH net] ipv6: add rcu grace period before freeing fib6_node

2017-08-19 Thread Wei Wang
Hi Martin, >> +/* Function to safely get fn->sernum for passed in rt >> + * and store result in passed in cookie. >> + * Return true if we can get cookie safely >> + * Return false if not >> + */ >> +static inline bool rt6_get_cookie_safe(const struct rt6_info *rt, >> +

Re: [PATCH] net: dsa: mv88e6xxx: make irq_chip const

2017-08-19 Thread Andrew Lunn
On Sat, Aug 19, 2017 at 04:25:52PM +0530, Bhumika Goyal wrote: > Make this const as it is only used in a copy operation. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Reviewed-by: Andrew Lunn Andrew

Re: [PATCH] net: ibm: emac: Fix some error handling path in 'emac_probe()'

2017-08-19 Thread Christian Lamparter
On Saturday, August 19, 2017 1:07:57 AM CEST Christophe JAILLET wrote: > If 'irq_of_parse_and_map()' or 'of_address_to_resource()' fail, 'err' is > known to be 0 at this point. > So return -ENODEV instead in the first case and propagate the error > returned by 'of_address_to_resource()' in the 2nd

Re: [PATCH net-next 3/3 v5] drivers: net: ethernet: qualcomm: rmnet: Initial implementation

2017-08-19 Thread kbuild test robot
Hi Subash, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Subash-Abhinov-Kasiviswanathan/net-ether-Add-support-for-multiplexing-and-aggregation-type/20170819-194110 config: openrisc-allyesconfig (attached as .config) compiler: or1k-linux-gcc (GCC

Re: [PATCH] net_sched: fix order of queue length updates in qdisc_replace()

2017-08-19 Thread Konstantin Khlebnikov
I've seen this as loops in hfsc rb-trees and hungs in hfsc_dequeue() -> rb_first(). Simple debug catched insering already inserted rb-tree nodes and similar mess. Most likely this could explain warning in hfsc_dequeue() https://bugzilla.kernel.org/show_bug.cgi?id=109581 On 19.08.2017 15:37, Kon

[PATCH] net_sched: fix order of queue length updates in qdisc_replace()

2017-08-19 Thread Konstantin Khlebnikov
This important to call qdisc_tree_reduce_backlog() after changing queue length. Parent qdisc should deactivate class in ->qlen_notify() called from qdisc_tree_reduce_backlog() but this happens only if qdisc->q.qlen in zero. Missed class deactivations leads to crashes/warnings at picking packets fr

Re: [PATCH 5/5] net: defxx: constify eisa_device_id

2017-08-19 Thread Maciej W. Rozycki
On Sat, 19 Aug 2017, Arvind Yadav wrote: > eisa_device_id are not supposed to change at runtime. All functions > working with eisa_device_id provided by work with > const eisa_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- Reviewed-by: Maciej W. Rozyck

Re: [PATCH] netfilter: xtables: use audit_log()

2017-08-19 Thread Pablo Neira Ayuso
On Mon, Aug 07, 2017 at 09:44:26PM +0800, Geliang Tang wrote: > Use audit_log() instead of open-coding it. As said, collapsed into 'netfilter: ebtables: use audit_log()', just for the record.

Re: [PATCH] netfilter: ebtables: use audit_log()

2017-08-19 Thread Pablo Neira Ayuso
On Mon, Aug 07, 2017 at 09:44:25PM +0800, Geliang Tang wrote: > Use audit_log() instead of open-coding it. Applied, thanks. BTW, I have collapse your xtables change to this patch too. part of the same logical change. Hint: If you see yourself writing exactly the same description for each patch y

[PATCH] net: dsa: mv88e6xxx: make irq_chip const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/net/dsa/mv88e6xxx/chip.c| 2 +- drivers/net/dsa/mv88e6xxx/global2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c

Re: [PATCH] Bluetooth: make device_type const

2017-08-19 Thread Marcel Holtmann
Hi Bhumika, > Make these const as they are only stored in the type field of a device > structure, which is const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal > --- > net/bluetooth/hci_sysfs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) patch has been applied to blue

[PATCH] Bluetooth: make device_type const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- net/bluetooth/hci_sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hc

[PATCH net-next v3] arm: eBPF JIT compiler

2017-08-19 Thread Shubham Bansal
The JIT compiler emits ARM 32 bit instructions. Currently, It supports eBPF only. Classic BPF is supported because of the conversion by BPF core. This patch is essentially changing the current implementation of JIT compiler of Berkeley Packet Filter from classic to internal with almost all instruc