Loan Offer

2015-10-15 Thread Loan
Contact us as we offer our finance service at a low and affordable interest rate for long and short cash term. Interested applicant should contact us for further acquisition procedures. Thanks as we remain obliged to render service to you; worldtrading1...@gmail.com -- To unsubscribe from this

Re: [PATCH net-next] net: hisilicon: fixes a bug when using ethtool -S

2015-10-15 Thread David Miller
From: yankejian Date: Thu, 15 Oct 2015 12:40:34 +0800 > From: lipeng > > this patch fixes a bug in hns driver. when we want to get statistic info > by using ethtool -S, it shows us there are 3 wrong counters info. because > the strings related to the

Re: [patch net] mlxsw: core: Fix race condition in __mlxsw_emad_transmit

2015-10-15 Thread David Miller
From: Jiri Pirko Date: Thu, 15 Oct 2015 08:21:55 +0200 > From: Ido Schimmel > > Under certain conditions EMAD responses can be returned from the device > even before setting trans_active. This will cause the EMAD Rx listener > to drop the EMAD response -

Re: [PATCH net-next v3] netlink: Rightsize IFLA_AF_SPEC size calculation

2015-10-15 Thread David Miller
From: Ronen Arad Date: Wed, 14 Oct 2015 22:50:04 -0700 > if_nlmsg_size() overestimates the minimum allocation size of netlink > dump request (when called from rtnl_calcit()) or the size of the > message (when called from rtnl_getlink()). This is because > ext_filter_mask is

[PATCH 1/3] libnetlink: introduce rta_nest and u8,u16,u64 helpers for nesting within rtattr

2015-10-15 Thread Thomas Graf
From: Roopa Prabhu This patch introduces two new api's rta_nest and rta_nest_end to nest attributes inside a rta attribute represented by 'struct rtattr' as required to construct a nexthop. Also adds rta_addattr* variants for u8, u16 and u64 as needed to support

[PATCH 3/3] ip-route man: add usage and description for lwtunnel encap attributes

2015-10-15 Thread Thomas Graf
From: Roopa Prabhu This patch updates ip-route man page with lwtunnel encap usage and description, covering MPLS and IP encapsulation. Signed-off-by: Roopa Prabhu Signed-off-by: Thomas Graf --- man/man8/ip-route.8.in | 70

[PATCH 2/3] lwtunnel: Add encapsulation support to ip route

2015-10-15 Thread Thomas Graf
From: Roopa Prabhu This patch adds support to parse and print lwtunnel encapsulation attributes attached to routes for MPLS and IP tunnels. example: Add ipv4 route with mpls encap attributes: Examples: MPLS: $ ip route add 40.1.2.0/30 encap mpls 200 via inet

Re: [net-next 00/17][pull request] Intel Wired LAN Driver Updates 2015-10-15

2015-10-15 Thread David Miller
From: Jeff Kirsher Date: Thu, 15 Oct 2015 02:39:47 -0700 > This series contains updates to i40e, i40evf and ixgbe. Pulled, thanks Jeff. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH net-next] af_key: fix two typos

2015-10-15 Thread David Miller
From: roy.qing...@gmail.com Date: Thu, 15 Oct 2015 17:10:20 +0800 > From: Roy Li > > Signed-off-by: Roy Li This patch doesn't apply to net-next. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message

Re: [PATCH net-next 0/4] net: dsa: mv88e6xxx: fix hardware bridging

2015-10-15 Thread Vivien Didelot
On Oct. Wednesday 14 (42) 06:44 PM, Florian Fainelli wrote: > On 14/10/15 18:28, Vivien Didelot wrote: > > On Oct. Thursday 15 (42) 12:46 AM, Andrew Lunn wrote: > >> On Sun, Oct 11, 2015 at 06:08:34PM -0400, Vivien Didelot wrote: > >>> DSA and its drivers currently hook the NETDEV_CHANGEUPPER

Re: [PATCH net-next V15 3/3] 802.1AD: Flow handling, actions, vlan parsing and netlink attributes

2015-10-15 Thread Thomas F Herbert
On 10/13/15 2:14 PM, Pravin Shelar wrote: On Tue, Oct 13, 2015 at 10:39 AM, Thomas F Herbert wrote: Pravin, Thanks for the review. On 10/13/15 7:47 AM, Pravin Shelar wrote: On Sat, Oct 10, 2015 at 4:40 PM, Thomas F Herbert wrote: Add

Re: [PATCH] net: asix: add support for the Billionton GUSB2AM-1G-B USB adapter

2015-10-15 Thread David Miller
From: Date: Thu, 15 Oct 2015 18:51:38 +0800 > * > This email message, including any attachments, is for the sole > use of the intended recipient(s) and may contain confidential and > privileged

[PATCH] net: asix: add support for the Billionton GUSB2AM-1G-B USB adapter

2015-10-15 Thread jonathan.chang
From: Jonathan Chang Just another AX88178-based 10/100/1000 USB-to-Ethernet dongle. This one shows up in lsusb as: "ID 08dd:0114 Billionton Systems, Inc". Signed-off-by: Jonathan Chang Cc: "David S. Miller" Cc:

Re: [PATCH] Fix sleeping memory allocation in atomic context

2015-10-15 Thread Nikolay Aleksandrov
On 10/15/2015 10:57 AM, Nikolay Borisov wrote: > Ipset 6.26 produces the following splat: > [snip] > > The call chain leading to this as follow: > call_add -> list_set_uadt -> list_set_uadd -> kzalloc(, GFP_KERNEL). > And since GFP_KERNEL allows initiating direct reclaim thus > potentially

[PATCH v2] netfilter: ipset: Fix sleeping memory allocation in atomic context

2015-10-15 Thread Nikolay Borisov
Commit 00590fdd5be0 introduced RCU locking in list type and in doing so introduced a memory allocation in list_set_add, which results in the following splat: BUG: sleeping function called from invalid context at mm/page_alloc.c:2759 in_atomic(): 1, irqs_disabled(): 0, pid: 9664, name: ipset CPU:

cannot classify vlanned traffic using tc-ematch

2015-10-15 Thread Ido Barkan
Hi all, We want to support host level qos in oVirt hypervisors, but are not able to classify the vlanned traffic generated by the host to our desired hsfc qdisc classes. SInce many of our customers use vlans, and vlans are the way we separate networks in the host, we have to be able to classify

Re: [patch net-next v5 0/8] switchdev: change locking

2015-10-15 Thread David Miller
From: Jiri Pirko Date: Wed, 14 Oct 2015 19:40:47 +0200 > This is something which I'm currently struggling with. > Callers of attr_set and obj_add/del often hold not only RTNL, but also > spinlock (bridge). So in that case, the driver implementing the op cannot > sleep. > >

[PATCH 0/3 iproute2] Lightweight tunnels

2015-10-15 Thread Thomas Graf
Roopa Prabhu (3): libnetlink: introduce rta_nest and u8,u16,u64 helpers for nesting within rtattr lwtunnel: Add encapsulation support to ip route ip-route man: add usage and description for lwtunnel encap attributes include/libnetlink.h | 10 +++ include/utils.h| 3 +

Re: [PATCH v2] sunrpc: fix waitqueue_active without memory barrier in sunrpc

2015-10-15 Thread Kosuke Tatsukawa
Tatsukawa Kosuke wrote: > J. Bruce Fields wrote: >> On Wed, Oct 14, 2015 at 03:57:13AM +, Kosuke Tatsukawa wrote: >>> J. Bruce Fields wrote: >>> > On Mon, Oct 12, 2015 at 10:41:06AM +, Kosuke Tatsukawa wrote: >>> >> J. Bruce Fields wrote: >>> >> > On Fri, Oct 09, 2015 at 06:29:44AM +,

Re: [PATCH net-next] amd-xgbe: Use system workqueue for device restart

2015-10-15 Thread David Miller
From: Tom Lendacky Date: Wed, 14 Oct 2015 12:37:32 -0500 > A previous patch switched from using the system workqueue to the device > workqueue for various operations. During a device restart the device > workqueue is flushed so the restart cannot use this workqueue or

Re: [PATCH] Fix sleeping memory allocation in atomic context

2015-10-15 Thread Jozsef Kadlecsik
On Thu, 15 Oct 2015, Nikolay Borisov wrote: > Ipset 6.26 produces the following splat: > > BUG: sleeping function called from invalid context at mm/page_alloc.c:2759 > in_atomic(): 1, irqs_disabled(): 0, pid: 9664, name: ipset > CPU: 18 PID: 9664 Comm: ipset Tainted: G O

Re: [PATCH] Fix sleeping memory allocation in atomic context

2015-10-15 Thread Jozsef Kadlecsik
On Thu, 15 Oct 2015, Nikolay Aleksandrov wrote: > On 10/15/2015 10:57 AM, Nikolay Borisov wrote: > > Ipset 6.26 produces the following splat: > > > [snip] > > > > The call chain leading to this as follow: > > call_add -> list_set_uadt -> list_set_uadd -> kzalloc(, GFP_KERNEL). > > And since

[PATCH net 1/2] overflow-arith: begin to add support for overflow builtin functions

2015-10-15 Thread Hannes Frederic Sowa
The idea of the overflow-arith.h header is to collect overflow checking functions in one central place. If gcc compiler supports the __builtin_overflow_* builtins we use them because they might give better performance, otherwise the code falls back to normal overflow checking functions. The

[PATCH net 2/2] ipv6: protect mtu calculation of wrap-around and infinite loop by rounding issues

2015-10-15 Thread Hannes Frederic Sowa
Raw sockets with hdrincl enabled can insert ipv6 extension headers right into the data stream. In case we need to fragment those packets, we reparse the options header to find the place where we can insert the fragment header. If the extension headers exceed the link's MTU we actually cannot make

[PATCH stable <= 3.18] net: add length argument to skb_copy_and_csum_datagram_iovec

2015-10-15 Thread Sabrina Dubroca
Without this length argument, we can read past the end of the iovec in memcpy_toiovec because we have no way of knowing the total length of the iovec's buffers. This is needed for stable kernels where 89c22d8c3b27 ("net: Fix skb csum races when peeking") has been backported but that don't have

Re: [PATCH net-next 0/4] net: dsa: mv88e6xxx: fix hardware bridging

2015-10-15 Thread Vivien Didelot
On Oct. Thursday 15 (42) 04:52 AM, Andrew Lunn wrote: > On Wed, Oct 14, 2015 at 09:28:55PM -0400, Vivien Didelot wrote: > > On Oct. Thursday 15 (42) 12:46 AM, Andrew Lunn wrote: > > > On Sun, Oct 11, 2015 at 06:08:34PM -0400, Vivien Didelot wrote: > > > > DSA and its drivers currently hook the

Re: [PATCH net-next] bpf: Need to call bpf_prog_uncharge_memlock from bpf_prog_put

2015-10-15 Thread Daniel Borkmann
On 10/14/2015 11:40 PM, Tom Herbert wrote: Currently, is only called from __prog_put_rcu in the bpf_prog_release path. Need this to call this from bpf_prog_put also to get correct accounting. Fixes: commit aaac3ba95e4c8b49 ("bpf: charge user for creation of BPF maps and programs") Btw,

Re: [PATCH net-next] switchdev: enforce no pvid flag in vlan ranges

2015-10-15 Thread Ido Schimmel
Thu, Oct 15, 2015 at 05:58:33AM IDT, sfel...@gmail.com wrote: >On Wed, Oct 14, 2015 at 10:42 AM, Ido Schimmel wrote: >> Wed, Oct 14, 2015 at 08:14:24PM IDT, sfel...@gmail.com wrote: >>>On Wed, Oct 14, 2015 at 8:25 AM, Vivien Didelot >>>

Re: [net-next 05/17] i40e: Change some messages from info to debug only

2015-10-15 Thread Joe Perches
On Thu, 2015-10-15 at 02:39 -0700, Jeff Kirsher wrote: > From: Neerav Parikh > > There are several error messages that have been printing when there is > no functional issue. These messages should be available at debug message > level only. [] > diff --git

[patch net] mlxsw: core: Fix race condition in __mlxsw_emad_transmit

2015-10-15 Thread Jiri Pirko
From: Ido Schimmel Under certain conditions EMAD responses can be returned from the device even before setting trans_active. This will cause the EMAD Rx listener to drop the EMAD response - as there are no active transactions - and timeouts will be generated. Fix this by

[PATCH v4 57/79] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/openvswitch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h

[PATCH v4 60/79] include/uapi/linux/atm_zatm.h: include linux/time.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compile error: error: field ‘real’ has incomplete type struct timeval real; /* real (wall-clock) time */ Signed-off-by: Mikko Rapeli --- include/uapi/linux/atm_zatm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/atm_zatm.h

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-15 Thread Thomas Gleixner
On Wed, 14 Oct 2015, Christopher Hall wrote: > On Tue, 13 Oct 2015 12:42:52 -0700, Thomas Gleixner > wrote: > > On Mon, 12 Oct 2015, Christopher S. Hall wrote: > > > audio. > > > > This wants to be a seperate patch, really. > > OK. This makes sense, I'll do this the next

[PATCH] Fix sleeping memory allocation in atomic context

2015-10-15 Thread Nikolay Borisov
Ipset 6.26 produces the following splat: BUG: sleeping function called from invalid context at mm/page_alloc.c:2759 in_atomic(): 1, irqs_disabled(): 0, pid: 9664, name: ipset CPU: 18 PID: 9664 Comm: ipset Tainted: G O 3.12.47-clouder3 #1 Hardware name: Supermicro X10DRi/X10DRi, BIOS 1.1

[PATCH net-next] af_key: fix two typos

2015-10-15 Thread roy . qing . li
From: Roy Li Signed-off-by: Roy Li --- net/key/af_key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/key/af_key.c b/net/key/af_key.c index 9e834ec..09a3985 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c @@

[net-next 06/17] i40e: Remove 100M SGMII unless hw is X722

2015-10-15 Thread Jeff Kirsher
From: Catherine Sullivan Only the X722 device now supports 100M SGMII, and nothing supports 100M on 1000Base_T. Change-ID: I6f44dcd818944edd40041410e6de380f4a359a0c Signed-off-by: Catherine Sullivan Signed-off-by: Shannon Nelson

RE: [PATCH] netlink: trim skb to exact size to avoid MSG_TRUNC

2015-10-15 Thread Arad, Ronen
>-Original Message- >From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On >Behalf Of Thomas Graf >Sent: Wednesday, October 14, 2015 12:45 AM >To: Arad, Ronen >Cc: netdev@vger.kernel.org >Subject: Re: [PATCH] netlink: trim skb to exact size to avoid MSG_TRUNC > >On

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-15 Thread Thomas Gleixner
On Thu, 15 Oct 2015, Richard Cochran wrote: > Thomas seems to say that there are *other* applications that will want > to transform device time into system time, but why does your audio > application use the system time, when the audio-to-ptp time is > directly available, without any man in the

Re: [PATCH net 1/1] via-rhine: fix VLAN receive handling regression.

2015-10-15 Thread Nick Alcock
On 14 Oct 2015, Francois Romieu told this: > From: Andrej Ota > > Because eth_type_trans() consumes ethernet header worth of bytes, a call > to read TCI from end of packet using rhine_rx_vlan_tag() no longer works > as it's reading from an invalid offset. > > Tested to be working

[PATCH net-next v2] netlink: Trim skb to alloc size to avoid MSG_TRUNC

2015-10-15 Thread Ronen Arad
netlink_dump() allocates skb based on the calculated min_dump_alloc or a per socket max_recvmsg_len. min_alloc_size is maximum space required for any single netdev attributes as calculated by rtnl_calcit(). max_recvmsg_len tracks the user provided buffer to netlink_recvmsg. It is capped at 16KiB.

[PATCH net-next v2] ipconfig: send Client-identifier in DHCP requests

2015-10-15 Thread roy . qing . li
From: Li RongQing A dhcp server may provide parameters to a client from a pool of IP addresses and using a shared rootfs, or provide a specific set of parameters for a specific client, usually using the MAC address to identify each client individually. The dhcp protocol

[net-next 13/17] i40e: X722 is on the IOSF bus and does not report the PCI bus info

2015-10-15 Thread Jeff Kirsher
From: Anjali Singhai Jain X722 will report Gen 1x1 in the PCI config space as it is on IOSF bus, so skip the PCI bus link/speed check. Change-ID: Icd5f5751dc7fb00dccf0d5dc5a0a644948e7062e Signed-off-by: Anjali Singhai Jain Tested-by: Andrew

[net-next 05/17] i40e: Change some messages from info to debug only

2015-10-15 Thread Jeff Kirsher
From: Neerav Parikh There are several error messages that have been printing when there is no functional issue. These messages should be available at debug message level only. Change-ID: Id91e47bf942c483563995f30d8705fa53acd5aa3 Signed-off-by: Neerav Parikh

[net-next 08/17] i40e: remove obsolete version check

2015-10-15 Thread Jeff Kirsher
From: Mitch Williams This version check only applies to very, very old firmware, that only ran on A0 hardware, which we never shipped and don't support in this driver anyway. Remove it, before somebody gets hurt. Change-ID: I3752d090ff488acf98ee76b075af961e9c968ee4

[net-next 03/17] i40e: Add missing parameter comment to ndo_bridge_setlink

2015-10-15 Thread Jeff Kirsher
From: Jesse Brandeburg Add nlflags to the function comment for ndo_bridge_setlink. Change-ID: I34c704f307f2a3f7bac3ca4b44e2a094d3d082d6 Signed-off-by: Jesse Brandeburg Tested-by: Andrew Bowers Signed-off-by:

[net-next 09/17] i40e: allow FD SB if MFP mode only has 1 partition

2015-10-15 Thread Jeff Kirsher
From: Shannon Nelson Even though the device might be in MFP mode, if there's only one partition enabled, then we still have plenty of interrupts for managing the Flow Directory Sideband activity. This patch enables FD SB in this case. This patch also reverses the sense

[net-next 15/17] i40evf: speed up init

2015-10-15 Thread Jeff Kirsher
From: Mitch Williams Shorten up the delays in the init task, allowing the VF driver to initialize faster. This aids performance in load/unload tests and mitigates DMAR errors in VF enable/disable tests with absurdly short delays. In the real world, the VF driver will

[net-next 00/17][pull request] Intel Wired LAN Driver Updates 2015-10-15

2015-10-15 Thread Jeff Kirsher
This series contains updates to i40e, i40evf and ixgbe. Emil changes the ixgbe driver to disable LRO by default in favor or GRO. Mark provides two changes for ixgbe, first fixes a semaphore issue when a reset never completes, it is necessary to retake the semaphore before returning. Jesse fixes

[net-next 16/17] i40e/i40evf: Bump i40e version to 1.3.28 and i40evf to 1.3.19

2015-10-15 Thread Jeff Kirsher
From: Catherine Sullivan Bump. Change-ID: I8d9a99f320af43960deba8718eee2d6de50eaf46 Signed-off-by: Catherine Sullivan Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher ---

[net-next 12/17] i40e: Store off PHY capabilities

2015-10-15 Thread Jeff Kirsher
From: Kevin Scott Store off reported PHY capabilities in link_info structure. Change-ID: Ife0f037c26983ca985dbf79abf33f8f8791369e8 Signed-off-by: Kevin Scott Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher

[net-next 01/17] ixgbe: disable LRO by default

2015-10-15 Thread Jeff Kirsher
From: Emil Tantilov This patch disables LRO by default in favor of GRO. LRO is incompatible with forwarding and is disabled when forwarding is turned on which makes the default offloads of the driver inconsistent. LRO can still be enabled via ethtool. Signed-off-by:

[net-next 04/17] i40e: use priv flags to control flow director

2015-10-15 Thread Jeff Kirsher
From: Jesse Brandeburg Some customers wish to be able to control our hardware specific feature called flow director, at runtime. This patch enables ethtool priv flags to control this driver/hardware specific feature. ethtool --set-priv-flags ethX flow-director-atr

[net-next 02/17] ixgbe: Fix CS4227-related semaphore error on reset failure

2015-10-15 Thread Jeff Kirsher
From: Mark Rustad If the reset never completes, it is necessary to retake the semaphore before returning, because the caller will release the semaphore. Signed-off-by: Mark Rustad Tested-by: Darin Miller

[net-next 07/17] i40e/i40evf: Add WB_ON_ITR offload support

2015-10-15 Thread Jeff Kirsher
From: Anjali Singhai Jain X722 has a way to work around the descriptor WB issue, this offload helps turn that feature on. Change-ID: I7ffa67622426bfca5a651417b63e3afcfeb60412 Signed-off-by: Anjali Singhai Jain Tested-by: Andrew Bowers

[net-next 10/17] i40e: remove FD atr control from debugfs

2015-10-15 Thread Jeff Kirsher
From: Shannon Nelson Since the flow-director-atr priv flag was added to our ethtool interface, we don't need the on/off control in debugfs. Change-ID: Ib3b599916434ab30ccd40074e71d7a81609b5bb5 Signed-off-by: Shannon Nelson Tested-by: Andrew

[net-next 11/17] i40e/i40evf: remove redundant declarations of a variable and a function

2015-10-15 Thread Jeff Kirsher
From: Shannon Nelson Remove a variable declaration inside an if block hiding an existing declaration at the start of the function. Also remove a forward function declaration that is no longer needed due to code re-organization. Change-ID:

[net-next 17/17] ixgbe: Check for setup_internal_link method

2015-10-15 Thread Jeff Kirsher
From: Mark Rustad Only call the internal_setup_link method when it is provided. This check is required for newer version parts. Signed-off-by: Mark Rustad Tested-by: Darin Miller Signed-off-by: Jeff Kirsher

[net-next 14/17] i40e: remove unnecessary string copy operations

2015-10-15 Thread Jeff Kirsher
From: Shannon Nelson Save a little stack space and remove unnecessary strncpy() with a little string pointer. Change-ID: Id2719d34710bfc273d3bb445fec085cd04276e88 Signed-off-by: Shannon Nelson Tested-by: Andrew Bowers

[Question]: iproute2 extension for supporting lightweight tunnel

2015-10-15 Thread Liu, Mengke
Hi, I am trying to use the "lightweight tunnels" after building the Linux kernel from source with "Lightweight & flow based encapsulation" support. Can you tell me how to get iproute2 extension for supporting the following  command in commit log(commit ID

Re: [Question]: iproute2 extension for supporting lightweight tunnel

2015-10-15 Thread Jiri Benc
On Thu, 15 Oct 2015 06:26:30 +, Liu, Mengke wrote: > I am trying to use the "lightweight tunnels" after building the Linux > kernel from source with "Lightweight & flow based encapsulation" > support. Can you tell me how to get iproute2 extension for supporting > the following  command in

Re: [PATCH v2] netfilter: ipset: Fix sleeping memory allocation in atomic context

2015-10-15 Thread Eric Dumazet
On Thu, 2015-10-15 at 13:56 +0300, Nikolay Borisov wrote: > Commit 00590fdd5be0 introduced RCU locking in list type and in > doing so introduced a memory allocation in list_set_add, which > results in the following splat: > > BUG: sleeping function called from invalid context at

[PATCH net-next V16 3/3] openvswitch: 802.1AD: Flow handling, actions, vlan parsing and netlink attributes

2015-10-15 Thread Thomas F Herbert
Add support for 802.1ad including the ability to push and pop double tagged vlans. Add support for 802.1ad to netlink parsing and flow conversion. Uses double nested encap attributes to represent double tagged vlan. Inner TPID encoded along with ctci in nested attributes. Signed-off-by: Thomas F

[PATCH net-next V16 0/3] openvswitch: Add support for 802.1ad

2015-10-15 Thread Thomas F Herbert
This patch accompanies version 14 of the user level openvswitch patch submitted to openvswitch dev list. V16,15: Implement reviewer comments. V14: Add outer tpid to flow_key V13: Fix incorrect encoding and decoding of netlink to/from key attributes. V12: Fix some problems and issues

[PATCH net-next V16 1/3] openvswitch: 802.1ad uapi changes.

2015-10-15 Thread Thomas F Herbert
openvswitch: Add support for 8021.AD Change the description of the VLAN tpid field. Signed-off-by: Thomas F Herbert --- include/uapi/linux/openvswitch.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git

[PATCH net-next V16 2/3] Check for vlan ethernet types for 8021.q or 802.1ad

2015-10-15 Thread Thomas F Herbert
--- include/linux/if_vlan.h | 16 1 file changed, 16 insertions(+) diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 67ce5bd..ac23521 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h @@ -627,6 +627,22 @@ static inline netdev_features_t

[PATCH net-next V16 2/3] Check for vlan ethernet types for 8021.q or 802.1ad

2015-10-15 Thread Thomas F Herbert
Signed-off-by: Thomas F Herbert --- include/linux/if_vlan.h | 16 1 file changed, 16 insertions(+) diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 67ce5bd..ac23521 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h

[PATCH 2/2] openvswitch: Allocate memory for ovs internal device stats.

2015-10-15 Thread James Morse
"openvswitch: Remove vport stats" removed the per-vport statistics, in order to use the netdev's statistics fields. "openvswitch: Fix ovs_vport_get_stats()" fixed the export of these stats to user-space, by using the provided netdev_ops to collate them - but ovs internal devices still use an

[patch net-next 07/15] mlxsw: core: Do not use EMADs in mlxsw_emad_fini

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Be symmetric with mlxsw_emad_init and don't use EMADs in mlxsw_emad_fini cleanup function. Use command interface instead. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/core.c | 1 + 1 file changed, 1 insertion(+) diff

[patch net-next 06/15] mlxsw: pci: Limit number of entries being sent in single MAP_FA cmd

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Firmware accepts only limited number of mapping entries for MAP_FA command. In order to prevent overflow, introduce a limit and in case the number of entries is bigger, call MAP_FA multiple times. Signed-off-by: Jiri Pirko ---

[patch net-next 13/15] mlxsw: Simplify traps creation

2015-10-15 Thread Jiri Pirko
From: Ido Schimmel The Host Trap Group Table (HTGT) register configures trap groups, which are populated with trap IDs using the Host PacKet Trap (HPKT) register. However, a trap ID can only be present inside one trap group (the last configured). Instead of passing both the

[patch net-next 10/15] mlxsw: reg: Remove extra space in SFGC ID define

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/reg.h b/drivers/net/ethernet/mellanox/mlxsw/reg.h index

[patch net-next 15/15] mlxsw: cmd: Update CONFIG_PROFILE command documentation

2015-10-15 Thread Jiri Pirko
From: Ido Schimmel The meaning of certain parameters in the profile passed to the device during initialization has changed, so update their documentation accordingly. Signed-off-by: Ido Schimmel Signed-off-by: Jiri Pirko ---

[patch net-next 04/15] mlxsw: pci: Do not use MLXSW_PCI_SDQS_COUNT define

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Use mlxsw_pci_sdq_count helper instead. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/pci.c

[patch net-next 09/15] mlxsw: reg: Uppercase letters in register IDs

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/reg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/reg.h b/drivers/net/ethernet/mellanox/mlxsw/reg.h index

[patch net-next 02/15] mlxsw: switchx2: Use ETH_ALEN for mac address length

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/switchx2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/switchx2.c

[patch net-next 08/15] mlxsw: Use dev_level_ratelimited instead of net_ratelimit & dev_level

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/pci.c | 7 +++ drivers/net/ethernet/mellanox/mlxsw/switchx2.c | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git

[patch net-next 11/15] mlxsw: reg: Adjust definition of enum mlxsw_reg_sfgc_type

2015-10-15 Thread Jiri Pirko
From: Ido Schimmel Define max which would be needed later on. Signed-off-by: Ido Schimmel Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/reg.h | 16 +--- 1 file changed, 9 insertions(+), 7

[patch net-next 14/15] mlxsw: Add trap group for control packets

2015-10-15 Thread Jiri Pirko
From: Ido Schimmel Previously, we trapped flooded and control packets using the same trap group. This can cause flooded packets to overflow the PCI bus and prevent control packets (e.g. STP, LACP) from getting to the CPU. Solve this by splitting the RX trap group to RX and

[patch net-next 05/15] mlxsw: pci: Remove MLXSW_PCI_RDQS/SDQS defines and checks

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Remove strict number check of queues count as various ASICs have different counts. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/pci.c | 3 +-- drivers/net/ethernet/mellanox/mlxsw/pci.h | 2 -- 2 files changed, 1

Re: Fwd: Re: [PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-15 Thread Kenneth Lee
On Tue, Oct 13, 2015 at 04:18:23PM +0200, Arnd Bergmann wrote: > Date: Tue, 13 Oct 2015 16:18:23 +0200 > From: Arnd Bergmann > To: Kenneth Lee > Cc: da...@davemloft.net, j...@perches.com, liguo...@hisilicon.com, > yisen.zhu...@huawei.com,

[patch net-next 00/15] mlxsw: Driver update, cleanups

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko This patchset contains various cleanups and improvements in mlxsw driver. Ido Schimmel (5): mlxsw: Remove multicast ID configuration mlxsw: reg: Adjust definition of enum mlxsw_reg_sfgc_type mlxsw: Simplify traps creation mlxsw: Add trap group for

[patch net-next 01/15] mlxsw: Remove multicast ID configuration

2015-10-15 Thread Jiri Pirko
From: Ido Schimmel With respect to a firmware change, the Switch Multicast ID (SMID) register is no longer needed, so the related configuration code can be removed. Signed-off-by: Ido Schimmel Signed-off-by: Jiri Pirko ---

[patch net-next 03/15] mlxsw: pci: Use MLXSW_PCI_CQS_MAX instead of MLXSW_PCI_CQS_COUNT

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko The count of CQs can be different for various ASICs, so just define maximal value and check for that. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/pci.c | 8 drivers/net/ethernet/mellanox/mlxsw/pci.h | 2 +-

Re: [patch net-next v5 3/8] switchdev: allow caller to explicitly request attr_set as deferred

2015-10-15 Thread John Fastabend
On 15-10-14 10:40 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Caller should know if he can call attr_set directly (when holding RTNL) > or if he has to defer the att_set processing for later. > > This also allows drivers to sleep inside attr_set and report operation > status

[patch net-next 12/15] mlxsw: Introduce mlxsw_reg_spms_vid_pack helper and use it

2015-10-15 Thread Jiri Pirko
From: Jiri Pirko Introduce separate helper for packing SPMS VIDs, as it can be used for multiple VIDs and not only for one as previous SPMS pack function provided. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/reg.h | 8 ++--

Re: [PATCH net-next] net: Fix suspicious RCU usage in fib_rebalance

2015-10-15 Thread Peter Nørlund
On Wed, 14 Oct 2015 16:44:00 -0700 David Ahern wrote: > This command: > ip route add 192.168.1.0/24 nexthop via 10.2.1.5 dev eth1 nexthop > via 10.2.2.5 dev eth2 > > generated this suspicious RCU usage message: > > [ 63.249262] > [ 63.249939]

Re: [PATCH v2] netfilter: ipset: Fix sleeping memory allocation in atomic context

2015-10-15 Thread Eric Dumazet
On Thu, 2015-10-15 at 16:41 +0300, Nikolay Borisov wrote: > > On 10/15/2015 04:32 PM, Eric Dumazet wrote: > > On Thu, 2015-10-15 at 13:56 +0300, Nikolay Borisov wrote: > >> Commit 00590fdd5be0 introduced RCU locking in list type and in > >> doing so introduced a memory allocation in list_set_add,

Re: [PATCH net-next v2] ipconfig: send Client-identifier in DHCP requests

2015-10-15 Thread Florian Fainelli
2015-10-15 1:54 GMT-07:00 : > From: Li RongQing > > A dhcp server may provide parameters to a client from a pool of IP > addresses and using a shared rootfs, or provide a specific set of > parameters for a specific client, usually using the MAC

Re: [PATCH v2] netfilter: ipset: Fix sleeping memory allocation in atomic context

2015-10-15 Thread Nikolay Borisov
On 10/15/2015 04:32 PM, Eric Dumazet wrote: > On Thu, 2015-10-15 at 13:56 +0300, Nikolay Borisov wrote: >> Commit 00590fdd5be0 introduced RCU locking in list type and in >> doing so introduced a memory allocation in list_set_add, which >> results in the following splat: >> >> BUG: sleeping

Re: [PATCH v2] netfilter: ipset: Fix sleeping memory allocation in atomic context

2015-10-15 Thread Nikolay Borisov
On 10/15/2015 05:32 PM, Eric Dumazet wrote: > On Thu, 2015-10-15 at 16:41 +0300, Nikolay Borisov wrote: >> >> On 10/15/2015 04:32 PM, Eric Dumazet wrote: >>> On Thu, 2015-10-15 at 13:56 +0300, Nikolay Borisov wrote: Commit 00590fdd5be0 introduced RCU locking in list type and in doing

Re: [PATCH net-next V16 2/3] Check for vlan ethernet types for 8021.q or 802.1ad

2015-10-15 Thread Sergei Shtylyov
On 10/15/2015 5:01 PM, Thomas F Herbert wrote: Hm, I'm seeing no sign-off on this patch. --- include/linux/if_vlan.h | 16 1 file changed, 16 insertions(+) diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 67ce5bd..ac23521 100644 ---

Re: SoCFPGA ethernet broken

2015-10-15 Thread Dinh Nguyen
On 10/15/2015 03:03 PM, Florian Fainelli wrote: > On 15/10/15 12:09, Dinh Nguyen wrote: >> Hi, >> >> commit "8b63ec1837fa phylib: Make PHYs children of their MDIO bus, not >> the bus' parent." seems to have broken ethernet support for the SoCFPGA >> platform which is using the stmmac ethernet

Re: [PATCH v2] sunrpc: fix waitqueue_active without memory barrier in sunrpc

2015-10-15 Thread J. Bruce Fields
On Thu, Oct 15, 2015 at 11:44:20AM +, Kosuke Tatsukawa wrote: > Tatsukawa Kosuke wrote: > > J. Bruce Fields wrote: > >> Thanks for the detailed investigation. > >> > >> I think it would be worth adding a comment if that might help someone > >> having to reinvestigate this again some day. > >

Re: [PATCH net-next V16 3/3] openvswitch: 802.1AD: Flow handling, actions, vlan parsing and netlink attributes

2015-10-15 Thread Pravin Shelar
On Thu, Oct 15, 2015 at 7:01 AM, Thomas F Herbert wrote: > Add support for 802.1ad including the ability to push and pop double > tagged vlans. Add support for 802.1ad to netlink parsing and flow > conversion. Uses double nested encap attributes to represent double >

[PATCH net-next 2/4] bpf: align and clean bpf_{map,prog}_get helpers

2015-10-15 Thread Daniel Borkmann
Add a bpf_map_get() function that we're going to use later on and align/clean the remaining helpers a bit so that we have them a bit more consistent: - __bpf_map_get() and __bpf_prog_get() that both work on the fd struct, check whether the descriptor is eBPF and return the pointer to

[PATCH net-next 0/4] BPF updates

2015-10-15 Thread Daniel Borkmann
This set adds support for persistent maps/progs. Please see individual patches for further details. A man-page update to bpf(2) will be sent afterwards, also a iproute2 patch for support in tc. Thanks! Daniel Borkmann (4): bpf: abstract anon_inode_getfd invocations bpf: align and clean

[PATCH net-next 1/4] bpf: abstract anon_inode_getfd invocations

2015-10-15 Thread Daniel Borkmann
Since we're going to use anon_inode_getfd() invocations in more than just the current places, make a helper function for both, so that we only need to pass a map/prog pointer to the helper itself in order to get a fd. The new helpers are called bpf_map_new_fd() and bpf_prog_new_fd().

[PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-15 Thread Daniel Borkmann
This work adds support for "persistent" eBPF maps/programs. The term "persistent" is to be understood that maps/programs have a facility that lets them survive process termination. This is desired by various eBPF subsystem users. Just to name one example: tc classifier/action. Whenever tc parses

[PATCH net-next 4/4] bpf: add sample usages for persistent maps/progs

2015-10-15 Thread Daniel Borkmann
This patch adds a couple of stand-alone examples on how BPF_PIN_FD and BPF_NEW_FD commands can be used. Signed-off-by: Daniel Borkmann Acked-by: Alexei Starovoitov --- samples/bpf/Makefile | 2 + samples/bpf/fds_example.c | 224

Re: SoCFPGA ethernet broken

2015-10-15 Thread Dinh Nguyen
On Thu, 15 Oct 2015, Florian Fainelli wrote: > On 15/10/15 13:49, Dinh Nguyen wrote: > >> > >> Does this text change with and without the 8b63ec1837fa patch? > > > > No, this text does not change with/without the 8b63ec1837fa patch. > > Could you instrument mdiobus_scan(), get_phy_device() and

  1   2   3   >