Re: [PATCH RFC 00/28] DSA: Restructure probing

2015-12-24 Thread Florian Fainelli
Le 24/12/2015 04:58, Andrew Lunn a écrit : >> I do not think you need the platform device because ultimately what the >> DSA platform device does is bind some data to the master network device >> the DSA switch tree is hanging off. Sure you need some piece of code >> that is resident in kernel or

Re: [PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-24 Thread Pravin Shelar
On Thu, Dec 24, 2015 at 1:14 AM, Nicolas Dichtel wrote: > Le 24/12/2015 00:52, Pravin B Shelar a écrit : > [snip] >> >> @@ -83,22 +84,12 @@ int ip6_tnl_get_iflink(const struct net_device *dev); >> static inline void ip6tunnel_xmit(struct sock *sk, struct sk_buff *skb,

[PATCH net-next v3] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-24 Thread Pravin B Shelar
By moving stats update into iptunnel_xmit(), we can simplify iptunnel_xmit() usage. With this change there is no need to call another function (iptunnel_xmit_stats()) to update stats in tunnel xmit code path. Signed-off-by: Pravin B Shelar --- v2-v3: - Fixed ip6tunnel_xmit()

[PATCH iproute2 net-next 1/2] iproute2: ip-route.8.in: Add missing '[' before 'pref'

2015-12-24 Thread Hangbin Liu
Signed-off-by: Hangbin Liu --- man/man8/ip-route.8.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in index 72d8d77..5b45bc2 100644 --- a/man/man8/ip-route.8.in +++ b/man/man8/ip-route.8.in @@ -128,7 +128,7

[PATCH iproute2 net-next 2/2] iproute2: ip-route.8.in: Add expires option for ip route

2015-12-24 Thread Hangbin Liu
Signed-off-by: Hangbin Liu --- man/man8/ip-route.8.in | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in index 5b45bc2..c5494f8 100644 --- a/man/man8/ip-route.8.in +++ b/man/man8/ip-route.8.in @@

Re: linux-next: kernel panic in ipv6_defrag

2015-12-24 Thread Junxiao Bi
On 12/23/2015 04:59 PM, Florian Westphal wrote: > Junxiao Bi wrote: >> The following panic happened when I run ocfs2-test on linux-next. Kernel >> config is attached. >> >> [64910.905501] BUG: unable to handle kernel NULL pointer dereference at >> (null) >>

[net-next 7/9] ixgbe: Correct X550EM_x revision check

2015-12-24 Thread Jeff Kirsher
From: Mark Rustad The X550EM_x revision check needs to check a value, not just a bit. Use a mask and check the value. Also remove the redundant check inside the ixgbe_enter_lplu_t_x550em, because it can only be called when both the mac type and revision check pass.

[net-next 1/9] ixgbevf: Fix handling of NAPI budget when multiple queues are enabled per vector

2015-12-24 Thread Jeff Kirsher
From: William Dauchy This is the same patch as for ixgbe but applied differently according to busy polling. See commit 5d6002b7b822c74 ("ixgbe: Fix handling of NAPI budget when multiple queues are enabled per vector") Signed-off-by: William Dauchy

[net-next 9/9] ixgbe: Fix bugs in ixgbe_clear_vf_vlans()

2015-12-24 Thread Jeff Kirsher
From: Alexander Duyck When I had rewritten the code for ixgbe_clear_vf_vlans() it looks like I had transitioned back and forth between using word as an offset and using word as a register offset. As a result I honestly don't see how the code was working before other than

[net-next 5/9] ixgbe: Clean up redundancy in hw_enc_features

2015-12-24 Thread Jeff Kirsher
From: Mark Rustad Clean up minor redundancy in the setting of hw_enc_features that makes it appears that X550 uniquely has more encapsulation features than other devices. The driver only supports one more feature, so make it look that way. No longer set NETIF_F_SG since

[net-next 4/9] ixgbe: report correct media type for KR, KX and KX4 interfaces

2015-12-24 Thread Jeff Kirsher
From: Veola Nazareth Ethtool reports backplane type interfaces as 1000/1baseT link modes. This has been corrected to report the media as KR, KX or KX4 based on the backplane interface present. Signed-off-by: Veola Nazareth Tested-by: Phil

[net-next 0/9][pull request] 10GbE Intel Wired LAN Driver Updates 2015-12-24

2015-12-24 Thread Jeff Kirsher
This series contains updates to ixgbe and ixgbevf. William Dauchy provides a fix for ixgbevf that was implemented for ixgbe, commit 5d6002b7b822c7 ("ixgbe: Fix handling of NAPI budget when multiple queues are enabled per vector"). The issue was that the polling routine would increase the budget

[net-next 3/9] ixgbe: add support for QSFP PHY types in ixgbe_get_settings()

2015-12-24 Thread Jeff Kirsher
From: Emil Tantilov Add missing QSFP PHY types to allow for more accurate reporting of port settings. Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher

[net-next 2/9] ixgbevf: minor cleanups for ixgbevf_set_itr()

2015-12-24 Thread Jeff Kirsher
From: Emil Tantilov adapter->rx_itr_setting is not a mask so check it with == instead of & do not default to 12K interrupts in ixgbevf_set_itr() There should be no functional effect from these changes. Signed-off-by: Emil Tantilov

[net-next 6/9] ixgbe: fix RSS limit for X550

2015-12-24 Thread Jeff Kirsher
From: Emil Tantilov X550 allows for up to 64 RSS queues, but the driver can have max of 63 (-1 MSIX vector for link). On systems with >= 64 CPUs the driver will set the redirection table for all 64 queues which will result in packets being dropped. Signed-off-by:

[net-next 8/9] ixgbe: fix write to VLVFB in ixgbe_clear_vf_vlans()

2015-12-24 Thread Jeff Kirsher
From: Emil Tantilov Fix the write to the VLVFB register in ixgbe_clear_vf_vlans() where word is the actual offset of the register and not the index for the IXGBE_VLVFB macro. This was causing PCI AER errors on my system. Fixes:

Re: [PATCH RFC 25/28] Documentation: DSA: Describe how probe of DSA and switches work.

2015-12-24 Thread Florian Fainelli
Le 23/12/2015 14:53, Andrew Lunn a écrit : > On Wed, Dec 23, 2015 at 12:48:28PM -0800, Florian Fainelli wrote: >> Le 23/12/2015 04:56, Andrew Lunn a écrit : >>> With the introduction of switches as linux devices and the use of the >>> component framework, probing has become more complex. Add some

Re: [PATCH V1 08/16] i40iw: add files for iwarp interface

2015-12-24 Thread Faisal Latif
On Thu, Dec 24, 2015 at 10:25:08AM +0200, Or Gerlitz wrote: > On 12/24/2015 9:31 AM, Faisal Latif wrote: > >On Wed, Dec 23, 2015 at 08:42:01AM -0800, Or Gerlitz wrote: > >>On 12/22/2015 1:13 AM, Faisal Latif wrote: > >>>+ > >>>+enum i40iw_memreg_type { > >>>+ IW_MEMREG_TYPE_MEM = 0x, > >>>+

[PATCH v2 3/3] can: sja1000: of: add compatibility with Technologic Systems version

2015-12-24 Thread Damien Riegel
Technologic Systems provides an IP compatible with the SJA1000, instantiated in an FPGA. Because of some bus widths issue, access to registers is made through a "window" that works like this: base + 0x0: address to read/write base + 0x2: 8-bit register value This commit adds a new

[PATCH v2 1/3] can: sja1000: of: add per-compatible init hook

2015-12-24 Thread Damien Riegel
This commit adds the capability to allocate and init private data embedded in the sja1000_priv structure on a per-compatible basis. The device node is passed as a parameter of the init callback to allow parsing of custom device tree properties. Signed-off-by: Damien Riegel

[PATCH v2 0/3] can: sja1000: support for technologic version

2015-12-24 Thread Damien Riegel
This patchset introduces support for the technologic version of the SJA1000. Access to IP's registers are proxied through a window, requiring two bus accesses to read or write a register. These accesses must be protected by a spinlock to prevent race conditions. Currently, there is no easy way to

[PATCH v2 2/3] can: sja1000: add documentation for Technologic Systems version

2015-12-24 Thread Damien Riegel
This commit adds documentation for the Technologic Systems version of SJA1000. The difference with the NXP version is in the way the registers are accessed. Signed-off-by: Damien Riegel --- Documentation/devicetree/bindings/net/can/sja1000.txt | 3 ++- 1 file

Re: [PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-24 Thread Nicolas Dichtel
Le 24/12/2015 05:37, Pravin Shelar a écrit : On Wed, Dec 23, 2015 at 6:57 PM, David Miller wrote: From: Pravin B Shelar Date: Wed, 23 Dec 2015 15:52:03 -0800 } else { - err_stats->tx_dropped++; + struct net_device_stats

Re: [PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-24 Thread Nicolas Dichtel
Le 24/12/2015 00:52, Pravin B Shelar a écrit : [snip] @@ -83,22 +84,12 @@ int ip6_tnl_get_iflink(const struct net_device *dev); static inline void ip6tunnel_xmit(struct sock *sk, struct sk_buff *skb, struct net_device *dev) { - struct net_device_stats

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-24 Thread Markus Brunner
On Wednesday 23 December 2015 20:18:16 David Rivshin wrote: > On Thu, 24 Dec 2015 00:34:49 +0100 > > Nicolas Chauvet wrote: > > 2015-12-23 22:54 GMT+01:00 David Rivshin (Allworx) < > > > > here is the full dmesg output with this serie applied to linux-next: > >

Re: [PATCH V1 08/16] i40iw: add files for iwarp interface

2015-12-24 Thread Or Gerlitz
On 12/24/2015 9:31 AM, Faisal Latif wrote: On Wed, Dec 23, 2015 at 08:42:01AM -0800, Or Gerlitz wrote: On 12/22/2015 1:13 AM, Faisal Latif wrote: + +enum i40iw_memreg_type { + IW_MEMREG_TYPE_MEM = 0x, + IW_MEMREG_TYPE_QP = 0x0001, + IW_MEMREG_TYPE_CQ = 0x0002, +

Re: [PATCH V1 15/16] i40iw: add entry in rdma_netlink

2015-12-24 Thread Or Gerlitz
On 12/24/2015 9:05 AM, Faisal Latif wrote: >Why the iwarp port mapper implementationhas to be repeated in each >driver? can you join your code in a common place and avoid the duplication? > >root@r-dcs58 hw]# git grep RDMA_NL_ nes >nes/nes.c: [RDMA_NL_IWPM_REG_PID] = {.dump =

[net-next PATCH 02/10] be2net: avoid configuring VEPA mode on BE3

2015-12-24 Thread Sathya Perla
From: Suresh Reddy BE3 chip doesn't support VEPA mode. Signed-off-by: Suresh Reddy Signed-off-by: Sathya Perla --- drivers/net/ethernet/emulex/benet/be_main.c | 3 +++ 1 file changed, 3 insertions(+) diff

[net-next PATCH 07/10] be2net: remove unused error variables

2015-12-24 Thread Sathya Perla
From: Venkat Duvvuru eeh_error, fw_timeout, hw_error variables in the be_adapter structure are not used anymore. An earlier patch that introduced adapter->err_flags to store this information missed removing these variables. Signed-off-by: Venkat Duvvuru

[net-next PATCH 06/10] be2net: remove a line of code that has no effect

2015-12-24 Thread Sathya Perla
This patch removes a line of code that changes adapter->recommended_prio value followed by yet another assignment. Also, the variable is used to store the vlan priority value that is already shifted to the PCP bits position in the vlan tag format. Hence, the name of this variable is changed to

[net-next PATCH 08/10] be2net: fix port-res desc query of GET_PROFILE_CONFIG FW cmd

2015-12-24 Thread Sathya Perla
From: Suresh Reddy Commit 72ef3a88fa8e ("be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd") passed a specific pf_num while issuing a GET_PROFILE_CONFIG cmd as FW returns descriptors for all functions when pf_num is zero. But, when pf_num is set to a

[net-next PATCH 03/10] be2net: cleanup FW flash image related macro defines

2015-12-24 Thread Sathya Perla
From: Suresh Reddy Many constant definitions relating to the FW-image layout (such as section offset values) were defined in decimal format rather than hexa-decimal. This makes this part of the code un-readable. Also some defines related to BE2 are labeld "g2" and

[net-next PATCH 00/10] be2net: patch set

2015-12-24 Thread Sathya Perla
Hi David, The following patch set contains some feature additions, code re-organization and cleanup and a few non-critical fixes. Pls consider applying this to the net-next tree. Thanks. Patch 1 fixes VF link state transition from disabled to auto that did not work due to an issue in the FW. This

[net-next PATCH 10/10] be2net: bump up the driver version to 11.0.0.0

2015-12-24 Thread Sathya Perla
From: Suresh Reddy Signed-off-by: Suresh Reddy Signed-off-by: Sathya Perla --- drivers/net/ethernet/emulex/benet/be.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[net-next PATCH 01/10] be2net: fix VF link state transition from disabled to auto

2015-12-24 Thread Sathya Perla
From: Suresh Reddy The VF link state setting transition from "disable" to "auto" does not work due to a bug in SET_LOGICAL_LINK_CONFIG_V1 cmd in FW. This issue could not be fixed in FW due to some backward compatibility issues it causes with some released drivers. The

[net-next PATCH 05/10] be2net: log digital signature errors while flashing FW image

2015-12-24 Thread Sathya Perla
From: Suresh Reddy >From FW version 11.0 onwards, the FW supports a new "secure mode" feature (based on a jumper setting on the adapter.) In this mode, the FW image when flashed is authenticated with a digital signature. This patch logs appropriate error messages and

Re: [PATCH] vxlan: Properly depend on ipv6 and revert to module_init()

2015-12-24 Thread kbuild test robot
Hi Calvin, [auto build test ERROR on net-next/master] [also build test ERROR on v4.4-rc6 next-20151223] url: https://github.com/0day-ci/linux/commits/Calvin-Owens/vxlan-Properly-depend-on-ipv6-and-revert-to-module_init/20151224-070557 config: i386-randconfig-b0-12241357 (attached as .config

[PATCH] mac80211: Make addr const in SET_IEEE80211_PERM_ADDR()

2015-12-24 Thread Bjorn Andersson
Make the addr parameter const in SET_IEEE80211_PERM_ADDR() to save clients from having to cast away a const qualifier. Signed-off-by: Bjorn Andersson --- include/net/mac80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[patch] qlcnic: fix a loop exit condition better

2015-12-24 Thread Dan Carpenter
In the original code, if we succeeded on the last iteration through the loop then we still returned failure. Fixes: 389e4e04ad2d ('qlcnic: fix a timeout loop') Signed-off-by: Dan Carpenter diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c

Re: [PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-24 Thread Nicolas Dichtel
Le 24/12/2015 00:52, Pravin B Shelar a écrit : [snip] diff --git a/net/tipc/udp_media.c b/net/tipc/udp_media.c index 6af78c6..d63a911 100644 --- a/net/tipc/udp_media.c +++ b/net/tipc/udp_media.c @@ -182,15 +182,9 @@ static int tipc_udp_send_msg(struct net *net, struct sk_buff *skb,

Re: [patch] qlcnic: fix a loop exit condition better

2015-12-24 Thread David Miller
From: Dan Carpenter Date: Thu, 24 Dec 2015 12:21:22 +0300 > In the original code, if we succeeded on the last iteration through the > loop then we still returned failure. > > Fixes: 389e4e04ad2d ('qlcnic: fix a timeout loop') > Signed-off-by: Dan Carpenter

Re: [PATCH net-next] cxgb4: Get TID calculation right for IPv6 mode

2015-12-24 Thread David Miller
From: Hariprasad Shenai Date: Thu, 24 Dec 2015 16:15:17 +0530 > CLIP is always enabled and hardware uses 2 TID entries instead of 4 for > IPv6 in CLIP mode. > > Signed-off-by: Hariprasad Shenai Applied. -- To unsubscribe from this list: send the

Re: [PATCH net-next] cxgb4: Remove deprecated module parameters

2015-12-24 Thread David Miller
From: Hariprasad Shenai Date: Thu, 24 Dec 2015 16:24:53 +0530 > Remove deprecated module parameters, and mark one parameter as > deprecated. > > Signed-off-by: Hariprasad Shenai Applied. -- To unsubscribe from this list: send the line

Re: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-24 Thread Alan Stern
On Thu, 24 Dec 2015, Oliver Neukum wrote: > On Thu, 2015-12-24 at 10:14 -0500, Alan Stern wrote: > > On Thu, 24 Dec 2015, Oliver Neukum wrote: > > > > > On Wed, 2015-12-23 at 20:32 -0500, Alan Stern wrote: > > > > But you cannot keep that setting if the system goes down > > > or any broadcast

Re: [PATCH net-next 3/4] soreuseport: setsockopt SO_ATTACH_REUSEPORT_[CE]BPF

2015-12-24 Thread Alexei Starovoitov
On Tue, Dec 22, 2015 at 03:05:09PM -0500, Craig Gallek wrote: > From: Craig Gallek > > Expose socket options for setting a classic or extended BPF program > for use when selecting sockets in an SO_REUSEPORT group. These options > can be used on the first socket to belong to a

[PATCH net-next] cxgb4: Get TID calculation right for IPv6 mode

2015-12-24 Thread Hariprasad Shenai
CLIP is always enabled and hardware uses 2 TID entries instead of 4 for IPv6 in CLIP mode. Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH net-next] cxgb4: Remove deprecated module parameters

2015-12-24 Thread Hariprasad Shenai
Remove deprecated module parameters, and mark one parameter as deprecated. Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 54 + 1 file changed, 2 insertions(+), 52 deletions(-) diff --git

Re: [PATCH] netconsole: Initialize after all core networking drivers

2015-12-24 Thread Hannes Frederic Sowa
Hi, On 24.12.2015 00:03, Calvin Owens wrote: > On Thursday 12/17 at 17:46 -0800, Calvin Owens wrote: >> On Thursday 12/17 at 17:08 -0800, Eric Dumazet wrote: >>> On Thu, 2015-12-17 at 15:52 -0800, Calvin Owens wrote: With built-in netconsole and IXGBE, configuring netconsole via the kernel

[PATCH V5 7/9] Drivers: hv: vmbus: add a mechanism to pass hvsock events to the hvsock driver

2015-12-24 Thread Dexuan Cui
For now only 1 event is defined: HVSOCK_RESCIND_CHANNEL. We'll have more events in the future. Signed-off-by: Dexuan Cui --- drivers/hv/channel_mgmt.c | 18 ++ include/linux/hyperv.h| 17 + 2 files changed, 35 insertions(+) diff --git

[PATCH V5 6/9] Drivers: hv: vmbus: add a hvsock flag in struct hv_driver

2015-12-24 Thread Dexuan Cui
Only the coming hv_sock driver has a "true" value for this flag. We treat the hvsock offers/channels as special VMBus devices. Since the hv_sock driver handles all the hvsock offers/channels, we need to tweak vmbus_match() for hv_sock driver, so we introduce this flag. Signed-off-by: Dexuan Cui

[PATCH V5 8/9] Drivers: hv: vmbus: add an API vmbus_hvsock_device_unregister()

2015-12-24 Thread Dexuan Cui
The hvsock driver needs this API to release all the resources related to the channel. Signed-off-by: Dexuan Cui --- drivers/hv/channel_mgmt.c | 33 - drivers/hv/connection.c | 4 ++-- include/linux/hyperv.h| 2 ++ 3 files changed, 32

[PATCH net-next 2/2] r8169:Update the way of reading RTL8168H PHY register "rg_saw_cnt"

2015-12-24 Thread Chunhao Lin
The vlaue of RTL8168H PHY register "rg_saw_cnt" only valid from bit0 to bit13. When read this register, add bitwise-anding its value with 0x3fff. Signed-off-by: Chunhao Lin --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH net-next 0/2] r8169:Update RTL8168H PHY parameters

2015-12-24 Thread Chunhao Lin
Fix typo in setting PHY parameter and update the way of reading PHY register "rg_saw_cnt". Chunhao Lin (2): r8169:Fix typo in setting RTL8168H PHY parameter r8169:Update the way of reading RTL8168H PHY register "rg_saw_cnt" drivers/net/ethernet/realtek/r8169.c | 4 ++-- 1 file changed, 2

[PATCH net-next 1/2] r8169:Fix typo in setting RTL8168H PHY parameter

2015-12-24 Thread Chunhao Lin
In function "rtl8168h_2_hw_phy_config", there is a typo in setting RTL8168H PHY parameter. Signed-off-by: Chunhao Lin --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c

Re: [net-next PATCH 05/10] be2net: log digital signature errors while flashing FW image

2015-12-24 Thread Sergei Shtylyov
Hello. On 12/24/2015 12:26 PM, Sathya Perla wrote: From: Suresh Reddy From FW version 11.0 onwards, the FW supports a new "secure mode" feature (based on a jumper setting on the adapter.) In this mode, the FW image when flashed is authenticated with a digital

[PATCH] wlcore/wl12xx: spi: fix NULL pointer dereference (Oops)

2015-12-24 Thread Uri Mashiach
Fix the below Oops when trying to modprobe wlcore_spi. The oops occurs because the wl1271_power_{off,on}() function doesn't check the power() function pointer. [ 23.401447] Unable to handle kernel NULL pointer dereference at virtual address [ 23.409954] pgd = c0004000 [ 23.412922]

Re: [PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-24 Thread Nicolas Dichtel
Le 24/12/2015 13:46, Thadeu Lima de Souza Cascardo a écrit : On Thu, Dec 24, 2015 at 10:21:27AM +0100, Nicolas Dichtel wrote: Le 24/12/2015 00:52, Pravin B Shelar a écrit : [snip] diff --git a/net/tipc/udp_media.c b/net/tipc/udp_media.c index 6af78c6..d63a911 100644 --- a/net/tipc/udp_media.c

[PATCH V5 0/9] introduce Hyper-V VM Sockets(hvsock

2015-12-24 Thread Dexuan Cui
Merry Christmas, everyone! Changes since v1: - updated "[PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature" - added __init and __exit for the module init/exit functions - net/hv_sock/Kconfig: "default m" -> "default m if HYPERV" - MODULE_LICENSE: "Dual MIT/GPL" -> "Dual BSD/GPL" Changes

[PATCH V5 4/9] Drivers: hv: ring_buffer: enhance hv_ringbuffer_read() to support hvsock

2015-12-24 Thread Dexuan Cui
To get the payload of hvsock, we need raw=0 to skip the level-1 header (i.e., struct vmpacket_descriptor desc) and we also need to skip the level-2 header (i.e., struct vmpipe_proto_header pipe_hdr). NB: if the length of the hvsock payload is not aligned with the 8-byte boundeary, at most 7

[PATCH V5 3/9] Drivers: hv: vmbus: define a new VMBus message type for hvsock

2015-12-24 Thread Dexuan Cui
A function to send the type of message is also added. The coming net/hvsock driver will use this function to proactively request the host to offer a VMBus channel for a new hvsock connection. Signed-off-by: Dexuan Cui --- drivers/hv/channel.c | 15 +++

[PATCH V5 5/9] Drivers: hv: vmbus: add APIs to send/recv hvsock packets

2015-12-24 Thread Dexuan Cui
This will be used by the coming net/hvsock driver. Signed-off-by: Dexuan Cui --- drivers/hv/channel.c | 59 ++ include/linux/hyperv.h | 9 2 files changed, 68 insertions(+) diff --git a/drivers/hv/channel.c

Re: [PATCH net-next v2] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-24 Thread Thadeu Lima de Souza Cascardo
On Thu, Dec 24, 2015 at 10:21:27AM +0100, Nicolas Dichtel wrote: > Le 24/12/2015 00:52, Pravin B Shelar a écrit : > [snip] > >diff --git a/net/tipc/udp_media.c b/net/tipc/udp_media.c > >index 6af78c6..d63a911 100644 > >--- a/net/tipc/udp_media.c > >+++ b/net/tipc/udp_media.c > >@@ -182,15 +182,9

Re: [PATCH net-next V2 3/4] net/mlx5e: Add HW timestamping (TS) support

2015-12-24 Thread eran ben elisha
> +void mlx5e_fill_hwstamp(struct mlx5e_tstamp *tstamp, > + struct skb_shared_hwtstamps *hwts, > + u64 timestamp) > +{ > + unsigned long flags; > + u64 nsec; > + > + memset(hwts, 0, sizeof(struct skb_shared_hwtstamps)); > +

Re: [PATCH RFC 00/28] DSA: Restructure probing

2015-12-24 Thread Andrew Lunn
> I do not think you need the platform device because ultimately what the > DSA platform device does is bind some data to the master network device > the DSA switch tree is hanging off. Sure you need some piece of code > that is resident in kernel or module space to be able to parse and > allocate

Re: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-24 Thread Alan Stern
On Thu, 24 Dec 2015, Oliver Neukum wrote: > On Wed, 2015-12-23 at 20:32 -0500, Alan Stern wrote: > > > I don't understand why the wakeup conditions are different. It seems > > to me that the choice of which packets will generate a wakeup ought to > > depend on the user's selection, not on the

Re: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-24 Thread Oliver Neukum
On Thu, 2015-12-24 at 10:14 -0500, Alan Stern wrote: > On Thu, 24 Dec 2015, Oliver Neukum wrote: > > > On Wed, 2015-12-23 at 20:32 -0500, Alan Stern wrote: > > But you cannot keep that setting if the system goes down > > or any broadcast packet would resume the whole system. > > Yet you cannot