Re: [PATCH 7/7] slub: initial bulk free implementation

2015-06-16 Thread Jesper Dangaard Brouer
On Tue, 16 Jun 2015 16:23:28 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: On Mon, Jun 15, 2015 at 05:52:56PM +0200, Jesper Dangaard Brouer wrote: This implements SLUB specific kmem_cache_free_bulk(). SLUB allocator now both have bulk alloc and free implemented. Play nice and

Re: [PATCH v2 net-next 0/3] bpf: share helpers between tracing and networking

2015-06-16 Thread Daniel Borkmann
On 06/16/2015 05:28 AM, Alexei Starovoitov wrote: On 6/15/15 4:01 PM, David Miller wrote: Although I agree with the sentiment that this thing can cause surprising results and can be asking for trouble. If someone wants to filter traffic by UID they might make a simple ingress TC ebpf program

Re: [PATCH 7/7] slub: initial bulk free implementation

2015-06-16 Thread Jesper Dangaard Brouer
On Tue, 16 Jun 2015 16:28:06 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: Is this really better than just calling __kmem_cache_free_bulk()? Yes, as can be seen by cover-letter, but my cover-letter does not seem to have reached mm-list. Measurements for the entire patchset: Bulk - Fallback

Re: [PATCH 7/7] slub: initial bulk free implementation

2015-06-16 Thread Jesper Dangaard Brouer
On Tue, 16 Jun 2015 10:21:10 +0200 Jesper Dangaard Brouer bro...@redhat.com wrote: On Tue, 16 Jun 2015 16:28:06 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: Is this really better than just calling __kmem_cache_free_bulk()? Yes, as can be seen by cover-letter, but my cover-letter does

[PATCH iproute2] Add displaying VF traffic statistics

2015-06-16 Thread Or Gerlitz
From: Eran Ben Elisha era...@mellanox.com Enable reading and displaying SRIOV VFs traffic statistics through the host PF netdevice using the nested IFLA_VF_STATS attribute. Signed-off-by: Eran Ben Elisha era...@mellanox.com Signed-off-by: Hadar Hen Zion had...@mellanox.com Signed-off-by: Or

Re: [PATCH] net: fix search limit handling in skb_find_text()

2015-06-16 Thread Pablo Neira Ayuso
On Mon, Jun 15, 2015 at 10:37:31PM +0300, Roman Khimov wrote: В письме от 15 июня 2015 19:06:39 пользователь Pablo Neira Ayuso написал: On Mon, Jun 15, 2015 at 12:11:58PM +0300, Roman I Khimov wrote: Suppose that we're trying to use an xt_string netfilter module to match a string in a

Setting up interfaces in loopback mode using SIOCETHTOOL

2015-06-16 Thread Ashutosh Tripathi
Hi All, In spite of several days of trying to get information out of ethtool source code, I could not get a way to set the loopback mode for network interfaces. I was also referring to the driver code for ixgbe devices to get more info on the support it provides to ethtool. In the driver code,

[PATCH iproute2 net-next 2/3] iplink_bridge: add support for stp_state

2015-06-16 Thread Nikolay Aleksandrov
This patch adds support to set stp_state via IFLA_BR_STP_STATE. Signed-off-by: Nikolay Aleksandrov ra...@blackwall.org --- ip/iplink_bridge.c | 8 1 file changed, 8 insertions(+) diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c index 2726a369803e..79b9e049ff92 100644 ---

[PATCH iproute2 net-next 1/3] iplink_bridge: add support for ageing_time

2015-06-16 Thread Nikolay Aleksandrov
This patch adds support to set ageing_time via IFLA_BR_AGEING_TIME. Signed-off-by: Nikolay Aleksandrov ra...@blackwall.org --- ip/iplink_bridge.c | 8 1 file changed, 8 insertions(+) diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c index 0cea7d1f5fa2..2726a369803e 100644 ---

[PATCH iproute2 net-next 3/3] iplink_bridge: add support for priority

2015-06-16 Thread Nikolay Aleksandrov
This patch adds support to set bridge stp priority via IFLA_BR_PRIORITY. Signed-off-by: Nikolay Aleksandrov ra...@blackwall.org --- ip/iplink_bridge.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c index 79b9e049ff92..297160c490fd 100644

[PATCH iproute2 net-next 0/3] iplink_bridge: add support for ageing_time, priority and stp_state

2015-06-16 Thread Nikolay Aleksandrov
Hi, Three months ago support was added to be able to set ageing_time, priority and stp_state via netlink by commit: af615762e972 (bridge: add ageing_time, stp_state, priority over netlink) This patch-set adds support for iproute2 to be able to use them. Exampes: ip link set dev br0 type bridge

Re: [PATCH 7/7] slub: initial bulk free implementation

2015-06-16 Thread Jesper Dangaard Brouer
On Mon, 15 Jun 2015 11:34:44 -0500 (CDT) Christoph Lameter c...@linux.com wrote: On Mon, 15 Jun 2015, Jesper Dangaard Brouer wrote: + for (i = 0; i size; i++) { + void *object = p[i]; + + if (unlikely(!object)) + continue; // HOW ABOUT

RE: Fw: [Bug 98781] New: WWAN: TX bytes counter shows very huge impossible value

2015-06-16 Thread David Laight
From: Kevin Sent: 13 June 2015 01:29 ... Linux uranis 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux wwan0 Link encap:Ethernet HWaddr 26:03:a9:e3:88:2e inet addr:41.150.225.132 Bcast:41.150.225.135 Mask:255.255.255.248

[PATCH 3.4 125/172] net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5}

2015-06-16 Thread lizf
From: Markos Chandras markos.chand...@imgtec.com 3.4.108-rc1 review patch. If anyone has any objections, please let me know. -- commit 87f966d97b89774162df04d2106c6350c8fe4cb3 upstream. On a MIPS Malta board, tons of fifo underflow errors have been observed when using u-boot

writing timestamps to outgoing packets

2015-06-16 Thread Johannes Berg
Hi, For MA-USB (media-agnostic USB, but specifically we're working on doing it over 802.11 wifi) there's a need to write a timestamp to outgoing packets at a specific offset inside the packet. Unfortunately, it's not that we have to write the timestamp of the previous packet or similar which

[PATCH iproute2 net-next] bonding: export 3ad actor and partner port state

2015-06-16 Thread Nikolay Aleksandrov
This patch adds support to retrieve the new bond slave attributes: IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE which are read-only. This patch also adds the linux/if_link.h definitions. Signed-off-by: Nikolay Aleksandrov ra...@blackwall.org ---

Re: [PATCH net-next v2 05/19] bna: use BIT(x) instead of (1 x)

2015-06-16 Thread Ivan Vecera
On 06/12/2015 03:30 PM, David Laight wrote: From: Ivan Vecera ... diff --git a/drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h b/drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h index 679a503..16090fd 100644 --- a/drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h +++

Re: [PATCH] ath10k: txrx: remove unreachable negative return check and fixup type

2015-06-16 Thread Kalle Valo
Nicholas Mc Guire hof...@osadl.org writes: wait_event_timeout(), introduced in 'commit 5e3dd157d7e7 (ath10k: mac80211 driver for Qualcomm Atheros 802.11ac CQA98xx devices)' never returns 0 so the only failure condition to be checked is == 0 (timeout). Further the return type is long not int

Re: [PATCH net-next 00/15] Simplify netfilter and network namespaces

2015-06-16 Thread Pablo Neira Ayuso
On Mon, Jun 15, 2015 at 07:26:13PM -0500, Eric W. Biederman wrote: [...] So what I am in the processes of doing is reviewing and testing the combined set of patches and hopefully I will have something for you soon (tomorrow?). Unless Pablo has objections. Please, feel free to take over my

slow TCP speed through linux ip forwarding

2015-06-16 Thread Stefan Priebe - Profihost AG
Hello, i hope somebody has an idea for my problem and may point me to the right direction. Alle servers run kernel 3.18.14. My problem is that i can't archieve more than 20Mbit/s using a single TCP stream and i've no further ideas how to solve it. reduced Network Map Server A | Linux GW

Re: [PATCH 1/2] net: mvneta: introduce tx_csum_limit property

2015-06-16 Thread Thomas Petazzoni
Hello, On Mon, 15 Jun 2015 17:54:41 +0200, Simon Guinot wrote: The current armada-370-neta would limit the HW checksumming features to packets smaller than 1600 bytes, while a new armada-xp-neta would not have this limit. This was also my first idea. But by doing this, we take the risk

Re: [PATCH] ath10k: mac: remove unreachable negative return check

2015-06-16 Thread Kalle Valo
Nicholas Mc Guire hof...@osadl.org writes: wait_event_timeout(), introduced in 'commit 5e3dd157d7e7 (ath10k: mac80211 driver for Qualcomm Atheros 802.11ac CQA98xx devices)' never returns 0 so the only failure condition to be checked is ==0 (timeout). Further the return type is long not int -

Re: [PATCH 04/11] IB/cm: Expose DGID in SIDR request events

2015-06-16 Thread Haggai Eran
On 16/06/2015 01:08, Jason Gunthorpe wrote: On Mon, Jun 15, 2015 at 09:32:53PM +, Hefty, Sean wrote: drivers/infiniband/core/cm.c | 7 +++ include/rdma/ib_cm.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c

<    1   2