[PATCH] man2: adjtimex.2 : add info about Clock source

2015-08-30 Thread Punit Vara
This is a patch to the adjtimex.2 file that add more detail about clock source in man page which is asked to be fixed. I got this information from standard document RFC5909 which is available at https://tools.ietf.org/html/rfc5905#appendix-A.5.5.1 Signed-off-by:

Re: [PATCH, net-next] r8169: Deny functions membet of array rtl_work

2015-08-30 Thread Francois Romieu
Marian Corcodel corcodel.mar...@gmail.com : Late may add another exceptions . Hard reset is also on close function and probe function not need to be present after link ok.rtl_reset_work figure like mirror on rtl_open with small exceptions. 2015-08-29 14:26 GMT+03:00 Francois Romieu

Re: [PATCH net-next 6/8] net: thunderx: Rework interrupt handler

2015-08-30 Thread Aleksey Makarov
On 29.08.2015 04:44, Alexey Klimov wrote: -static irqreturn_t nicvf_intr_handler(int irq, void *nicvf_irq) +static irqreturn_t nicvf_intr_handler(int irq, void *cq_irq) +{ + struct nicvf_cq_poll *cq_poll = (struct nicvf_cq_poll *)cq_irq; + struct nicvf *nic = cq_poll-nicvf; +

re: net/mlx4_core: Capping number of requested MSIXs to MAX_MSIX

2015-08-30 Thread Or Gerlitz
We currently manage IRQs in pool_bm which is a bit field of MAX_MSIX bits. Thus, allocating more than MAX_MSIX interrupts can't be managed in pool_bm. Fixing this by capping number of requested MSIXs to MAX_MSIX. Carol, Matan, could U2 elaborate where/when the bug hits us? Also, missing

[PATCH net-next v2 4/8] net: thunderx: Receive hashing HW offload support

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Adding support for receive hashing HW offload by using RSS_ALG and RSS_TAG fields of CQE_RX descriptor. Also removed dependency on minimum receive queue count to configure RSS so that hash is always generated. This hash is used by RPS logic to distribute

[PATCH net-next v2 2/8] net: thunderx: Add receive error stats reporting via ethtool

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Added ethtool support to dump receive packet error statistics reported in CQE. Also made some small fixes Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com ---

[PATCH net-next v2 3/8] net: thunderx: mailboxes: remove code duplication

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Use the nicvf_send_msg_to_pf() function in the mailbox code. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com ---

[PATCH net-next v2 5/8] net: thunderx: Support for HW VLAN stripping

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com This patch configures HW to strip 802.1Q header if found in a receiving packet. The stripped VLAN ID and TCI information is passed on to software via CQE_RX. Also sets netdev's 'vlan_features' so that other HW offload features can be used for tagged

Re: [PATCH 2/3] rhashtable-test: retry insert operations in threads

2015-08-30 Thread Herbert Xu
Phil Sutter p...@nwl.cc wrote: Should we introduce a new field to struct rhashtable to track the internal state? This might allow to clean up some rather obscure tests, e.g. whether a table resize is in progress or not. Why would we want to do that? The deferred expansion is done on a best

[PATCH net-next v2 1/8] net: thunderx: fix MAINTAINERS

2015-08-30 Thread Aleksey Makarov
From: Aleksey Makarov aleksey.maka...@caviumnetworks.com The liquidio and thunder drivers have different maintainers. Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH net-next v2 0/8] net: thunderx: New features and fixes

2015-08-30 Thread Aleksey Makarov
v2: - The unused affinity_mask field of the structure cmp_queue has been deleted. (thanks to David Miller) - The unneeded initializers have been dropped. (thanks to Alexey Klimov) - The commit message net: thunderx: Rework interrupt handling has been fixed. (thanks to Alexey Klimov)

IPv6 xfrm GSO fragmentation bug

2015-08-30 Thread Herbert Xu
Hi Steffen: I received a bug report regarding poor IPComp performance over IPv6: https://bugzilla.redhat.com/show_bug.cgi?id=1257952 It appears to have been caused by commit dd767856a36e00b631d65ebc4bb81b19915532d6 Author: Steffen Klassert steffen.klass...@secunet.com Date: Tue Oct

Re: [PATCH v2 net-next 4/4] vxlan: do not receive IPv4 packets on IPv6 socket

2015-08-30 Thread Thomas Graf
On 08/29/15 at 10:55am, Jiri Benc wrote: On Sat, 29 Aug 2015 00:39:29 +0200, Thomas Graf wrote: Can we fix VXLAN instead? It should be possible to receive and send both v4 and v6 frames and represent it with metadata on a single socket. That's actually what I intend to do next. But I need

[PATCH RFC V4 2/2] net: Optimize snmp stat aggregation by walking all the percpu data at once

2015-08-30 Thread Raghavendra K T
Docker container creation linearly increased from around 1.6 sec to 7.5 sec (at 1000 containers) and perf data showed 50% ovehead in snmp_fold_field. reason: currently __snmp6_fill_stats64 calls snmp_fold_field that walks through per cpu data of an item (iteratively for around 36 items). idea:

[PATCH RFC V4 1/2] net: Introduce helper functions to get the per cpu data

2015-08-30 Thread Raghavendra K T
Signed-off-by: Raghavendra K T raghavendra...@linux.vnet.ibm.com --- include/net/ip.h | 10 ++ net/ipv4/af_inet.c | 41 +++-- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/include/net/ip.h b/include/net/ip.h index d5fe9f2..93bf12e

Re: [RFC PATCH kernel] Revert net/mlx4_core: Add port attribute when tracking counters

2015-08-30 Thread Or Gerlitz
On Fri, Aug 28, 2015 at 7:06 AM, Alexey Kardashevskiy a...@ozlabs.ru wrote: 68230242cdb breaks SRIOV on POWER8 system. I am not really suggesting reverting the patch, rather asking for a fix. thanks for the detailed report, we will look into that. Just to be sure, when going back in time, what

[PATCH net-next v2 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com This patch adds support for handling multiple qsets assigned to a single VF. There by increasing no of queues from earlier 8 to max no of CPUs in the system i.e 48 queues on a single node and 96 on dual node system. User doesn't have option to assign which

[PATCH net-next v2 6/8] net: thunderx: Rework interrupt handling

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Rework interrupt handler to avoid checking IRQ affinity of CQ interrupts. Now separate handlers are registered for each IRQ including RBDR. Register interrupt handlers for only those which are being used. Add nicvf_dump_intr_status() and use it in irq

[PATCH net-next v2 8/8] net: thunderx: Support for internal loopback mode

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Support for setting VF's corresponding BGX LMAC in internal loopback mode. This mode can be used for verifying basic HW functionality such as packet I/O, RX checksum validation, CQ/RBDR interrupts, stats e.t.c. Useful when DUT has no external network

NOTIFICATION!!!

2015-08-30 Thread WILLIAM'S COOK CHAMBERS
YOU HAVE BEEN GIVEN $750,000,00 US DOLLARS FOR THE PEDRO QUEZADA DONATION PROGRAM. REPLY FOR MORE DETAILS. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 net-next 0/3] ipv4: Hash-based multipath routing

2015-08-30 Thread Peter Nørlund
On Sat, 29 Aug 2015 13:59:08 -0700 Tom Herbert t...@herbertland.com wrote: On Sat, Aug 29, 2015 at 1:46 PM, David Miller da...@davemloft.net wrote: From: Peter Nørlund p...@ordbogen.com Date: Sat, 29 Aug 2015 22:31:15 +0200 On Sat, 29 Aug 2015 13:14:29 -0700 (PDT) David Miller

Re: [PATCH net-next] net/mlx4_en: Fix IPv6 csum calculation

2015-08-30 Thread Or Gerlitz
On Fri, Aug 28, 2015 at 12:46 PM, Joe Perches j...@perches.com wrote: On Fri, 2015-08-28 at 14:28 -0500, cls...@linux.vnet.ibm.com wrote: From: Carol L Soto cls...@linux.vnet.ibm.com Seeing this message with mlx4_eni with IPv6: hw csum failure Changing IPv6 csum calculation to be based on

Re: [Patch net-next 4/5] net_sched: forbid setting default qdisc to inappropriate ones

2015-08-30 Thread Jamal Hadi Salim
On 08/28/15 19:20, David Miller wrote: But HTB definitely should be allowed. Problem with most non-work conserving schedulers is what the meaning of default resources means; example, for HTB: What is the default bandwidth you allocate to a class of users? cheers, jamal -- To unsubscribe

Re: [PATCH net-next 6/8] net: thunderx: Rework interrupt handler

2015-08-30 Thread Sunil Kovvuri
On Sun, Aug 30, 2015 at 2:50 PM, Aleksey Makarov feumil...@gmail.com wrote: On 29.08.2015 04:44, Alexey Klimov wrote: -static irqreturn_t nicvf_intr_handler(int irq, void *nicvf_irq) +static irqreturn_t nicvf_intr_handler(int irq, void *cq_irq) +{ + struct nicvf_cq_poll *cq_poll =

[PATCH v4 04/10] ss: prepare timer for output handler usage

2015-08-30 Thread Matthias Tafelmeier
Minor preparation Patch Renamed, and exported timer to not have to pass it as a function local parameter argument. Signed-off-by: Matthias Tafelmeier matthias.tafelme...@gmx.net Suggested-by: Hagen Paul Pfeifer ha...@jauu.net --- misc/ss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v4 08/10] ss: symmetrical formatter extension example

2015-08-30 Thread Matthias Tafelmeier
This commit shall show shortly where to place changes when one wants to extend an ss output formatter with a new handler (format print procedure). The extension is done symmetrically. That means, every up to now existing formatter is extended with a semantically equivalent handler (hr and json

[PATCH v4 05/10] ss: replaced old output with new generic output mechanisms

2015-08-30 Thread Matthias Tafelmeier
This patch just adds the -j and --json flag to ss. Also it ensures proper stats components bracketization – that goes for ex. TCP, UDP, NETLINK etc. Moreover, this patch prevents human readable headers to be printed. Most importantly, with this patch, the new prepared interface to the generic

[PATCH v4 06/10] ss: renaming and export of current_filter

2015-08-30 Thread Matthias Tafelmeier
Exported current_filter as ss_current_filter, because in the fmt handlers, I need that piece of info to resolve out issues of json. Signed-off-by: Matthias Tafelmeier matthias.tafelme...@gmx.net Suggested-by: Hagen Paul Pfeifer ha...@jauu.net Conflicts: misc/ss.c --- misc/ss.c | 154

[PATCH v4 03/10] ss: removed obsolet fmt functions

2015-08-30 Thread Matthias Tafelmeier
Those functions are obsoleted since the new fmt handler mechanism subsumes their tasks. Rendundancy would be contradictory to the new mechanism. Signed-off-by: Matthias Tafelmeier matthias.tafelme...@gmx.net Suggested-by: Hagen Paul Pfeifer ha...@jauu.net --- misc/ss.c | 190

[PATCH v4 01/10] ss: rooted out ss type declarations for output formatters

2015-08-30 Thread Matthias Tafelmeier
The prospected output formatters and ss do share type declarations like slabstat or tcpstat so that the decision has been made to centralize those declarations in ss_types.h. Potential future declarations shall be placed there. The latter should help amend the extent of ss.c as well.

[PATCH v4 07/10] ss: symmetrical subhandler output extension example

2015-08-30 Thread Matthias Tafelmeier
This small sized patch shall convey the locations which have to be changed for a symmetrical output extension. Symmetrical means in this context all existing semantically related handlers in the diverse formatters (for hr and json up to now). Suggested-by: Hagen Paul Pfeifer ha...@jauu.net

[PATCH v4 02/10] ss: created formatters for json and hr

2015-08-30 Thread Matthias Tafelmeier
This patch creates a central formatter module that acts as a kind of switch. From there, more specific handler modules for the certain output formats are called. Up to now, humand readable and json do exist. That prepares ss for potential output format extensions in the future. With the help of

[PATCH v4 10/10] ss: extended json_writer for hex field and value output

2015-08-30 Thread Matthias Tafelmeier
This small patch extendedis the lib json_writer module for hex field which is needed in the json format handler of ss. Signed-off-by: Matthias Tafelmeier matthias.tafelme...@gmx.net Suggested-by: Hagen Paul Pfeifer ha...@jauu.net --- include/json_writer.h | 3 +++ lib/json_writer.c | 16

iproute2 v4: full ss json support and general output simplification

2015-08-30 Thread Matthias Tafelmeier
- add full JSON support for ss - Patchset provides a general and easy to use abstraction to extend ss later - Patchset size is large to minimize daily use (user should not deal with formation (json, human readble) later on) - Patches 7/10 and 8/10 illustrate how to extend ss for new data

Re: [PATCH RFC V4 2/2] net: Optimize snmp stat aggregation by walking all the percpu data at once

2015-08-30 Thread Eric Dumazet
On Sun, 2015-08-30 at 11:29 +0530, Raghavendra K T wrote: Docker container creation linearly increased from around 1.6 sec to 7.5 sec (at 1000 containers) and perf data showed 50% ovehead in snmp_fold_field. reason: currently __snmp6_fill_stats64 calls snmp_fold_field that walks through per

[PATCH v4 09/10] ss: fixed free on local array for valid json output

2015-08-30 Thread Matthias Tafelmeier
Minor fix to enable json output. Freeing of automatic char array name which will get freed after function stack cleanup. Another one after tcp_stats_fmt for freeing automatic tcpstats struct instance. Signed-off-by: Matthias Tafelmeier matthias.tafelme...@gmx.net Suggested-by: Hagen Paul Pfeifer

Re: [PATCH] geneve: Use GRO cells infrastructure.

2015-08-30 Thread Eric Dumazet
On Sat, 2015-08-29 at 13:45 -0700, David Miller wrote: While reviewing this I noticed that the gro cells code goes through all of the trouble of allocating full per-cpu objects to manage the packet queuing and processing, but then it uses a full spinlock for protection. It ought to be

using iperf over a veth pair

2015-08-30 Thread Ido Barkan
Hi everyone, I am trying to use iperf over a veth pair. while iperf is pleased (it reports a suspicious very high bandwidth), according to tcpdump, no traffic is going via the veth pair. Also 'ping -I' refuses to send a ping via my veth ('destination is unreachable' iirc).

Re: [PATCH v2 net-next 2/3] ipv4: L3 and L4 hash-based multipath routing

2015-08-30 Thread Tom Herbert
On Fri, Aug 28, 2015 at 1:00 PM, p...@ordbogen.com wrote: From: Peter Nørlund p...@ordbogen.com This patch adds L3 and L4 hash-based multipath routing, selectable on a per-route basis with the reintroduced RTA_MP_ALGO attribute. The default is now RT_MP_ALG_L3_HASH. Signed-off-by: Peter

Re: [PATCH v2 net-next 0/3] ipv4: Hash-based multipath routing

2015-08-30 Thread Tom Herbert
On Sun, Aug 30, 2015 at 2:28 PM, Peter Nørlund p...@ordbogen.com wrote: On Sat, 29 Aug 2015 13:59:08 -0700 Tom Herbert t...@herbertland.com wrote: On Sat, Aug 29, 2015 at 1:46 PM, David Miller da...@davemloft.net wrote: From: Peter Nørlund p...@ordbogen.com Date: Sat, 29 Aug 2015 22:31:15

[PATCH net-next] ip-tunnel: Use API to access tunnel metadata options.

2015-08-30 Thread Pravin B Shelar
Currently tun-info options pointer is used in few cases to pass options around. But tunnel options can be accessed using ip_tunnel_info_opts() API without using the pointer. Following patch removes the redundant pointer and consistently make use of API. Signed-off-by: Pravin B Shelar

Re: [RFC PATCH kernel] Revert net/mlx4_core: Add port attribute when tracking counters

2015-08-30 Thread Alexey Kardashevskiy
On 08/30/2015 04:28 PM, Or Gerlitz wrote: On Fri, Aug 28, 2015 at 7:06 AM, Alexey Kardashevskiy a...@ozlabs.ru wrote: 68230242cdb breaks SRIOV on POWER8 system. I am not really suggesting reverting the patch, rather asking for a fix. thanks for the detailed report, we will look into that.

Re: [PATCH net-next] macvtap/macvlan: use IFF_NO_QUEUE

2015-08-30 Thread Jason Wang
On 08/28/2015 08:25 PM, Vlad Yasevich wrote: On 08/27/2015 10:42 PM, Jason Wang wrote: On 08/27/2015 06:43 PM, Michael S. Tsirkin wrote: On Wed, Aug 26, 2015 at 01:45:30PM +0800, Jason Wang wrote: On 08/26/2015 12:32 AM, Vlad Yasevich wrote: On 08/25/2015 07:30 AM, Jason Wang

Re: [RFC PATCH net-next 0/3] L3 RX handler

2015-08-30 Thread David Ahern
Hi Tom: On 8/29/15 12:02 PM, Tom Herbert wrote: To begin with, can we abstract out the need for common code to know about the VRF device (netif_index_is_vrf). Looking more closely at udp_semdmsg code, there's seems to be some potential problems: My intention to address your udp_sendmsg

Re: [PATCH net-next v2 0/8] net: thunderx: New features and fixes

2015-08-30 Thread David Miller
From: Aleksey Makarov aleksey.maka...@auriga.com Date: Sun, 30 Aug 2015 12:29:08 +0300 v2: - The unused affinity_mask field of the structure cmp_queue has been deleted. (thanks to David Miller) - The unneeded initializers have been dropped. (thanks to Alexey Klimov) - The commit

Re: [PATCH net] netlink: rx mmap: fix POLLIN condition

2015-08-30 Thread David Miller
From: Ken-ichirou MATSUZAWA chama...@gmail.com Date: Mon, 31 Aug 2015 07:54:49 +0900 Poll() returns immediately after setting the kernel current frame (ring-head) to SKIP from user space even though there is no new frame. And in a case of all frames is VALID, user space program

Re: [PATCH RFC V4 0/2] Optimize the snmp stat aggregation for large cpus

2015-08-30 Thread David Miller
From: Raghavendra K T raghavendra...@linux.vnet.ibm.com Date: Sun, 30 Aug 2015 11:29:40 +0530 While creating 1000 containers, perf is showing lot of time spent in snmp_fold_field on a large cpu system. The current patch tries to improve by reordering the statistics gathering. ... Series

[net-next:master 1512/1524] net/ipv4/af_inet.c:1486:26: error: 'offt' undeclared

2015-08-30 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 0ef707700f1cef2357ce655fc86a4de5e41fa4b5 commit: c4c6bc314618f60ba69b0cbf93e506e4c38a11d2 [1512/1524] net: Introduce helper functions to get the per cpu data config: i386-randconfig-i0-201535 (attached as

Re: [net-next:master 1512/1524] net/ipv4/af_inet.c:1486:26: error: 'offt' undeclared

2015-08-30 Thread David Miller
From: kbuild test robot fengguang...@intel.com Date: Mon, 31 Aug 2015 13:06:10 +0800 net/ipv4/af_inet.c: In function 'snmp_get_cpu_field64': net/ipv4/af_inet.c:1486:26: error: 'offt' undeclared (first use in this function) v = *(((u64 *)bhptr) + offt);