Re: [PATCH 04/11] posix timers:Introduce the 64bit methods with timespec64 type for k_clock structure

2015-04-20 Thread Thomas Gleixner
On Mon, 20 Apr 2015, Baolin Wang wrote: @@ -771,6 +771,7 @@ SYSCALL_DEFINE2(timer_gettime, timer_t, timer_id, struct itimerspec __user *, setting) { struct itimerspec cur_setting; + struct itimerspec64 cur_setting64; struct k_itimer *timr; struct k_clock

[PATCH] net: dsa: mv88e6xxx: fix setup of port control 1

2015-04-20 Thread Vivien Didelot
mv88e6xxx_setup_port_common was writing to PORT_DEFAULT_VLAN (port offset 0x07) instead of PORT_CONTROL_1 (port offset 0x05). Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com --- drivers/net/dsa/mv88e6xxx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH v2 02/11] IB/addr: Pass network namespace as a parameter

2015-04-20 Thread Doug Ledford
On Mon, 2015-04-20 at 12:03 +0300, Haggai Eran wrote: From: Guy Shapiro gu...@mellanox.com Add network namespace support to the ib_addr module. For that, all the address resolution and matching should be done using the appropriate namespace instead of init_net. This is achieved by: 1.

Re: [PATCH 05/11] time/posix-timers:Convert to the 64bit methods for k_clock callback functions

2015-04-20 Thread Thomas Gleixner
On Mon, 20 Apr 2015, Baolin Wang wrote: /* Set clock_realtime */ static int posix_clock_realtime_set(const clockid_t which_clock, - const struct timespec *tp) + const struct timespec64 *tp) { - return

[PATCH 1/1] altera tse: Error-Bit on tx-avalon-stream always set.

2015-04-20 Thread Andreas Oetken
From: Andreas Oetken ennoerlan...@gmail.com The Error-Bit on the avalon streaming interface of the tx-dma-channel was always set. In SGMII configurations this leads to error-symbols on the PCS and packet-rejection on the receiver side (e.g. SGMII/1000Base-X connected switch). This only applies

Re: [PATCH v2 11/11] IB/ucm: Add partial support for network namespaces

2015-04-20 Thread ira.weiny
On Mon, Apr 20, 2015 at 12:03:42PM +0300, Haggai Eran wrote: From: Shachar Raindel rain...@mellanox.com It is impossible to completely support network namespaces for UCM, as we cannot identify the target IPoIB device. As Jasons said it seems like the use of namespaces should be limited to

Re: [PATCH] net: dsa: mv88e6xxx: fix setup of port control 1

2015-04-20 Thread Andrew Lunn
On Mon, Apr 20, 2015 at 05:19:23PM -0400, Vivien Didelot wrote: mv88e6xxx_setup_port_common was writing to PORT_DEFAULT_VLAN (port offset 0x07) instead of PORT_CONTROL_1 (port offset 0x05). Hi Vivien Good catch. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com Fixes:

Re: [PATCH v2 05/11] IB/ipoib: Return IPoIB devices as possible matches to get_net_device_by_port_pkey_ip

2015-04-20 Thread ira.weiny
On Mon, Apr 20, 2015 at 12:03:36PM +0300, Haggai Eran wrote: From: Guy Shapiro gu...@mellanox.com Implement callback that returns network device to ib_core according to connection parameters. Check the ipoib device and iterate over all child devices to look for a match. For each ipoib

Re: [RFC,1/8] soc/fman: Add FMan MURAM support

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 03:58 -0500, Liberman Igal-B31950 wrote: Regards, Igal Liberman. -Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Thursday, March 12, 2015 5:57 PM To: Liberman Igal-B31950 Cc: linuxppc-...@lists.ozlabs.org;

[PATCH] net: dsa: mv88e6xxx: use PORT_DEFAULT_VLAN

2015-04-20 Thread Vivien Didelot
Minor, use the explicit PORT_DEFAULT_VLAN define instead of 0x07. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com --- drivers/net/dsa/mv88e6xxx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c

Re: [PATCH 09/11] cputime:Introduce the cputime_to_timespec64/timespec64_to_cputime function

2015-04-20 Thread Thomas Gleixner
On Mon, 20 Apr 2015, Baolin Wang wrote: This patch introduces some functions for converting cputime to timespec64 and back, that repalce the timespec type with timespec64 type, as well as for arch/s390 and arch/powerpc architecture. No. We want a patch which adds the functions and then a

[PATCH net-next 0/2] net: Fix hw csum failure message flood for ppp tunnel

2015-04-20 Thread Tom Herbert
This patch set addresses bug Bug 95171 - hw csum failure message flood for ppp tunnel since upgrade to 3.16. The problem is that pppoe is being used over UDP with UDP checksusm enabled. On receive checksum conversion turns checksum-unnecessary in checksum- complete. The PPP receive functions do no

Re: [PATCH] net: dsa: mv88e6xxx: use PORT_DEFAULT_VLAN

2015-04-20 Thread Andrew Lunn
On Mon, Apr 20, 2015 at 05:43:26PM -0400, Vivien Didelot wrote: Minor, use the explicit PORT_DEFAULT_VLAN define instead of 0x07. Hi Vivien I would not normally use the word Minor here, since it will end up in the commit log. Other than that: Acked-by: Andrew Lunn and...@lunn.ch Thanks

Re: [PATCH v2 06/11] IB/cm, cma: Move RDMA IP CM private-data parsing code from ib_cma to ib_cm

2015-04-20 Thread ira.weiny
On Mon, Apr 20, 2015 at 12:03:37PM +0300, Haggai Eran wrote: From: Guy Shapiro gu...@mellanox.com When receiving a connection request, ib_cm needs to associate the request with a network namespace. To do this, it needs to know the request's destination IP. For this the RDMA IP CM packet

Re: [PATCH iproute2 -next] examples: bpf: fix ld offs to have same prog loaded on ingress/egress

2015-04-20 Thread Alexei Starovoitov
On 4/20/15 4:48 AM, Daniel Borkmann wrote: Fix up the eBPF example program to match our kernel fix in a166151cbe33 (bpf: fix bpf helpers to use skb-mac_header relative offsets). Tested on ingress and egress paths. Signed-off-by: Daniel Borkmann dan...@iogearbox.net Cc: Alexei Starovoitov

Re: [PATCH v2 07/11] IB/cm: Add network namespace support

2015-04-20 Thread ira.weiny
On Mon, Apr 20, 2015 at 11:06:59AM -0600, Jason Gunthorpe wrote: On Mon, Apr 20, 2015 at 12:03:38PM +0300, Haggai Eran wrote: From: Guy Shapiro gu...@mellanox.com Add namespace support to the IB-CM layer. - Each CM-ID now has a network namespace it is associated with, assigned at

Re: [PATCH v2 net-next] ip: Add color output option

2015-04-20 Thread Mathias Nyman
Thanks for bearing with my first patch. On 2015-04-20 10:16-0700, Stephen Hemminger wrote: On Sat, 18 Apr 2015 13:39:45 +0300 Mathias Nyman m.ny...@iki.fi wrote: It is hard to quickly find what you are looking for in the output of the ip command. Color helps. This patch adds a '-c' flag to

[PATCH net-next 2/2] ppp: call skb_checksum_complete_unset in ppp_receive_frame

2015-04-20 Thread Tom Herbert
Call checksum_complete_unset in PPP receive to discard checksum-complete value. PPP does not pull checksum for headers and also modifies packet as in VJ compression. Signed-off-by: Tom Herbert t...@herbertland.com --- drivers/net/ppp/ppp_generic.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH net-next 1/2] net: add skb_checksum_complete_unset

2015-04-20 Thread Tom Herbert
This function changes ip_summed to CHECKSUM_NONE if CHECKSUM_COMPLETE is set. This is called to discard checksum-complete when packet is being modified and checksum is not pulled for headers in a layer. Signed-off-by: Tom Herbert t...@herbertland.com --- include/linux/skbuff.h | 12

Re: [RFC PATCH v3 09/10] lib: libos build scripts and documentation

2015-04-20 Thread Paul Bolle
Some random observations while I'm still trying to wrap my head around all this (which might take quite some time). On Sun, 2015-04-19 at 22:28 +0900, Hajime Tazaki wrote: --- /dev/null +++ b/arch/lib/Kconfig @@ -0,0 +1,124 @@ +menuconfig LIB + bool LibOS-specific options +

Re: [PATCH] neighbour.c: Avoid GC directly after state change

2015-04-20 Thread YOSHIFUJI Hideaki
Ulf Samuelsson wrote: How many neighbors do you want to maintain? I guess you have to increase the number of gc_thresh1. The current use cases have up to 2048 entries. This is expected to grow in the future. The 3.4 kernel used in the system today is limited to 1024, but that has been raised

RE: [Intel-wired-lan] [PATCH] e1000e: Do not allow CRC stripping to be disabled on 82579 w/ jumbo frames

2015-04-20 Thread Brown, Aaron F
From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Jeff Kirsher Sent: Wednesday, April 08, 2015 7:58 PM To: Alexander Duyck Cc: netdev@vger.kernel.org; intel-wired-...@lists.osuosl.org Subject: Re: [Intel-wired-lan] [PATCH] e1000e: Do not allow CRC stripping

Re: [PATCH net-next 0/2] net: Fix hw csum failure message flood for ppp tunnel

2015-04-20 Thread David Miller
From: Tom Herbert t...@herbertland.com Date: Mon, 20 Apr 2015 14:10:03 -0700 This patch set addresses bug Bug 95171 - hw csum failure message flood for ppp tunnel since upgrade to 3.16. The problem is that pppoe is being used over UDP with UDP checksusm enabled. On receive checksum conversion

Re: [PATCH 1/1] altera tse: Error-Bit on tx-avalon-stream always set.

2015-04-20 Thread David Miller
From: Andreas Oetken ennoerlan...@googlemail.com Date: Tue, 21 Apr 2015 00:16:38 +0200 From: Andreas Oetken ennoerlan...@gmail.com The Error-Bit on the avalon streaming interface of the tx-dma-channel was always set. In SGMII configurations this leads to error-symbols on the PCS and

Re: [PATCH] net: dsa: mv88e6xxx: fix setup of port control 1

2015-04-20 Thread David Miller
From: Andrew Lunn and...@lunn.ch Date: Tue, 21 Apr 2015 01:05:07 +0200 On Mon, Apr 20, 2015 at 05:19:23PM -0400, Vivien Didelot wrote: mv88e6xxx_setup_port_common was writing to PORT_DEFAULT_VLAN (port offset 0x07) instead of PORT_CONTROL_1 (port offset 0x05). Hi Vivien Good catch.

Re: [PATCH] net: dsa: mv88e6xxx: use PORT_DEFAULT_VLAN

2015-04-20 Thread David Miller
From: Vivien Didelot vivien.dide...@savoirfairelinux.com Date: Mon, 20 Apr 2015 17:43:26 -0400 Minor, use the explicit PORT_DEFAULT_VLAN define instead of 0x07. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com Applied. -- To unsubscribe from this list: send the line

RE: [Intel-wired-lan] [PATCH] e1000e: Cleanup handling of VLAN_HLEN as a part of max frame size

2015-04-20 Thread Brown, Aaron F
From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Alexander Duyck Sent: Wednesday, April 08, 2015 2:03 PM To: intel-wired-...@lists.osuosl.org; Kirsher, Jeffrey T Cc: netdev@vger.kernel.org; m...@cchtml.com; ht...@twofifty.com Subject: [Intel-wired-lan]

RE: [PATCH v2 01/11] RDMA/CMA: Mark IPv4 addresses correctly when the listener is IPv6

2015-04-20 Thread Shachar Raindel
-Original Message- From: Or Gerlitz [mailto:gerlitz...@gmail.com] Sent: Monday, April 20, 2015 9:38 PM On Mon, Apr 20, 2015 at 7:41 PM, Jason Gunthorpe jguntho...@obsidianresearch.com wrote: On Mon, Apr 20, 2015 at 12:03:32PM +0300, Haggai Eran wrote: From: Yotam Kenneth

IT-Service Desk

2015-04-20 Thread Maestracci Dominique
IT-Service Desk behöver du uppgradera till den senaste e-post Outlook Web Apps 2015, vänligen klicka på IT-Service Deskhttp://sweden2.wix.com/sweden-upgrade att uppgradera till den senaste e-post Outlook Web Apps 2015 I samband med Microsoft Exchange © 2015 Microsoft Corporation. Alla

Re: [RFC][PATCH] net: stmmac: use msleep instead of udelay for gpio reset

2015-04-20 Thread Giuseppe CAVALLARO
On 4/19/2015 6:11 AM, Michael Trimarchi wrote: Hi On Apr 19, 2015 1:37 AM, Fabio Estevam feste...@gmail.com mailto:feste...@gmail.com wrote: On Sat, Apr 18, 2015 at 12:02 PM, Michael Trimarchi mich...@amarulasolutions.com mailto:mich...@amarulasolutions.com wrote:

Re: [PATCH 01/16] printk: guard the amount written per line by devkmsg_read()

2015-04-20 Thread Petr Mladek
On Thu 2015-04-16 19:03:38, Tejun Heo wrote: devkmsg_read() uses 8k buffer and assumes that the formatted output message won't overrun which seems safe given LOG_LINE_MAX, the current use of dict and the escaping method being used; however, we're planning to use devkmsg formatting wider and

Re: [PATCH 01/16] printk: guard the amount written per line by devkmsg_read()

2015-04-20 Thread Petr Mladek
On Mon 2015-04-20 14:11:36, Petr Mladek wrote: On Thu 2015-04-16 19:03:38, Tejun Heo wrote: devkmsg_read() uses 8k buffer and assumes that the formatted output message won't overrun which seems safe given LOG_LINE_MAX, the current use of dict and the escaping method being used; however,

Re: [PATCH] neighbour.c: Avoid GC directly after state change

2015-04-20 Thread Ulf Samuelsson
On 04/20/2015 04:33 AM, YOSHIFUJI Hideaki wrote: Hi, Ulf Samuelsson wrote: From RFC2461: | REACHABLE Roughly speaking, the neighbor is known to have been | reachable recently (within tens of seconds ago). : | STALE The neighbor is no longer known to be

[PATCH iproute2 -next] examples: bpf: fix ld offs to have same prog loaded on ingress/egress

2015-04-20 Thread Daniel Borkmann
Fix up the eBPF example program to match our kernel fix in a166151cbe33 (bpf: fix bpf helpers to use skb-mac_header relative offsets). Tested on ingress and egress paths. Signed-off-by: Daniel Borkmann dan...@iogearbox.net Cc: Alexei Starovoitov a...@plumgrid.com --- ( Stephen, this applies on

Re: [PATCH V1 net-next] IB/ipoib: Fix ndo_get_iflink

2015-04-20 Thread Haggai Eran
On 17/04/2015 22:21, David Miller wrote: From: Erez Shitrit ere...@mellanox.com Date: Thu, 16 Apr 2015 16:34:34 +0300 Currently, iflink of the parent interface was always accessed, even when interface didn't have a parent and hence we crashed there. Handle the interface types properly:

RE: [PATCHSET] printk, netconsole: implement reliable netconsole

2015-04-20 Thread David Laight
From: Of Rob Landley Sent: 19 April 2015 08:25 On Thu, Apr 16, 2015 at 6:03 PM, Tejun Heo t...@kernel.org wrote: In a lot of configurations, netconsole is a useful way to collect system logs; however, all netconsole does is simply emitting UDP packets for the raw messages and there's no

Re: [PATCH 02/16] printk: factor out message formatting from devkmsg_read()

2015-04-20 Thread Petr Mladek
On Thu 2015-04-16 19:03:39, Tejun Heo wrote: The extended message formatting used for /dev/kmsg will be used implement extended consoles. Factor out msg_print_ext_header() and msg_print_ext_body() from devkmsg_read(). This is pure restructuring. Signed-off-by: Tejun Heo t...@kernel.org

Re: [PATCH 03/16] printk: move LOG_NOCONS skipping into call_console_drivers()

2015-04-20 Thread Petr Mladek
On Thu 2015-04-16 19:03:40, Tejun Heo wrote: When a line is printed by multiple printk invocations, each chunk is directly sent out to console drivers so that they don't get lost. When the line is completed and stored in the log buffer, the line is suppressed from going out to consoles as

Re: [PATCH 11/11] k_clock:Remove the 32bit methods with timespec type

2015-04-20 Thread Richard Cochran
On Mon, Apr 20, 2015 at 01:57:39PM +0800, Baolin Wang wrote: @@ -911,18 +907,14 @@ retry: return -EINVAL; kc = clockid_to_kclock(timr-it_clock); - if (WARN_ON_ONCE(!kc || (!kc-timer_set !kc-timer_set64))) { + if (WARN_ON_ONCE(!kc || !kc-timer_set64)) {

[PATCH v2 02/11] IB/addr: Pass network namespace as a parameter

2015-04-20 Thread Haggai Eran
From: Guy Shapiro gu...@mellanox.com Add network namespace support to the ib_addr module. For that, all the address resolution and matching should be done using the appropriate namespace instead of init_net. This is achieved by: 1. Adding an explicit network namespace argument to exported

[PATCH v2 03/11] IB/core: Pass network namespace as a parameter to relevant functions

2015-04-20 Thread Haggai Eran
From: Guy Shapiro gu...@mellanox.com Add network namespace parameters for the address related ib_core functions. The parameter is passed to lower level function, instead of init_net, so things are done in the correct namespace. For now pass init_net on every caller. Callers that will pass

[PATCH v2 00/11] Add network namespace support in the RDMA-CM

2015-04-20 Thread Haggai Eran
On 4/15/2015 3:39 PM, Doug Ledford wrote: For instance, the namespace patches aren't included, and that's at least partially because they didn't apply cleanly any more. Here's an updated series on top of your tree. I've also included the fix for IPv4 connections to IPv6 listeners. Regards,

[PATCH v2 01/11] RDMA/CMA: Mark IPv4 addresses correctly when the listener is IPv6

2015-04-20 Thread Haggai Eran
From: Yotam Kenneth yota...@mellanox.com When accepting a new connection with the listener being IPv6, the family of the new connection is set as IPv6. This causes cma_zero_addr function to return true on an non-zero address. As a result, the wrong code path is taken. This causes the connection

[PATCH v2 10/11] IB/ucma: Take the network namespace from the process

2015-04-20 Thread Haggai Eran
From: Guy Shapiro gu...@mellanox.com Add support for network namespaces from user space. This is done by passing the network namespace of the process instead of init_net. Signed-off-by: Haggai Eran hagg...@mellanox.com Signed-off-by: Yotam Kenneth yota...@mellanox.com Signed-off-by: Shachar

RE: [RFC,1/8] soc/fman: Add FMan MURAM support

2015-04-20 Thread igal.liber...@freescale.com
Regards, Igal Liberman. -Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Thursday, March 12, 2015 5:57 PM To: Liberman Igal-B31950 Cc: linuxppc-...@lists.ozlabs.org; netdev@vger.kernel.org; linux- ker...@vger.kernel.org; Wood Scott-B07421 Subject: Re:

Re: [PATCH 01/11] linux/time64.h:Introduce the 'struct itimerspec64' for 64bit

2015-04-20 Thread Sergei Shtylyov
Hello. On 4/20/2015 8:57 AM, Baolin Wang wrote: This patch introduces the 'struct itimerspec64' for 64bit to replace itimerspec, and also introduces the conversion methods: itimerspec64_to_itimerspec() and itimerspec_to_itimerspec64(), that makes itimerspec to ready for 2038 year. To not

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-20 Thread George Dunlap
On Thu, Apr 16, 2015 at 1:42 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-04-16 at 11:01 +0100, George Dunlap wrote: He suggested that after he'd been prodded by 4 more e-mails in which two of us guessed what he was trying to get at. That's what I was complaining about. My

[PATCH v2] ip_forward: Drop frames with attached skb-sk

2015-04-20 Thread Sebastian Poehn
Initial discussion was: [FYI] xfrm: Don't lookup sk_policy for timewait sockets Forwarded frames should not have a socket attached. Especially tw sockets will lead to panics later-on in the stack. This was observed with TPROXY assigning a tw socket and broken policy routing (misconfigured). As a

Re: [PATCH linux-next v5] mlx5: wrong page mask if CONFIG_ARCH_DMA_ADDR_T_64BIT enabled for 32Bit architectures

2015-04-20 Thread Eli Cohen
On Wed, Apr 15, 2015 at 04:36:15PM +0800, Honggang Li wrote: If CONFIG_ARCH_DMA_ADDR_T_64BIT enabled for x86 systems and physical memory is more than 4GB, dma_map_page may return a valid memory address which greater than 0x. As a result, the mlx5 device page allocator RB tree will be

Re: [PATCH V1 net-next] IB/ipoib: Fix ndo_get_iflink

2015-04-20 Thread Or Gerlitz
On Mon, Apr 20, 2015 at 11:16 AM, Haggai Eran hagg...@mellanox.com wrote: On 17/04/2015 22:21, David Miller wrote: From: Erez Shitrit ere...@mellanox.com Date: Thu, 16 Apr 2015 16:34:34 +0300 Currently, iflink of the parent interface was always accessed, even when interface didn't have a

[RFC] [PATCH] FUJITSU Extended Socket network device driver

2015-04-20 Thread Izumi, Taku
This patch adds support for FUJITSU Extended Socket network device. Extended Socket network device is a shared memory based high-speed network interface between Extended Partitions of PRIMEQUEST 2000 series. # I know this code needs more refuctoring, but I wanted to post this code as soon as

Re: [PATCH] Bluetooth: Pre-initialize variables in read_local_oob_ext_data_complete()

2015-04-20 Thread Geert Uytterhoeven
Hi Marcel, On Fri, Apr 17, 2015 at 10:38 PM, Marcel Holtmann mar...@holtmann.org wrote: net/bluetooth/mgmt.c: In function ‘read_local_oob_ext_data_complete’: net/bluetooth/mgmt.c:6474: warning: ‘r256’ may be used uninitialized in this function net/bluetooth/mgmt.c:6474: warning: ‘h256’ may

[PATCH v2 05/11] IB/ipoib: Return IPoIB devices as possible matches to get_net_device_by_port_pkey_ip

2015-04-20 Thread Haggai Eran
From: Guy Shapiro gu...@mellanox.com Implement callback that returns network device to ib_core according to connection parameters. Check the ipoib device and iterate over all child devices to look for a match. For each ipoib device we iterate through all upper devices when searching for a

[PATCH v2 08/11] IB/cma: Separate port allocation to network namespaces

2015-04-20 Thread Haggai Eran
From: Yotam Kenneth yota...@mellanox.com Keep a radix-tree for the network namespaces we support for each port-space. Dynamically allocate idr for network namespace upon first bind request for a port in the (ps, net) tuple. Destroy the idr when the (ps, net) tuple does not contain any bounded

[PATCH v2 06/11] IB/cm, cma: Move RDMA IP CM private-data parsing code from ib_cma to ib_cm

2015-04-20 Thread Haggai Eran
From: Guy Shapiro gu...@mellanox.com When receiving a connection request, ib_cm needs to associate the request with a network namespace. To do this, it needs to know the request's destination IP. For this the RDMA IP CM packet formatting functionality needs to be exposed to ib_cm. This patch

[PATCH v2 07/11] IB/cm: Add network namespace support

2015-04-20 Thread Haggai Eran
From: Guy Shapiro gu...@mellanox.com Add namespace support to the IB-CM layer. - Each CM-ID now has a network namespace it is associated with, assigned at creation. This namespace is used as needed during subsequent action on the CM-ID or related objects. - All of the relevant calls to

[PATCH v2 09/11] IB/cma: Add support for network namespaces

2015-04-20 Thread Haggai Eran
From: Guy Shapiro gu...@mellanox.com Add support for network namespaces in the ib_cma module. This is accomplished by: 1. Adding network namespace parameter for rdma_create_id. This parameter is used to populate the network namespace field in rdma_id_private. rdma_create_id keeps a

[PATCH v2 11/11] IB/ucm: Add partial support for network namespaces

2015-04-20 Thread Haggai Eran
From: Shachar Raindel rain...@mellanox.com It is impossible to completely support network namespaces for UCM, as we cannot identify the target IPoIB device. However, we add support which will work if the user is following the IB-Spec Annex 11 (RDMA IP CM Services) with the service ID and private

[PATCH v2 04/11] IB/core: Find the network namespace matching connection parameters

2015-04-20 Thread Haggai Eran
From: Yotam Kenneth yota...@mellanox.com In the case of IPoIB, and maybe in other cases, the network device is managed by an upper-layer protocol (ULP). In order to expose this network device to other users of the IB device, let ULPs implement a callback that returns network device according to

Re: [PATCH v2 00/11] Add network namespace support in the RDMA-CM

2015-04-20 Thread Steve Wise
Hey Haggai, Did you check for changes needed in drivers/infiniband/core/iwcm.c? I notice that it uses init_net here: static int __init iw_cm_init(void) { iwcm_wq = create_singlethread_workqueue(iw_cm_wq); if (!iwcm_wq) return -ENOMEM;

Re: [PATCHSET] printk, netconsole: implement reliable netconsole

2015-04-20 Thread Tejun Heo
Hello, Rob. On Sun, Apr 19, 2015 at 02:25:09AM -0500, Rob Landley wrote: If you have two machines plugged into a hub, and that's _all_ that's plugged in, packets should never get dropped. This was the original use case of netconsole was that the sender and the receiver were plugged into the

Re: Problem with patch make nlmsg_end() and genlmsg_end() void

2015-04-20 Thread David Woodhouse
On Wed, 2015-04-08 at 15:12 +0100, David Woodhouse wrote: On Wed, 2015-04-08 at 15:08 +0200, Johannes Berg wrote: Additionally, the failure mode of this was the process running out of memory due to receiving the same results over and over again - does that happen for you? It seems it was

Re: [PATCH] etherdevice: Add ether_addr_copy_unaligned

2015-04-20 Thread David Miller
From: Mateusz Kulikowski mateusz.kulikow...@gmail.com Date: Sun, 19 Apr 2015 23:39:37 +0200 Some drivers require copying unaligned ethernet addresses. Using memcpy() causes checkpatch warnings and may cause regressions (someone will fix alignment of packed structure) Signed-off-by: Mateusz

Re: [PATCH net-next 0/2] net: Fix hw csum failure message flood for ppp tunnel

2015-04-20 Thread David Miller
Your postings seem to have trouble reaching the list, and therefore patchwork as well. Can you try one more time? Otherwise I'm the only person seeing these patches, which is kinda pointless, especially since you would like this patch series to get some testing. Thanks. -- To unsubscribe from

Re: [PATCH v2] ip_forward: Drop frames with attached skb-sk

2015-04-20 Thread David Miller
From: Sebastian Poehn sebastian.po...@gmail.com Date: Mon, 20 Apr 2015 09:19:20 +0200 Initial discussion was: [FYI] xfrm: Don't lookup sk_policy for timewait sockets Forwarded frames should not have a socket attached. Especially tw sockets will lead to panics later-on in the stack. This

Re: [PATCH v2] pppoe: Lacks DST MAC address check

2015-04-20 Thread David Miller
From: Joakim Tjernlund joakim.tjernl...@transmode.se Date: Sat, 18 Apr 2015 11:53:14 +0200 A pppoe session is identified by its session ID and MAC address. Currently pppoe does not check if the received pkg has the correct MAC address. This is a problem when the eth I/F is in promisc mode as

Re: [PATCH 2/7] turn Makefile more distribution friendly

2015-04-20 Thread Stephen Hemminger
On Mon, 13 Apr 2015 16:00:56 +0200 Pavel Šimerda pav...@pavlix.net wrote: From: Pavel Šimerda psime...@redhat.com Changes: * Accept directory settings from environment. * Remove redundant ROOTDIR variable. * Set KERNEL_INCLUDE default to '/usr/include'. * Use CFLAGS from

Re: [PATCH iproute2] ipxfrm: wrong nl msg sent on deleteall cmd

2015-04-20 Thread Stephen Hemminger
On Wed, 15 Apr 2015 14:00:53 +0200 Nicolas Dichtel nicolas.dich...@6wind.com wrote: XFRM netlink family is independent from the route netlink family. It's wrong to call rtnl_wilddump_request(), because it will add a 'struct ifinfomsg' into the header and the kernel will complain (at least for

Re: [PATCH v2 02/11] IB/addr: Pass network namespace as a parameter

2015-04-20 Thread Jason Gunthorpe
On Mon, Apr 20, 2015 at 12:03:33PM +0300, Haggai Eran wrote: +/** rdma_addr_find_smac_by_sgid() - Find the src MAC and VLAN ID for a src GID + * @sgid:Source GID to find the MAC and VLAN for. + * @smac:A buffer to contain the resulting MAC address. + * @vlan_id: Will contain the

Re: [PATCH v2 01/11] RDMA/CMA: Mark IPv4 addresses correctly when the listener is IPv6

2015-04-20 Thread Jason Gunthorpe
On Mon, Apr 20, 2015 at 12:03:32PM +0300, Haggai Eran wrote: From: Yotam Kenneth yota...@mellanox.com When accepting a new connection with the listener being IPv6, the family of the new connection is set as IPv6. This causes cma_zero_addr function to return true on an non-zero address. As a

Re: [PATCH iproute2-next 2/2] netns: allow to dump and monitor nsid

2015-04-20 Thread Stephen Hemminger
On Thu, 9 Apr 2015 08:30:14 + Nicolas Dichtel nicolas.dich...@6wind.com wrote: Two commands are added: - ip netns list-id - ip monitor nsid A cache is also added to remember the association between the iproute2 netns name (from /var/run/netns/) and the nsid. To avoid interfering

Re: [PATCH iproute2] tc util: Fix possible buffer overflow when print class id

2015-04-20 Thread Stephen Hemminger
On Mon, 20 Apr 2015 08:33:32 +0300 Vadim Kochan vadi...@gmail.com wrote: From: Vadim Kochan vadi...@gmail.com Use correct handle buffer length. Signed-off-by: Vadim Kochan vadi...@gmail.com Looks fine, applied. -- To unsubscribe from this list: send the line unsubscribe netdev in the

Re: [PATCH v2 net-next] ip: Add color output option

2015-04-20 Thread Stephen Hemminger
On Sat, 18 Apr 2015 13:39:45 +0300 Mathias Nyman m.ny...@iki.fi wrote: It is hard to quickly find what you are looking for in the output of the ip command. Color helps. This patch adds a '-c' flag to highlight these with individual colors: - interface name - ip address - mac

YOUR MONEY IS APPROVED.

2015-04-20 Thread HEAD OFFICE
YOUR MONEY IS APPROVED. FROM ALBERTA / CANADIAN OIL GAS VIEW THE ATTACHMENT. YOUR MONEY IS APPROVED..pdf Description: Adobe PDF document YOUR MONEY IS APPROVED..pdf Description: Adobe PDF document

Re: [PATCH v2 07/11] IB/cm: Add network namespace support

2015-04-20 Thread Jason Gunthorpe
On Mon, Apr 20, 2015 at 12:03:38PM +0300, Haggai Eran wrote: From: Guy Shapiro gu...@mellanox.com Add namespace support to the IB-CM layer. - Each CM-ID now has a network namespace it is associated with, assigned at creation. This namespace is used as needed during subsequent action on

Re: [PATCH 04/16] printk: implement support for extended console drivers

2015-04-20 Thread Petr Mladek
On Thu 2015-04-16 19:03:41, Tejun Heo wrote: printk log_buf keeps various metadata for each message including its sequence number and timestamp. The metadata is currently available only through /dev/kmsg and stripped out before passed onto console drivers. We want this metadata to be

Re: [PATCH V1 net-next] IB/ipoib: Fix ndo_get_iflink

2015-04-20 Thread Doug Ledford
On Mon, 2015-04-20 at 12:21 +0300, Or Gerlitz wrote: On Mon, Apr 20, 2015 at 11:16 AM, Haggai Eran hagg...@mellanox.com wrote: On 17/04/2015 22:21, David Miller wrote: From: Erez Shitrit ere...@mellanox.com Date: Thu, 16 Apr 2015 16:34:34 +0300 Currently, iflink of the parent interface

Re: [PATCH V1 net-next] IB/ipoib: Fix ndo_get_iflink

2015-04-20 Thread David Miller
From: Haggai Eran hagg...@mellanox.com Date: Mon, 20 Apr 2015 11:16:34 +0300 On 17/04/2015 22:21, David Miller wrote: From: Erez Shitrit ere...@mellanox.com Date: Thu, 16 Apr 2015 16:34:34 +0300 Currently, iflink of the parent interface was always accessed, even when interface didn't have

Re: [RFC PATCH 06/10] ipv6: Avoid deleting RTF_CACHE route from ip6_route_del()

2015-04-20 Thread David Miller
From: Martin KaFai Lau ka...@fb.com Date: Fri, 10 Apr 2015 18:54:09 -0700 Before patch 'Allow pmtu update on /128 via gateway route', RTF_CACHE route was not created for DST_HOST. It also requires changes on both delete code path and rt6_select() code patch. This patch fixes the delete

Re: [RFC PATCH 04/10] ipv6: Only create RTF_CACHE routes after encountering pmtu exception

2015-04-20 Thread David Miller
From: Martin KaFai Lau ka...@fb.com Date: Fri, 10 Apr 2015 18:54:07 -0700 @@ -1171,8 +1170,15 @@ void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, fl6.flowlabel = ip6_flowinfo(iph); dst = ip6_route_output(net, NULL, fl6); - if (!dst-error) + if

[PATCHv3] pppoe: Lacks DST MAC address check

2015-04-20 Thread Joakim Tjernlund
From: Joakim Tjernlund joakim.tjernl...@transmode.se A pppoe session is identified by its session ID and MAC address. Currently pppoe does not check if the received pkg has the correct MAC address. This is a problem when the eth I/F is in promisc mode as then any DST MAC address is accepted.

Bug 61651 - [regression] Wake-on-LAN broken in alx (AR8161)

2015-04-20 Thread Christ-Jan Wijtmans
Apologies if this is the wrong place or wrong format but since a while multiple people want this functionality back into the ALX driver and also claim that the reason for removing the functionality no longer applies in new kernels. Also i believe that it could at least be made an option in the

Re: [RFC PATCH 04/10] ipv6: Only create RTF_CACHE routes after encountering pmtu exception

2015-04-20 Thread David Miller
From: Martin KaFai Lau ka...@fb.com Date: Fri, 10 Apr 2015 18:54:07 -0700 + if (!(rt6-rt6i_flags RTF_CACHE) + (!(rt6-rt6i_flags (RTF_NONEXTHOP | RTF_GATEWAY)) || + !(rt6-dst.flags DST_HOST))) { These big convoluted tests are tiring to read over and over again. At the

Re: [RFC PATCH 00/10] ipv6: Only create RTF_CACHE route after encountering pmtu exception

2015-04-20 Thread David Miller
From: Martin KaFai Lau ka...@fb.com Date: Fri, 10 Apr 2015 18:54:03 -0700 This series is to avoid creating a RTF_CACHE route whenever we are consulting the fib6 tree with a new destination. Instead, only create RTF_CACHE route when we see a pmtu exception. Please separate out the pure bug

Re: [PATCH v2 01/11] RDMA/CMA: Mark IPv4 addresses correctly when the listener is IPv6

2015-04-20 Thread Or Gerlitz
On Mon, Apr 20, 2015 at 7:41 PM, Jason Gunthorpe jguntho...@obsidianresearch.com wrote: On Mon, Apr 20, 2015 at 12:03:32PM +0300, Haggai Eran wrote: From: Yotam Kenneth yota...@mellanox.com When accepting a new connection with the listener being IPv6, the family of the new connection is set

Re: [PATCH v2] pppoe: Lacks DST MAC address check

2015-04-20 Thread Joakim Tjernlund
On Mon, 2015-04-20 at 14:11 -0400, David Miller wrote: From: Joakim Tjernlund joakim.tjernl...@transmode.se Date: Sat, 18 Apr 2015 11:53:14 +0200 A pppoe session is identified by its session ID and MAC address. Currently pppoe does not check if the received pkg has the correct MAC

Re: [PATCH 03/11] time/hrtimer:Introduce hrtimer_get_res64() with timespec64 type for getting the timer resolution

2015-04-20 Thread Thomas Gleixner
On Mon, 20 Apr 2015, Baolin Wang wrote: This patch introduces hrtimer_get_res64() function to get the timer resolution with timespec64 type, and moves the hrtimer_get_res() function into FYI, That function is about to go away, but it's not a big deal to sort that out once I applied the hrtimer

[PATCH 02/11] timekeeping:Introduce the current_kernel_time64() function with timespec64 type

2015-04-20 Thread Baolin Wang
This patch adds current_kernel_time64() function with timespec64 type, and makes current_kernel_time() 'static inline' and moves it to timekeeping.h file. It is convenient for user to get the current kernel time with timespec64 type, and delete the current_kernel_time() function easily in

[PATCH 07/11] time/alarmtimer:Convert to the new methods for k_clock structure

2015-04-20 Thread Baolin Wang
This patch changes to the new methods with timespec64/itimerspec64 type of k_clock structure, and converts the timespec/itimerspec type to timespec64/itimerspec64 typein alarmtimer.c file. Signed-off-by: Baolin Wang baolin.w...@linaro.org --- kernel/time/alarmtimer.c | 43

[PATCH 06/11] char/mmtimer:Convert to the 64bit methods for k_clock callback function

2015-04-20 Thread Baolin Wang
This patch converts to the 64bit methods for k_clock callback function, that converts the timespec type to timespec64 type and converts the itimerspec type to itimerspec64 type. Signed-off-by: Baolin Wang baolin.w...@linaro.org --- drivers/char/mmtimer.c | 36

[PATCH 05/11] time/posix-timers:Convert to the 64bit methods for k_clock callback functions

2015-04-20 Thread Baolin Wang
This patch converts the timepsec type to timespec64 type, and converts the itimerspec type to itimerspec64 type for the k_clock callback functions. This patch also converts the timespec type to timespec64 type for timekeeping_clocktai() function which is used only in the posix-timers.c file.

[PATCH 08/11] time/posix-clock:Convert to the 64bit methods for k_clock and posix_clock_operations structure

2015-04-20 Thread Baolin Wang
This patch converts the posix clock operations over to the new methods with timespec64/itimerspec64 type to making them ready for 2038, and it is based on the ptp patch series. And also changes to the 64bit methods for k_clock structure, that converts the timespec/itimerspec type to

[PATCH 01/11] linux/time64.h:Introduce the 'struct itimerspec64' for 64bit

2015-04-20 Thread Baolin Wang
This patch introduces the 'struct itimerspec64' for 64bit to replace itimerspec, and also introduces the conversion methods: itimerspec64_to_itimerspec() and itimerspec_to_itimerspec64(), that makes itimerspec to ready for 2038 year. Signed-off-by: Baolin Wang baolin.w...@linaro.org ---

[PATCH 03/11] time/hrtimer:Introduce hrtimer_get_res64() with timespec64 type for getting the timer resolution

2015-04-20 Thread Baolin Wang
This patch introduces hrtimer_get_res64() function to get the timer resolution with timespec64 type, and moves the hrtimer_get_res() function into include/linux/hrtimer.h as a 'static inline' helper that just calls hrtimer_get_res64. It is ready for 2038 year when getting the timer resolution by

[PATCH 04/11] posix timers:Introduce the 64bit methods with timespec64 type for k_clock structure

2015-04-20 Thread Baolin Wang
This patch introduces the new methods with timespec64 type for k_clcok structure, converts the timepsec type to timespec64 type in k_clock structure and converts the itimerspec type to itimerspec64 type to ready for 2038 issue. And also introduces the 64bit methods with timespec64 type for the

[PATCH 09/11] cputime:Introduce the cputime_to_timespec64/timespec64_to_cputime function

2015-04-20 Thread Baolin Wang
This patch introduces some functions for converting cputime to timespec64 and back, that repalce the timespec type with timespec64 type, as well as for arch/s390 and arch/powerpc architecture. And these new methods will replace the old cputime_to_timespec/timespec_to_cputime function to ready

[PATCH 11/11] k_clock:Remove the 32bit methods with timespec type

2015-04-20 Thread Baolin Wang
All of the k_clock users have been converted to the new methods. This patch removes the older methods with timepsec/itimerspec type. As a result, the k_clock structure is ready for the year 2038. Signed-off-by: Baolin Wang baolin.w...@linaro.org --- include/linux/posix-timers.h |9 --

[PATCH 10/11] time/posix-cpu-timers:Convert to the 64bit methods for k_clock structure

2015-04-20 Thread Baolin Wang
This patch changes to the new methods of k_clock structure with timespec64 type, converts the timespec/itimerspec type to timespec64/itimerspec64 type for the callback function in posix-cpu-timers.c file. Signed-off-by: Baolin Wang baolin.w...@linaro.org --- kernel/time/posix-cpu-timers.c | 83

[PATCH 00/11] Convert the posix_clock_operations and k_clock structure to ready for 2038

2015-04-20 Thread Baolin Wang
This patch series changes the 32-bit time type (timespec/itimerspec) to the 64-bit one (timespec64/itimerspec64), since 32-bit time types will break in the year 2038. This patch series introduces new methods with timespec64/itimerspec64 type, and removes the old ones with timespec/itimerspec

Re: [PATCHv3] pppoe: Lacks DST MAC address check

2015-04-20 Thread David Miller
From: Joakim Tjernlund joakim.tjernl...@transmode.se Date: Mon, 20 Apr 2015 21:07:48 +0200 From: Joakim Tjernlund joakim.tjernl...@transmode.se A pppoe session is identified by its session ID and MAC address. Currently pppoe does not check if the received pkg has the correct MAC address.

  1   2   >