Re: [PATCH ipsec-next] xfrm: Use VRF master index if output device is enslaved

2015-08-19 Thread Steffen Klassert
On Wed, Aug 19, 2015 at 11:35:55AM -0700, David Ahern wrote: I think you should use the new vrf_master_index() helper that acquires rcu because it looks possible to call -decode_session() without rcu read lock, e.g. in the hold_timer function xfrm_policy_queue_process(), though I haven’t

Re: [PATCH v2 net-next 11/13] vxlan: metadata based tunneling for IPv6

2015-08-19 Thread Thomas Graf
On 08/19/15 at 12:10pm, Jiri Benc wrote: Support metadata based (formerly flow based) tunneling also for IPv6. This complements commit ee122c79d422 (vxlan: Flow based tunneling). Signed-off-by: Jiri Benc jb...@redhat.com Acked-by: Thomas Graf tg...@suug.ch -- To unsubscribe from this list:

Re: [PATCH v2 net-next 12/13] ipv6: route: extend flow representation with tunnel key

2015-08-19 Thread Thomas Graf
On 08/19/15 at 12:10pm, Jiri Benc wrote: Use flowi_tunnel in flowi6 similarly to what is done with IPv4. This complements commit 1b7179d3adff (route: Extend flow representation with tunnel key). Signed-off-by: Jiri Benc jb...@redhat.com Acked-by: Thomas Graf tg...@suug.ch -- To unsubscribe

[PATCH] net: Fix nexthop lookups

2015-08-19 Thread David Ahern
Andreas reported breakage adding routes with local nexthops: $ ip route show table main ... 172.28.0.0/24 dev vnf-xe1p0 proto kernel scope link src 172.28.0.16 $ ip route add 10.0.0.0/8 via 172.28.0.32 table 100 dev vnf-xe1p0 RTNETLINK answers: Resource temporarily unavailable 3bfd847203c

Re: [PATCH 20/21] net: warn if drivers set tx_queue_len = 0

2015-08-19 Thread Phil Sutter
Hi, On Tue, Aug 18, 2015 at 07:47:28AM -0700, Eric Dumazet wrote: On Tue, 2015-08-18 at 10:30 +0200, Phil Sutter wrote: Due to the introduction of IFF_NO_QUEUE, there is a better way for drivers to indicate that no qdisc should be attached by default. Though, the old convention can't be

[RFC/PATCH] xgene mac/phy cleanup

2015-08-19 Thread Jeremy Linton
This patch converts the xgene driver to use some common ACPI/DT agnostic functions for retrieving MAC and PHY settings. I don't have a way to test them at the moment, so if someone can verify they work that would be great. BTW: These patches are against net-next. Thanks, Jeremy Linton (1):

[PATCH] net: xgene Remove xgene specific phy and MAC lookup functions

2015-08-19 Thread Jeremy Linton
Convert the xgene_get_mac_address to device_get_mac_address(), and xgene_get_phy_mode() to device_get_phy_mode(). Signed-off-by: Jeremy Linton jeremy.lin...@arm.com --- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 38 ++-- 1 file changed, 2 insertions(+), 36

[PATCH 08/15] netfilter: nft_limit: add burst parameter

2015-08-19 Thread Pablo Neira Ayuso
This patch adds the burst parameter. This burst indicates the number of packets that can exceed the limit. Signed-off-by: Pablo Neira Ayuso pa...@netfilter.org --- include/uapi/linux/netfilter/nf_tables.h |2 ++ net/netfilter/nft_limit.c| 20 ++-- 2 files

[PATCH 09/15] netfilter: nft_limit: constant token cost per packet

2015-08-19 Thread Pablo Neira Ayuso
The cost per packet can be calculated from the control plane path since this doesn't ever change. Signed-off-by: Pablo Neira Ayuso pa...@netfilter.org --- net/netfilter/nft_limit.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git

Re: [RFC v2 3/3] iwlwifi: mvm: transfer the truesize to the last TSO segment

2015-08-19 Thread Grumbach, Emmanuel
Hi, On 08/19/2015 10:10 PM, Sergei Shtylyov wrote: Hello. On 08/19/2015 03:59 PM, Emmanuel Grumbach wrote: This allows to release the backpressure on the socket only when the last segment is released. Now the truesize looks like this: if the truesize of the original skb is 65420, all

Re: [RFC v2 3/3] iwlwifi: mvm: transfer the truesize to the last TSO segment

2015-08-19 Thread Sergei Shtylyov
On 08/19/2015 10:12 PM, Grumbach, Emmanuel wrote: This allows to release the backpressure on the socket only when the last segment is released. Now the truesize looks like this: if the truesize of the original skb is 65420, all the segments will have a truesize of 704 (skb itself) and the last

Re: [PATCH] r8169: Add values missing in @get_stats64 from HW counters

2015-08-19 Thread Corinna Vinschen
On Aug 19 16:24, Corinna Vinschen wrote: On Aug 19 15:07, Corinna Vinschen wrote: On Aug 19 09:31, Hayes Wang wrote: Corinna Vinschen [mailto:vinsc...@redhat.com] Sent: Wednesday, August 19, 2015 5:13 PM [...] It could be cleared by setting bit 0, such as rtl_tally_reset() of

Re: [PATCH net-next v2 7/9] geneve: Consolidate Geneve functionality in single module.

2015-08-19 Thread Pravin Shelar
On Wed, Aug 19, 2015 at 12:50 PM, Jesse Gross je...@nicira.com wrote: On Wed, Aug 19, 2015 at 11:49 AM, Pravin Shelar pshe...@nicira.com wrote: On Wed, Aug 19, 2015 at 11:37 AM, Jesse Gross je...@nicira.com wrote: On Wed, Aug 19, 2015 at 11:29 AM, Pravin Shelar pshe...@nicira.com wrote: On

Re: [PATCH 20/21] net: warn if drivers set tx_queue_len = 0

2015-08-19 Thread Phil Sutter
On Wed, Aug 19, 2015 at 08:39:24PM +0200, Phil Sutter wrote: [...] I'll start implementing the above immediately, but would appreciate to hear your comments on it meanwhile. I wonder especially what makes the difference between pfifo and pfifo_fast and why the latter can't be selected

Re: [PATCHv4 net-next 05/10] openvswitch: Add conntrack action

2015-08-19 Thread Pravin Shelar
On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer joestrin...@nicira.com wrote: Expose the kernel connection tracker via OVS. Userspace components can make use of the ct() action, followed by recirculate, to populate the conntracking state in the OVS flow key, and subsequently match on that state.

Re: [PATCH net-next v2 7/9] geneve: Consolidate Geneve functionality in single module.

2015-08-19 Thread Jesse Gross
On Wed, Aug 19, 2015 at 11:29 AM, Pravin Shelar pshe...@nicira.com wrote: On Wed, Aug 19, 2015 at 11:18 AM, Jesse Gross je...@nicira.com wrote: My guess is that if the issue from the earlier patch about overlapping collect_md tunnels is fixed then that might allow us to simplify things a

Re: [PATCH net-next v2 8/9] geneve: Move device hash table to geneve socket.

2015-08-19 Thread Jesse Gross
On Mon, Aug 17, 2015 at 2:11 PM, Pravin B Shelar pshe...@nicira.com wrote: This change simplifies Geneve Tunnel hash table management. Signed-off-by: Pravin B Shelar pshe...@nicira.com Reviewed-by: Jesse Gross je...@nicira.com -- To unsubscribe from this list: send the line unsubscribe netdev

Re: [PATCH net-next] vrf: plug skb leaks

2015-08-19 Thread Nikolay Aleksandrov
On Aug 19, 2015, at 8:27 PM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: On Aug 19, 2015 20:13, David Ahern d...@cumulusnetworks.com wrote: Hi Nikolay: On 8/18/15 8:12 PM, Nikolay Aleksandrov wrote: diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index

Re: [PATCH 20/21] net: warn if drivers set tx_queue_len = 0

2015-08-19 Thread Eric Dumazet
On Wed, 2015-08-19 at 22:21 +0200, Phil Sutter wrote: On Wed, Aug 19, 2015 at 08:39:24PM +0200, Phil Sutter wrote: [...] I'll start implementing the above immediately, but would appreciate to hear your comments on it meanwhile. I wonder especially what makes the difference between pfifo

Re: [PATCH v2 net-next 13/13] ipv6: route: per route IP tunnel metadata via lightweight tunnel

2015-08-19 Thread Thomas Graf
On 08/19/15 at 12:10pm, Jiri Benc wrote: Allow specification of per route IP tunnel instructions also for IPv6. This complements commit 3093fbe7ff4b (route: Per route IP tunnel metadata via lightweight tunnel). Signed-off-by: Jiri Benc jb...@redhat.com Acked-by: Thomas Graf tg...@suug.ch --

Re: [PATCH v1 1/6] net: phy: broadcom: add bcm54220 phy ID

2015-08-19 Thread Florian Fainelli
2015-08-18 22:33 GMT-07:00 Fugang Duan b38...@freescale.com: Add bcm54220 phy ID entry. This change itself is fine, but looking at the rest of your changes, we are not adding an entry for this PHY in drivers/net/phy/broadcom.c, which means that we will bind to the Generic PHY driver, and so this

Re: [PATCHv4 net-next 10/10] openvswitch: Allow attaching helpers to ct action

2015-08-19 Thread Pravin Shelar
On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer joestrin...@nicira.com wrote: Add support for using conntrack helpers to assist protocol detection. The new OVS_CT_ATTR_HELPER attribute of the ct action specifies a helper to be used for this connection. Example ODP flows allowing FTP connections

Re: [PATCH] bluetooth:Make the function sco_conn_del have a return type of void

2015-08-19 Thread Marcel Holtmann
Hi Nicholas, This makes the function sco_conn_del have a return type of void now due to this function always running successfully and thus never needing to signal its caller when a non recoverable internal failure occurs by returning a error code to its respective caller. Signed-off-by:

Re: [PATCH 07/10] ss: renaming and export of current_filter

2015-08-19 Thread Stephen Hemminger
The series looks good, but this patch does not apply to current master branch. The rejected part was. --- misc/ss.c +++ misc/ss.c @@ -3273,7 +3273,7 @@ int main(int argc, char *argv[]) { char *p, *p1; if (!saw_query) { -

Re: [PATCH net-next v2 9/9] geneve: Implement rtnl changelink

2015-08-19 Thread Jesse Gross
On Wed, Aug 19, 2015 at 1:12 PM, Pravin Shelar pshe...@nicira.com wrote: On Wed, Aug 19, 2015 at 12:40 PM, Jesse Gross je...@nicira.com wrote: On Mon, Aug 17, 2015 at 2:11 PM, Pravin B Shelar pshe...@nicira.com wrote: diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c index

Re: [PATCH iproute2] ip: replace exit with return

2015-08-19 Thread Stephen Hemminger
On Tue, 11 Aug 2015 09:40:23 + Zhang Shengju zhangshen...@cmss.chinamobile.com wrote: In our manual, we have this description of 'EXIT STATUS': Exit status is 0 if command was successful, and 1 if there is a syntax error. But we exit in command functions with code -1 when there is a

Re: [PATCH iproute2] ip-link: cut one level indentation

2015-08-19 Thread Stephen Hemminger
On Fri, 14 Aug 2015 03:13:41 + Zhang Shengju zhangshen...@cmss.chinamobile.com wrote: Cut one level indentation to make things easier to read. Signed-off-by: Zhang Shengju zhangshen...@cmss.chinamobile.com Applied -- To unsubscribe from this list: send the line unsubscribe netdev in the

RE: [Intel-wired-lan] [Patch V3 5/9] i40e: Use numa_mem_id() to better support memoryless node

2015-08-19 Thread Patil, Kiran
Acked-by: Kiran Patil kiran.pa...@intel.com -Original Message- From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Jiang Liu Sent: Sunday, August 16, 2015 8:19 PM To: Andrew Morton; Mel Gorman; David Rientjes; Mike Galbraith; Peter Zijlstra; Wysocki,

Re: [PATCH] net: Provide lwtstate_free for non-lwt config

2015-08-19 Thread Alex Gartrell
On Wed, Aug 19, 2015 at 3:16 PM, Alex Gartrell agartr...@fb.com wrote: Fixes: df383e624 (lwtunnel: fix memory leak) Ah sorry, this is PATCH net-next, obviously :/ -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More

[PATCH net-next] net: dsa: mv88e6xxx: set 802.1Q mode to Fallback

2015-08-19 Thread Vivien Didelot
The current Secure port mode requires the port-based VLANs to also be valid in the 802.1Q VLAN Table Unit. The current hardware bridging support only configures the port-based VLANs, thus is broken. A new patchset is required to adapt the hardware bridging code to fully support the Secure port

Re: [PATCHv4 net-next 09/10] openvswitch: Allow matching on conntrack label

2015-08-19 Thread Joe Stringer
Thanks for the review, On 19 August 2015 at 14:24, Pravin Shelar pshe...@nicira.com wrote: On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer joestrin...@nicira.com wrote: Allow matching and setting the conntrack label field. As with ct_mark, this is populated by executing the CT action, and is a

Re: [PATCH] net: Provide lwtstate_free for non-lwt config

2015-08-19 Thread Eric Dumazet
On Wed, 2015-08-19 at 15:41 -0700, Alex Gartrell wrote: On Wed, Aug 19, 2015 at 3:16 PM, Alex Gartrell agartr...@fb.com wrote: Fixes: df383e624 (lwtunnel: fix memory leak) Ah sorry, this is PATCH net-next, obviously :/ We've seen similar patches earlier today on netdev ;) -- To

Re: [iproute PATCH] ip-address.8.in: fix BNF syntax error

2015-08-19 Thread Stephen Hemminger
On Tue, 18 Aug 2015 16:11:12 + Phil Sutter p...@nwl.cc wrote: The previous man page fixup introduced a syntax error due to missing opening bracket, which might crash some humanoid BNF parsers. Fixes: 4e972d5 (ip-address: fix and extend documentation) Signed-off-by: Phil Sutter

Re: [PATCH net-next] vrf: plug skb leaks

2015-08-19 Thread David Ahern
On 8/19/15 1:17 PM, Nikolay Aleksandrov wrote: On Aug 19, 2015, at 8:27 PM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: On Aug 19, 2015 20:13, David Ahern d...@cumulusnetworks.com wrote: Hi Nikolay: On 8/18/15 8:12 PM, Nikolay Aleksandrov wrote: diff --git

Re: [PATCHv4 net-next 09/10] openvswitch: Allow matching on conntrack label

2015-08-19 Thread Pravin Shelar
On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer joestrin...@nicira.com wrote: Allow matching and setting the conntrack label field. As with ct_mark, this is populated by executing the CT action, and is a writable field. Specifying a label and optional mask allows the label to be modified, which

Re: [PATCH net-next 0/3] D in DSA patches

2015-08-19 Thread Florian Fainelli
2015-08-17 14:52 GMT-07:00 Andrew Lunn and...@lunn.ch: The D in DSA is distributed, meaning multiple switches can be connected together. Currently no mainline system does this, and so the code is broken. This patchset contains two fixes, and a small helper. With three of more switches, the

Re: [PATCHv4 net-next 06/10] openvswitch: Allow matching on conntrack mark

2015-08-19 Thread Pravin Shelar
On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer joestrin...@nicira.com wrote: Allow matching and setting the conntrack mark field. As with conntrack state and zone, these are populated when the CT action is executed, and are made available for matching via RECIRC. To write to this field, a value

Re: [PATCHv4 net-next 07/10] netfilter: Always export nf_connlabels_replace()

2015-08-19 Thread Pravin Shelar
On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer joestrin...@nicira.com wrote: The following patches will reuse this code from OVS. Signed-off-by: Joe Stringer joestrin...@nicira.com Acked-by: Pravin B Shelar pshe...@nicira.com -- To unsubscribe from this list: send the line unsubscribe netdev in

Re: [PATCHv4 net-next 08/10] netfilter: connlabels: Export setting connlabel length

2015-08-19 Thread Pravin Shelar
On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer joestrin...@nicira.com wrote: Add functions to change connlabel length into nf_conntrack_labels.c so they may be reused by other modules like OVS and nftables without needing to jump through xt_match_check() hoops. Suggested-by: Florian Westphal

Re: [PATCH 20/21] net: warn if drivers set tx_queue_len = 0

2015-08-19 Thread Phil Sutter
On Wed, Aug 19, 2015 at 01:33:40PM -0700, Eric Dumazet wrote: On Wed, 2015-08-19 at 13:31 -0700, Eric Dumazet wrote: lpaa5:~# tc qd sh dev eth1 qdisc mq 0: root qdisc fq 0: parent :4 limit 1p flow_limit 1000p buckets 1024 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 quantum

Re: netlink_route kernel data dump size increased

2015-08-19 Thread Eric Dumazet
On Wed, 2015-08-19 at 23:41 +0530, tej parkash wrote: All, We are running application on Linux Kernel 3.10 to collect network interface information using NETLINK_ROUTE protocol. earlier (kernel 2.6.32) we were having 8K buffer allocated to collect all data but with new kernel (3.10) we are

[PATCH] net: Provide lwtstate_free for non-lwt config

2015-08-19 Thread Alex Gartrell
Fixes: df383e624 (lwtunnel: fix memory leak) Signed-off-by: Alex Gartrell agartr...@fb.com --- include/net/lwtunnel.h | 4 1 file changed, 4 insertions(+) diff --git a/include/net/lwtunnel.h b/include/net/lwtunnel.h index 34fd8f7..cfee539 100644 --- a/include/net/lwtunnel.h +++

[PATCH net-next v3 3/3] fou: Do WARN_ON_ONCE in gue_gro_receive for bad proto callbacks

2015-08-19 Thread Tom Herbert
Do WARN_ON_ONCE instead of WARN_ON in gue_gro_receive when the offload callcaks are bad (either don't exist or gro_receive is not specified). Signed-off-by: Tom Herbert t...@herbertland.com --- net/ipv4/fou.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/fou.c

[PATCH net-next v3 0/3] gro: Fixes for tunnels and GRO

2015-08-19 Thread Tom Herbert
This patch set addresses some issue related to tunneling and GRO: - Fix remote checksum offload to properly deal with frag0 in GRO. - Add support for GRO at VXLAN tunnel (call gro_cells) Testing: Ran one netperf TCP_STREAM to highlight impact of different configurations: GUE Zero UDP checksum

[PATCH net-next v3 1/3] gro: Fix remcsum offload to deal with frags in GRO

2015-08-19 Thread Tom Herbert
The remote checksum offload GRO did not consider the case that frag0 might be in use. This patch fixes that by accessing headers using the skb_gro functions and not saving offsets relative to skb-head. Signed-off-by: Tom Herbert t...@herbertland.com --- drivers/net/vxlan.c | 23

Re: [PATCH] net: Provide lwtstate_free for non-lwt config

2015-08-19 Thread Alex Gartrell
On Wed, Aug 19, 2015 at 4:28 PM, Eric Dumazet eric.duma...@gmail.com wrote: We've seen similar patches earlier today on netdev ;) Ah, the mailing list equivalent of someone letting you know that you left your fly down :) Sorry for the noise! -- To unsubscribe from this list: send the line

[PATCH net-next v3 2/3] vxlan: GRO support at tunnel layer

2015-08-19 Thread Tom Herbert
Add calls to gro_cells infrastructure to do GRO when receiving on a tunnel. Testing: Ran 200 netperf TCP_STREAM instance - With fix (GRO enabled on VXLAN interface) Verify GRO is happening. 9084 MBps tput 3.44% CPU utilization - Without fix (GRO disabled on VXLAN interface)

[GIT] Networking

2015-08-19 Thread David Miller
1) Out of bounds array access in 802.11 minstrel code, from Adrien Schildknecht. 2) Don't use skb_get() in IGMP/MLD code paths, as this makes pskb_may_pull() BUG. From Linus Luessing. 3) Fix off by one in ipv4 route dumping code, from Andy Whitcroft. 4) Fix deadlock in

Re: [PATCH RESEND net-next] lwtunnel: Fix the sparse warnings in fib_encap_match

2015-08-19 Thread David Miller
From: Ying Xue ying@windriver.com Date: Wed, 19 Aug 2015 15:46:17 +0800 When CONFIG_LWTUNNEL config is not enabled, the lwtstate_free() is not declared in lwtunnel.h at all. However, even in this case, the function is still referenced in fib_semantics.c so that there appears the following

RE: [Intel-wired-lan] [Patch V3 5/9] i40e: Use numa_mem_id() to better support memoryless node

2015-08-19 Thread David Rientjes
On Wed, 19 Aug 2015, Patil, Kiran wrote: Acked-by: Kiran Patil kiran.pa...@intel.com Where's the call to preempt_disable() to prevent kernels with preemption from making numa_node_id() invalid during this iteration? -- To unsubscribe from this list: send the line unsubscribe netdev in the body

[net-next 09/16] i40e: Fix comment for ethtool diagnostic link test

2015-08-19 Thread Jeff Kirsher
From: Greg Rose gregory.v.r...@intel.com The existing comment is incorrect. Add new comment to point out that the PF reset does not affect link but if the reset is changed to a different type that does affect link then the link test would need to be moved to before the reset. Change-ID:

[net-next 01/16] i40e: Set defport behavior for the Main VSI when in promiscuous mode

2015-08-19 Thread Jeff Kirsher
From: Anjali Singhai Jain anjali.sing...@intel.com This fixes bugs where the port is not receiving multicast or vlan tagged packets when in promiscuous mode. This can occur when a SW bridge is created on top of the device. This also fixes issues where the promiscuous behavior setting was not

[net-next 04/16] i40e/i40evf: Move helper functions to a header file

2015-08-19 Thread Jeff Kirsher
From: Anjali Singhai Jain anjali.sing...@intel.com A new header file i40e_helper.h is added to both the PF and VF driver with functions used by both drivers. Change-ID: I3c6daedc2ff6f32bc7624bf5eaef05899d35f28b Signed-off-by: Anjali Singhai Jain anjali.sing...@intel.com Tested-by: Andrew Bowers

[net-next 03/16] i40e: add RX to port CRC errors label

2015-08-19 Thread Jeff Kirsher
From: Shannon Nelson shannon.nel...@intel.com The port.crc_errors is really an RX counter, so let's mark it as such. Change-ID: I179afd3f8a95d45229bb4163a6aeb01f0d2d250b Signed-off-by: Shannon Nelson shannon.nel...@intel.com Tested-by: Andrew Bowers andrewx.bow...@intel.com Signed-off-by: Jeff

[net-next 10/16] i40e: correct spelling error

2015-08-19 Thread Jeff Kirsher
From: Mitch Williams mitch.a.willi...@intel.com Turns out that 'inavlid' is an inavlid spelling for 'invalid'. Change-ID: Ie1fe2d0f8d1ba75ab880594875ec2e4152a76f61 Signed-off-by: Mitch Williams mitch.a.willi...@intel.com Tested-by: Andrew Bowers andrewx.bow...@intel.com Signed-off-by: Jeff

[net-next 11/16] i40evf: Use the correct defines to match the VF registers

2015-08-19 Thread Jeff Kirsher
From: Anjali Singhai Jain anjali.sing...@intel.com Use CTLN1 instead of CTLN for the VF relative register space. Change-ID: Iefba63faf0307af55fec8dbb64f26059f7d91318 Signed-off-by: Anjali Singhai Jain anjali.sing...@intel.com Tested-by: Andrew Bowers andrewx.bow...@intel.com Signed-off-by: Jeff

[net-next 15/16] i40e/i40evf: Cache the CEE TLV status returned from firmware

2015-08-19 Thread Jeff Kirsher
From: Neerav Parikh neerav.par...@intel.com Store the CEE TLV status returned by firmware to allow drivers to dump that for debug purposes. Change-ID: Ie3c4cf8cebabee4f15e1e3fdc4fc8a68bbca40ee Signed-off-by: Neerav Parikh neerav.par...@intel.com Tested-by: Andrew Bowers andrewx.bow...@intel.com

[net-next 08/16] i40e/i40evf: Add capability to gather VEB per TC stats

2015-08-19 Thread Jeff Kirsher
From: Neerav Parikh neerav.par...@intel.com This patch adds capability to update per VEB per TC statistics and dump it via ethtool. It also adds a structure to hold VEB per TC statistics. The fields can be filled by reading the GLVEBTC_* counters. Change-ID:

[net-next 16/16] i40e/i40evf: Bump i40e to 1.3.9 and i40evf to 1.3.5

2015-08-19 Thread Jeff Kirsher
From: Catherine Sullivan catherine.sulli...@intel.com Bump version and update the copyright year for i40evf. Change-ID: Iddb81b9dba09f0dc57ab54937b5821ecdd721ff6 Signed-off-by: Catherine Sullivan catherine.sulli...@intel.com Tested-by: Andrew Bowers andrewx.bow...@intel.com Signed-off-by: Jeff

[net-next 06/16] i40e: Fix legacy interrupt mode in the driver

2015-08-19 Thread Jeff Kirsher
From: Anjali Singhai Jain anjali.sing...@intel.com This patch fixes the driver flow to take into account legacy interrupts. Over time we added code that assumes MSIX is the only mode that the driver runs in. It also enables a legacy workaround to trigger SWINT when the TX ring has non-cache

[net-next 13/16] i40e: Remove redundant and unneeded messages

2015-08-19 Thread Jeff Kirsher
From: Greg Rose gregory.v.r...@intel.com The kernel notifies all VXLAN capable registered drivers, i.e. any driver that implements ndo_add_vxlan_port(), of the addition of a port so that the driver can track which ports are in use. There's no need to log this - it just fills the system log with

[net-next 14/16] i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag

2015-08-19 Thread Jeff Kirsher
From: Anjali Singhai Jain anjali.sing...@intel.com Add virtual channel offload capability to support RX polling mode in the VF. Change-ID: Ib643ae2a7506dfc75fc489fc207493fabefa4832 Signed-off-by: Jingjing Wu jingjing...@intel.com Signed-off-by: Anjali Singhai Jain anjali.sing...@intel.com

[net-next 05/16] i40e: Move function calls to i40e_shutdown instead of i40e_suspend

2015-08-19 Thread Jeff Kirsher
From: Catherine Sullivan catherine.sulli...@intel.com We should be stopping the service task and flow director on shutdown not on suspension. Signed-off-by: Catherine Sullivan catherine.sulli...@intel.com Tested-by: Andrew Bowers andrewx.bow...@intel.com Signed-off-by: Jeff Kirsher

[net-next 07/16] i40e: Fix ethtool offline diagnostic with netqueues

2015-08-19 Thread Jeff Kirsher
From: Greg Rose gregory.v.r...@intel.com Treat netqueues the same way we do virtual functions when someone wants to run the ethtool offline diagnostic test. Change-ID: Id48d2b933f1fd0db7be06305a93c6ebe3dc821f5 Signed-off-by: Greg Rose gregory.v.r...@intel.com Tested-by: Andrew Bowers

RE: [PATCH v1 1/6] net: phy: broadcom: add bcm54220 phy ID

2015-08-19 Thread Duan Andy
From: Florian Fainelli f.faine...@gmail.com Sent: Thursday, August 20, 2015 5:29 AM To: Duan Fugang-B38611 Cc: shawn...@kernel.org; David Miller; netdev; linux-arm- ker...@lists.infradead.org Subject: Re: [PATCH v1 1/6] net: phy: broadcom: add bcm54220 phy ID 2015-08-18 22:33 GMT-07:00

RE: [PATCH] r8169: Add values missing in @get_stats64 from HW counters

2015-08-19 Thread Hayes Wang
Corinna Vinschen [mailto:vinsc...@redhat.com] Sent: Thursday, August 20, 2015 3:24 AM [...] + /* + * Versions prior to RTL_GIGA_MAC_VER_19 don't support resetting the + * tally counters. + */ + if (tp-mac_version = RTL_GIGA_MAC_VER_19) { +

DEBUG_LOCKS_WARN_ON(in_interrupt()) triggering in socket code

2015-08-19 Thread Jason A. Donenfeld
Hi folks, In setting up a socket, there are two functions I make use of that in turn wind up calling static_key_slow_inc: setup_udp_tunnel_sock and sk_set_memalloc. These both make use of static_key_slow_inc because they selectively enable certain important code paths. This is all fine, except

Exporting obscene amounts of data in rtnl_link_ops-fill_info()

2015-08-19 Thread Jason A. Donenfeld
Hi guys, I have a new link driver that registers a rtnl_link_ops. For many things, the rtnl interfaces are perfectly suited: I can use netlink in userspace to check out packet counts, adjust interface parameters, and all sorts of things. There is even the fill_info function exporting

Re: [PATCH v2 net-next 13/13] ipv6: route: per route IP tunnel metadata via lightweight tunnel

2015-08-19 Thread YOSHIFUJI Hideaki
Jiri Benc wrote: On Wed, 19 Aug 2015 19:27:22 +0900, YOSHIFUJI Hideaki wrote: You're right generally. But this one should be okay and I did this deliberately: the patch adding LWTUNNEL_ENCAP_ILA was merged two days ago, is in net-next only, is not used by anything in user space yet. And I

Re: [PATCH v2 1/2] virtio-net: rephrase devconf fields description

2015-08-19 Thread Jason Wang
On 08/19/2015 07:54 PM, Victor Kaplansky wrote: On Mon, Aug 17, 2015 at 10:43:46AM +0800, Jason Wang wrote: On 08/16/2015 09:42 PM, Victor Kaplansky wrote: Clarify general description of the mac, status and max_virtqueue_pairs fields. Specifically, the old description is vague about

Re: [PATCH v2 2/2] virtio-net: add default_mtu configuration field

2015-08-19 Thread Jason Wang
On 08/19/2015 07:31 PM, Victor Kaplansky wrote: On Mon, Aug 17, 2015 at 11:07:15AM +0800, Jason Wang wrote: On 08/16/2015 09:42 PM, Victor Kaplansky wrote: @@ -3128,6 +3134,7 @@ struct virtio_net_config { u8 mac[6]; le16 status; le16 max_virtqueue_pairs; +

Re: [PATCH v2 net-next 13/13] ipv6: route: per route IP tunnel metadata via lightweight tunnel

2015-08-19 Thread YOSHIFUJI Hideaki
Jiri Benc wrote: On Wed, 19 Aug 2015 19:17:21 +0900, YOSHIFUJI Hideaki wrote: Jiri Benc wrote: Allow specification of per route IP tunnel instructions also for IPv6. This complements commit 3093fbe7ff4b (route: Per route IP tunnel metadata via lightweight tunnel). Signed-off-by: Jiri Benc

Re: [net-next]: unable to add routes to tables

2015-08-19 Thread Andreas Schultz
On 08/18/2015 07:26 PM, David Ahern wrote: On 8/18/15 10:57 AM, Andreas Schultz wrote: Hi, It seems that the policy for adding routes to tables has changed between Linux 4.2-rc6 and net-next. In Linux main line (tested up to 4.2-rc6), with this main routing table: # ip route show table main

Re: [PATCH net-next 1/2] lwt: Add cfg argumnt to build_state

2015-08-19 Thread Jiri Benc
On Tue, 18 Aug 2015 20:21:10 -0700, Tom Herbert wrote: diff --git a/include/net/lwtunnel.h b/include/net/lwtunnel.h index e25b60e..9bf7e6a 100644 --- a/include/net/lwtunnel.h +++ b/include/net/lwtunnel.h @@ -26,7 +26,8 @@ struct lwtunnel_state { struct lwtunnel_encap_ops { int

Re: [PATCH] veth: replace iflink by a dedicated symlink in sysfs

2015-08-19 Thread Jiri Benc
On Wed, 19 Aug 2015 08:44:08 +0200, Vincent Bernat wrote: While the documentation doesn't say exactly what kind of relationship iflink should represent, until a45253, only lower devices were advertised this way. While veth cannot have a lower device, using iflink to advertise the peer may

Re: Problem with fragmented packets on tun/tap interface

2015-08-19 Thread Prashant Upadhyaya
On Thu, Aug 13, 2015 at 7:48 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-08-13 at 12:52 +0530, Prashant Upadhyaya wrote: Hi, I think I have a clue to the root cause of my issue, but I do not know a solution. Let me describe what I think is the problem. Fragmented packets

Re: [PATCH v2 net-next 13/13] ipv6: route: per route IP tunnel metadata via lightweight tunnel

2015-08-19 Thread YOSHIFUJI Hideaki
Jiri Benc wrote: Allow specification of per route IP tunnel instructions also for IPv6. This complements commit 3093fbe7ff4b (route: Per route IP tunnel metadata via lightweight tunnel). Signed-off-by: Jiri Benc jb...@redhat.com --- include/uapi/linux/lwtunnel.h | 16 +++

Re: [PATCH v2 net-next 13/13] ipv6: route: per route IP tunnel metadata via lightweight tunnel

2015-08-19 Thread Jiri Benc
On Wed, 19 Aug 2015 19:17:21 +0900, YOSHIFUJI Hideaki wrote: Jiri Benc wrote: Allow specification of per route IP tunnel instructions also for IPv6. This complements commit 3093fbe7ff4b (route: Per route IP tunnel metadata via lightweight tunnel). Signed-off-by: Jiri Benc

Re: [PATCH v2 net-next 13/13] ipv6: route: per route IP tunnel metadata via lightweight tunnel

2015-08-19 Thread Jiri Benc
On Wed, 19 Aug 2015 19:27:22 +0900, YOSHIFUJI Hideaki wrote: You're right generally. But this one should be okay and I did this deliberately: the patch adding LWTUNNEL_ENCAP_ILA was merged two days ago, is in net-next only, is not used by anything in user space yet. And I think it's better

Re: [PATCH] usbnet: Fix two races between usbnet_stop() and the BH

2015-08-19 Thread Bjørn Mork
Eugene Shatokhin eugene.shatok...@rosalab.ru writes: 19.08.2015 04:54, David Miller пишет: From: Eugene Shatokhin eugene.shatok...@rosalab.ru Date: Fri, 14 Aug 2015 19:58:36 +0300 2. The second race is on dev-flags. dev-flags is set to 0 here: *0 usbnet_stop (usbnet.c:816) /*

Re: [PATCH net-next] ipv4: Make fib_encap_match static

2015-08-19 Thread Jiri Benc
On Wed, 19 Aug 2015 16:04:51 +0800, Ying Xue wrote: Make fib_encap_match() static as it isn't used outside the file. Signed-off-by: Ying Xue ying@windriver.com Reviewed-by: Jiri Benc jb...@redhat.com Noticed that, too, you were faster, again :-) Jiri -- Jiri Benc -- To unsubscribe

pull-request: wireless-drivers-next 2015-08-19

2015-08-19 Thread Kalle Valo
Hi Dave, here's one more pull request for 4.3. More info in the signed tag below. This time I had to merge mac80211-next.git due to some iwlwifi dependencies and apparently that broke git-request-pull's diffstat again, it was showing changes which were not really coming from my tree. I think

RE: [PATCH] bridge: Enable configuration of ageing interval for bridges and switch devices.

2015-08-19 Thread Premkumar Jonnala
Thank you Scott. Please see inline. -Original Message- From: Scott Feldman [mailto:sfel...@gmail.com] Sent: Tuesday, August 18, 2015 12:48 PM To: Premkumar Jonnala Cc: netdev@vger.kernel.org Subject: Re: [PATCH] bridge: Enable configuration of ageing interval for bridges

Re: [PATCH] bridge: Enable configuration of ageing interval for bridges and switch devices.

2015-08-19 Thread Scott Feldman
On Wed, Aug 19, 2015 at 9:56 PM, Premkumar Jonnala pjonn...@broadcom.com wrote: Thank you Scott. Please see inline. -Original Message- From: Scott Feldman [mailto:sfel...@gmail.com] Sent: Tuesday, August 18, 2015 12:48 PM To: Premkumar Jonnala Cc: netdev@vger.kernel.org

[v2 1/5] NET: nps_enet: replace use of cause register

2015-08-19 Thread Noam Camus
From: Noam Camus no...@ezchip.com When interrupt is received we read directly from control register for RX/TX instead of reading cause register since this register fails to indicate TX done when TX interrupt is edge mode. Signed-off-by: Noam Camus no...@ezchip.com ---

[v2 3/5] NET: nps_enet: drop control frames

2015-08-19 Thread Noam Camus
From: Noam Camus no...@ezchip.com We set controller to drop control frames and not trying to pass them on. This is only needed for debug reasons. Signed-off-by: Noam Camus no...@ezchip.com --- drivers/net/ethernet/ezchip/nps_enet.c |8 1 files changed, 4 insertions(+), 4

[v2 0/5] *** nps_enet fixups ***

2015-08-19 Thread Noam Camus
From: Noam Camus no...@ezchip.com Change v2 TX done is handled back with NAPI poll. Change v1 This patch set is a bunch of fixes to make nps_enet work correctly with all platforms, i.e. real device, emulation system, and simulation system. The main trigger for this patch set was that in our

[v2 2/5] NET: nps_enet: TX done race condition

2015-08-19 Thread Noam Camus
From: Noam Camus no...@ezchip.com We need to set tx_skb pointer before send frame. If we receive interrupt before we set pointer we will try to free SKB with wrong pointer. Now we are sure that SKB pointer will never be NULL during handling TX done and check is removed. Signed-off-by: Noam Camus

[v2 5/5] NET: nps_enet: minor namespace cleanup

2015-08-19 Thread Noam Camus
From: Noam Camus no...@ezchip.com We define buf_int_enable in the minimal namespace it is used. Signed-off-by: Noam Camus no...@ezchip.com --- drivers/net/ethernet/ezchip/nps_enet.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

[v2 4/5] NET: nps_enet: TX done acknowledge.

2015-08-19 Thread Noam Camus
From: Noam Camus no...@ezchip.com This is needed for when TX done interrupt is in level mode. For example it is true for some simulators of this device. Signed-off-by: Noam Camus no...@ezchip.com --- drivers/net/ethernet/ezchip/nps_enet.c |3 +++ 1 files changed, 3 insertions(+), 0

RE: [PATCH] bridge: Enable configuration of ageing interval for bridges and switch devices.

2015-08-19 Thread Premkumar Jonnala
Hi Daniel, Thank you for the comments. Please see inline. -Original Message- From: Wilson, Daniel G [mailto:daniel.wil...@intel.com] Sent: Wednesday, August 19, 2015 11:33 PM To: Scott Feldman; Premkumar Jonnala Cc: netdev@vger.kernel.org Subject: RE: [PATCH] bridge: Enable

RE: [PATCH] bridge: Enable configuration of ageing interval for bridges and switch devices.

2015-08-19 Thread Premkumar Jonnala
-Original Message- From: Scott Feldman [mailto:sfel...@gmail.com] Sent: Thursday, August 20, 2015 10:31 AM To: Premkumar Jonnala Cc: netdev@vger.kernel.org Subject: Re: [PATCH] bridge: Enable configuration of ageing interval for bridges and switch devices. On Wed, Aug 19,

Re: [PATCH v2 net-next 13/13] ipv6: route: per route IP tunnel metadata via lightweight tunnel

2015-08-19 Thread David Miller
From: YOSHIFUJI Hideaki hideaki.yoshif...@miraclelinux.com Date: Thu, 20 Aug 2015 11:29:06 +0900 Jiri Benc wrote: On Wed, 19 Aug 2015 19:27:22 +0900, YOSHIFUJI Hideaki wrote: You're right generally. But this one should be okay and I did this deliberately: the patch adding LWTUNNEL_ENCAP_ILA

Re: linux-next: build failure after merge of the net-next tree

2015-08-19 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Thu, 20 Aug 2015 12:57:34 +1000 After merging the net-next tree, today's linux-next build (arm multi_v7_defconfig) failed like this: net/ipv4/fib_semantics.c: In function 'fib_encap_match': net/ipv4/fib_semantics.c:553:3: error: implicit

Re: [PATCH] bridge: Enable configuration of ageing interval for bridges and switch devices.

2015-08-19 Thread Scott Feldman
On Wed, Aug 19, 2015 at 10:12 PM, Premkumar Jonnala pjonn...@broadcom.com wrote: -Original Message- From: Scott Feldman [mailto:sfel...@gmail.com] Sent: Thursday, August 20, 2015 10:31 AM To: Premkumar Jonnala Cc: netdev@vger.kernel.org Subject: Re: [PATCH] bridge: Enable

Re: netlink_route kernel data dump size increased

2015-08-19 Thread tej parkash
On Thu, Aug 20, 2015 at 2:47 AM, Eric Dumazet eric.duma...@gmail.com wrote: On Wed, 2015-08-19 at 23:41 +0530, tej parkash wrote: All, We are running application on Linux Kernel 3.10 to collect network interface information using NETLINK_ROUTE protocol. earlier (kernel 2.6.32) we were

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

2015-08-19 Thread Ken-ichirou MATSUZAWA
Now poll() returns immediately after setting kernel current frame (ring-head) to SKIP from user space even if there are no new frames. And in a case of all frames is VALID, user space program unintensionally sets (only) kernel current frame to UNUSED, then calls poll(), it will not return

Re: Regression in 4.1 with veth and IFLA_LINK

2015-08-19 Thread Vincent Bernat
Here is a proposed patch to fix this by providing a symlink to the peer instead. This may not totally replace the use of iflink since the peer won't be available through netlink anymore but maybe this is good enough for the intended use. -- To unsubscribe from this list: send the line unsubscribe

[PATCH] veth: replace iflink by a dedicated symlink in sysfs

2015-08-19 Thread Vincent Bernat
While the documentation doesn't say exactly what kind of relationship iflink should represent, until a45253, only lower devices were advertised this way. While veth cannot have a lower device, using iflink to advertise the peer may create infinite loops in programs using iflink to discover device

[PATCH net-next] bnx2x: Fix vxlan endianity issue

2015-08-19 Thread Yuval Mintz
Commit f34fa14cc033 (bnx2x: Add vxlan RSS support) has introduced an endianity issue when passing the vxlan UDP port to the HW. Reported-by: fengguang...@intel.com Signed-off-by: Yuval Mintz yuval.mi...@qlogic.com --- Hi Dave, Please apply this to 'net-next'. Thanks, Yuval ---

<    1   2   3   >