RE: [PATCH net-next V3 00/18] liquidio CN23XX support

2016-08-21 Thread Vatsavayi, Raghu
Please consider this one submission, tried to keep it close to 15 patches with support of new device cn23xx with new features. But Please let me know if you still want me to resubmit again this patch series. For future submissions I will surely limit it to 15 patches. Regards Raghu. >

[PATCH ethtool 3/3] ethtool: Document new ethtool advertise speeds

2016-08-21 Thread Yuval Mintz
Signed-off-by: Yuval Mintz --- This is actually quite a horrible API - i.e., forcing the user to use the same bits as defined in ethtool-copy.h instead of having some sort of translation. But as these issues are already existing with current modes [==> can't be changed

[PATCH ethtool 2/3] ethtool: Add support for 25g, 50g and 100g advertise

2016-08-21 Thread Yuval Mintz
Signed-off-by: Yuval Mintz --- ethtool.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/ethtool.c b/ethtool.c index 4aa4762..aa8f34d 100644 --- a/ethtool.c +++ b/ethtool.c @@ -512,6 +512,16 @@ static void

[PATCH ethtool 0/3] ethtool: Add support for new high speed adv.

2016-08-21 Thread Yuval Mintz
This allows ethtool to utilize the link capabilities/adv./lp bitmasks to show and set the additional 25g, 50g and 100g link speeds. Patches #1 & #2 are based on Vidya Sagar Ravipati's patches [with the only addition being the addition of the 50g SR2 mode], while patch #3 updates the man-page with

[PATCH ethtool 1/3] ethtool: Copy high-speed bits from ethtool.h

2016-08-21 Thread Yuval Mintz
Signed-off-by: Yuval Mintz --- ethtool-copy.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ethtool-copy.h b/ethtool-copy.h index 7c581ea..f14300c 100644 --- a/ethtool-copy.h +++ b/ethtool-copy.h @@ -1351,6 +1351,16 @@ enum

Re: [PATCH 2/2] tun: Rename a jump label in update_filter()

2016-08-21 Thread Mike Rapoport
On Mon, Aug 22, 2016 at 04:41:11AM +0300, Michael S. Tsirkin wrote: > On Sat, Aug 20, 2016 at 09:37:16AM +0200, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Sat, 20 Aug 2016 09:00:34 +0200 > > > > Adjust a jump target according to the Linux coding

Re: Subject: [PATCH ipsec-next 0/8] xfrm: policy: convert lookups to rcu

2016-08-21 Thread Steffen Klassert
On Fri, Aug 12, 2016 at 10:22:54AM +0200, Steffen Klassert wrote: > On Thu, Aug 11, 2016 at 03:17:51PM +0200, Florian Westphal wrote: > > Since commit d188ba86dd07a72eb ("xfrm: add rcu protection to > > sk->sk_policy[]") > > sk_policy can rely on rcu protection. > > > > This change allows to

Re: [PATCH net-next V3 00/18] liquidio CN23XX support

2016-08-21 Thread David Miller
18 patches is too many. Posting so many patches at one time imposes an undue burdon upon people who want to potentially review your work. Please keep it to 10 - 15 patches, maximum. Thank you.

Re: [PATCH] net: ip_finish_output_gso: Allow fragmenting segments of tunneled skbs if their DF is unset

2016-08-21 Thread wenxu
> In b8247f095e, > >"net: ip_finish_output_gso: If skb_gso_network_seglen exceeds MTU, allow > segmentation for local udp tunneled skbs" > > gso skbs arriving from an ingress interface that go through UDP > tunneling, are allowed to be fragmented if the resulting encapulated > segments exceed

Patch to netfilter conntrack for secondary connection logging

2016-08-21 Thread Thomas Winter
Hello, We are using netfilter to implement a firewall for a router and we had the problem that the ftp data connections were not being logged. I did some investigating and found that it is conntrack that is allowing the secondary connection by the ftp helper module. I created a patch to enable

linux-next: manual merge of the net-next tree with the net tree

2016-08-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c between commit: e0d8b2908696 ("cxgb4: Fixes resource allocation for ULD's in kdump kernel") from the net tree and commit: 94cdb8bb993a ("cxgb4: Add support for

Re: [PATCH 1/2] tun: Use memdup_user() rather than duplicating its implementation

2016-08-21 Thread Michael S. Tsirkin
On Sat, Aug 20, 2016 at 09:34:56AM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 20 Aug 2016 08:54:15 +0200 > > Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This issue was detected by using

Re: [PATCH 2/2] tun: Rename a jump label in update_filter()

2016-08-21 Thread Michael S. Tsirkin
On Sat, Aug 20, 2016 at 09:37:16AM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 20 Aug 2016 09:00:34 +0200 > > Adjust a jump target according to the Linux coding style convention. > > Signed-off-by: Markus Elfring

[PATCH v4 net-next] ppp: Fix one deadlock issue of PPP when reentrant

2016-08-21 Thread fgao
From: Gao Feng PPP channel holds one spinlock before send frame. But the skb may select the same PPP channel with wrong route policy. As a result, the skb reaches the same channel path. It tries to get the same spinlock which is held before. Bang, the deadlock comes out. Now

[PATCH net-next V3 13/18] liquidio: CN23XX IQ access

2016-08-21 Thread Raghu Vatsavayi
Adds support for Instruction Queue(IQ) index manipulation routines through bar1 of cn23xx. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

[PATCH net-next V3 11/18] liquidio: link and control commands

2016-08-21 Thread Raghu Vatsavayi
This patch adds work queue support for link status and control commands. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu

[PATCH net-next V3 16/18] liquidio: CN23XX health monitoring

2016-08-21 Thread Raghu Vatsavayi
Adds support for watchdog based health monitoring of octeon cores on cn23xx device. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by:

[PATCH net-next V3 08/18] liquidio: CN23XX queue manipulation

2016-08-21 Thread Raghu Vatsavayi
This patch adds support for cn23xx queue manipulation. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[PATCH net-next V3 00/18] liquidio CN23XX support

2016-08-21 Thread Raghu Vatsavayi
Dave, Following patchset adds support for new device "CN23XX" in liquidio family of adapters. This V3 patch also resolved all the comments from previous submission about: 1) Mixed declaration of variables. 2) Unnecessary parameter in netif_info debug statements. 3) Use of stringify for module

[PATCH net-next V3 18/18] liquidio:CN23XX pause frame support

2016-08-21 Thread Raghu Vatsavayi
Adds support for pause frame and priv flag for cn23xx device. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[PATCH net-next V3 04/18] liquidio: CN23XX register definitions

2016-08-21 Thread Raghu Vatsavayi
This patch adds register definitions and structures for new device cn23xx. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu

[PATCH net-next V3 12/18] liquidio: RX control commands

2016-08-21 Thread Raghu Vatsavayi
Adds support for RX control commands on cn23xx device. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[PATCH net-next V3 09/18] liquidio: MSIX support for CN23XX

2016-08-21 Thread Raghu Vatsavayi
This patch adds support msix interrupt for cn23xx device. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[PATCH net-next V3 02/18] liquidio: Firmware version management

2016-08-21 Thread Raghu Vatsavayi
This patch contains changes for firmware version management. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[PATCH net-next V3 15/18] liquidio: ethtool and led control support

2016-08-21 Thread Raghu Vatsavayi
This patch adds support for some control operations like LED identification, ethtool statistics and intr config for cn23xx device. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

[PATCH net-next V3 17/18] liquidio: CN23XX napi support

2016-08-21 Thread Raghu Vatsavayi
This patch adds NAPI related support for cn23xx device. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[PATCH net-next V3 07/18] liquidio: CN23XX register setup

2016-08-21 Thread Raghu Vatsavayi
Adds support for initializing cn23xx device registers related to mac, input/output and pf global config. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

[PATCH net-next V3 01/18] liquidio: Consolidate common functionality

2016-08-21 Thread Raghu Vatsavayi
Consolidate common functionality of various devices from different files into lio_core.c/octeon_console.c. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

[PATCH net-next V3 03/18] liquidio: Common enable irq function

2016-08-21 Thread Raghu Vatsavayi
Add support of common irq enable functionality for both iq(instruction queue) and oq(output queue). Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

[PATCH net-next V3 10/18] liquidio: CN23XX firmware download

2016-08-21 Thread Raghu Vatsavayi
Add firmware download support for cn23xx device. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[PATCH net-next V3 14/18] liquidio: CN23XX octeon3 instruction

2016-08-21 Thread Raghu Vatsavayi
Adds support for data path related changes based on octeon3 instruction header(ih3) for cn23xx. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas

Re: [PATCH v3 net-next] l2tp: Refactor the codes with existing macros instead of literal number

2016-08-21 Thread Feng Gao
inline On Mon, Aug 22, 2016 at 6:36 AM, Philp Prindeville wrote: > Inline > > > On 08/20/2016 09:52 AM, f...@48lvckh6395k16k5.yundunddos.com wrote: >> >> From: Gao Feng >> >> Use PPP_ALLSTATIONS, PPP_UI, and SEND_SHUTDOWN instead of 0xff, >> 0x03,

[PATCH net-next V3 05/18] liquidio: CN23XX queue definitions

2016-08-21 Thread Raghu Vatsavayi
Add support for cn23xx specific queue definitions and features. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[PATCH net-next V3 06/18] liquidio: CN23XX device init and sriov config

2016-08-21 Thread Raghu Vatsavayi
Add support for cn23xx device init and sriov queue config. Signed-off-by: Derek Chickles Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas Signed-off-by: Raghu Vatsavayi

[ethtool PATCH v3 1/4] ethtool-copy.h:sync with net

2016-08-21 Thread Vidya Sagar Ravipati
From: Vidya Sagar Ravipati This covers kernel changes upto: commit 3851112e4737cd52aaeda0ce8d084be9ee128106 Author: Vidya Sagar Ravipati Date: Sun May 22 23:59:00 2016 -0700 ethtool: add support for 25G/50G/100G speed modes This

[ethtool PATCH v3 2/4] ethtool:Reorganizing SFF-8024 fields for SFP/QSFP

2016-08-21 Thread Vidya Sagar Ravipati
From: Vidya Sagar Ravipati This patch provides following support a) Reorganized fields based out of SFF-8024 fields i.e. Identifier/ Encoding/Connector types which are common across SFP/SFP+ (SFF-8472) and QSFP+/QSFP28 (SFF-8436/SFF-8636) modules into sff-common

[ethtool PATCH v3 3/4] ethtool:QSFP Plus/QSFP28 Diagnostics Information Support

2016-08-21 Thread Vidya Sagar Ravipati
From: Vidya Sagar Ravipati This patch provides following support a) Support for diagnostics information for QSFP Plus/QSFP28 modules based on SFF-8436/SFF-8636 Standards for QSFP+/QSFP28 a) QSFP+/QSFP28 - SFF 8636 Rev 2.7 dated January 26,2016 b) SFF-8024 Rev 4.0

[ethtool PATCH v3 0/4] Add support for QSFP+/QSFP28 Diagnostics and 25G/50G/100G port speeds

2016-08-21 Thread Vidya Sagar Ravipati
From: Vidya Sagar Ravipati This patch series provides following support a) Reorganized fields based out of SFF-8024 fields i.e. Identifier/ Encoding/Connector types which are common across SFP/SFP+ (SFF-8472) and QSFP+/QSFP28 (SFF-8436/SFF-8636) modules into

[ethtool PATCH v3 4/4] ethtool: Enhancing link mode bits to support 25G/50G/100G

2016-08-21 Thread Vidya Sagar Ravipati
From: Vidya Sagar Ravipati Enhancing link mode bits to support 25G/50G/100G for supported and advertised speed mode bits Signed-off-by: Vidya Sagar Ravipati Acked-By: David Decotigny --- ethtool.c | 27

Re: [PATCH v3 net-next] l2tp: Refactor the codes with existing macros instead of literal number

2016-08-21 Thread David Miller
From: Philp Prindeville Date: Sun, 21 Aug 2016 16:36:52 -0600 > Inline Sorry, I applied this already, I'll revert it.

[PATCH -next v2] net: phy: Add missing of_node_put() in xgmiitorgmii_probe()

2016-08-21 Thread Wei Yongjun
This node pointer is returned by of_parse_phandle() with refcount incremented in this function. of_node_put() on it before exitting this function. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun --- v1 -> v2: release it unconditionally as Andrew and

Re: [PATCH v3 net-next] l2tp: Refactor the codes with existing macros instead of literal number

2016-08-21 Thread Philp Prindeville
Inline On 08/20/2016 09:52 AM, f...@48lvckh6395k16k5.yundunddos.com wrote: From: Gao Feng Use PPP_ALLSTATIONS, PPP_UI, and SEND_SHUTDOWN instead of 0xff, 0x03, and 2 separately. Signed-off-by: Gao Feng --- v3: Modify the subject; v2: Only replace the

Re: [PATCH -next] net: phy: Add missing of_node_put() in xgmiitorgmii_probe()

2016-08-21 Thread David Miller
From: Andrew Lunn Date: Sat, 20 Aug 2016 19:36:05 +0200 > On Sat, Aug 20, 2016 at 03:26:55PM +, Wei Yongjun wrote: >> This node pointer is returned by of_parse_phandle() with >> refcount incremented in this function. of_node_put() on it >> before exitting this function. > >

Re: [PATCH -next] cxgb4: Simplify the return expression

2016-08-21 Thread David Miller
From: Wei Yongjun Date: Sat, 20 Aug 2016 15:32:41 + > Simplify the return expression. > > Signed-off-by: Wei Yongjun Applied.

Re: [PATCH v3 net-next] l2tp: Refactor the codes with existing macros instead of literal number

2016-08-21 Thread David Miller
From: f...@ikuai8.com Date: Sat, 20 Aug 2016 23:52:27 +0800 > From: Gao Feng > > Use PPP_ALLSTATIONS, PPP_UI, and SEND_SHUTDOWN instead of 0xff, > 0x03, and 2 separately. > > Signed-off-by: Gao Feng Applied.

Re: [PATCH] net: tehuti: fix typo: "eneble" -> "enable"

2016-08-21 Thread David Miller
From: Colin King Date: Sun, 21 Aug 2016 15:24:33 +0100 > From: Colin Ian King > > trivial typo fix in pr_err message > > Signed-off-by: Colin Ian King Applied, thanks.

Re: [RFC PATCH 4/5] net: filter: run cgroup eBPF programs

2016-08-21 Thread Sargun Dhillon
On Wed, Aug 17, 2016 at 04:00:47PM +0200, Daniel Mack wrote: > If CONFIG_CGROUP_BPF is enabled, and the cgroup associated with the > receiving socket has an eBPF programs installed, run them from > sk_filter_trim_cap(). > > eBPF programs used in this context are expected to either return 1 to >

Re: [ethtool PATCH v2 4/4] ethtool: Enhancing link mode bits to support 25G/50G/100G

2016-08-21 Thread Michael Chan
On Sun, Aug 21, 2016 at 7:44 AM, Yuval Mintz wrote: >> Ping? >> >> On Tue, Aug 02, 2016 at 03:49:57PM -0400, John W. Linville wrote: >> > Are these revised patches still on their way? >> > >> > John >> > >> > On Sun, Jul 24, 2016 at 01:57:14AM -0700, Vidya Sagar Ravipati

[PATCH -next] netfilter: nft_hash: fix non static symbol warning

2016-08-21 Thread Wei Yongjun
Fixes the following sparse warning: net/netfilter/nft_hash.c:40:25: warning: symbol 'nft_hash_policy' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- net/netfilter/nft_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [ethtool PATCH v2 4/4] ethtool: Enhancing link mode bits to support 25G/50G/100G

2016-08-21 Thread Yuval Mintz
> Ping? > > On Tue, Aug 02, 2016 at 03:49:57PM -0400, John W. Linville wrote: > > Are these revised patches still on their way? > > > > John > > > > On Sun, Jul 24, 2016 at 01:57:14AM -0700, Vidya Sagar Ravipati wrote: > > > Yuval, > > > I will try to resubmit the patches this week with

[PATCH] net: tehuti: fix typo: "eneble" -> "enable"

2016-08-21 Thread Colin King
From: Colin Ian King trivial typo fix in pr_err message Signed-off-by: Colin Ian King --- drivers/net/ethernet/tehuti/tehuti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/tehuti/tehuti.c

Re: [PATCH v2 3/4] net: stmmac: add a glue driver for the Amlogic Meson 8b / GXBB DWMAC

2016-08-21 Thread Martin Blumenstingl
Hi Joachim, On Sat, Aug 20, 2016 at 11:29 PM, Joachim Eastwood wrote: >> + platform_set_drvdata(pdev, dwmac); > > This will not work. The main stmmac driver already uses the driver_data field. > See: >

[PATCH] net: ip_finish_output_gso: Allow fragmenting segments of tunneled skbs if their DF is unset

2016-08-21 Thread Shmulik Ladkani
In b8247f095e, "net: ip_finish_output_gso: If skb_gso_network_seglen exceeds MTU, allow segmentation for local udp tunneled skbs" gso skbs arriving from an ingress interface that go through UDP tunneling, are allowed to be fragmented if the resulting encapulated segments exceed the dst mtu