Re: [RFC PATCH net-next 0/8] Convert some skb_foo functions to void

2015-05-05 Thread David Miller
From: Joe Perches j...@perches.com Date: Mon, 04 May 2015 13:32:30 -0700 On Mon, 2015-05-04 at 13:05 -0700, Joe Perches wrote: unsigned char * return values are sometimes awkward to work with. Changing the return to void * is sometimes clearer. The only uses of the return type is to do sets

Re: [PATCH net-next] vxlan: Correctly set flow*i_mark and flow4i_proto in route lookups

2015-05-05 Thread David Miller
From: Thomas Graf tg...@suug.ch Date: Tue, 5 May 2015 15:09:21 +0200 VXLAN must provide the skb mark and specifiy IPPROTO_UDP when doing the FIB lookup for the remote ip. Otherwise an invalid route might be returned. Signed-off-by: Thomas Graf tg...@suug.ch Applied, thanks Thomas. -- To

Re: [net-next PATCH 0/5] Add eth_proto_is_802_3 to provide improved means of checking Ethertype

2015-05-05 Thread David Miller
From: Alexander Duyck alexander.h.du...@redhat.com Date: Mon, 04 May 2015 14:33:42 -0700 This patch series implements and makes use of eth_proto_is_802_3(). The idea behind the function is to provide an optimized means of testing to determine if a given Ethertype value is a length or 802.3

Re: [RFC PATCH net-next 0/8] Convert some skb_foo functions to void

2015-05-05 Thread Joe Perches
On Tue, 2015-05-05 at 19:20 -0400, David Miller wrote: From: Joe Perches j...@perches.com Date: Mon, 04 May 2015 13:32:30 -0700 On Mon, 2015-05-04 at 13:05 -0700, Joe Perches wrote: unsigned char * return values are sometimes awkward to work with. Changing the return to void * is sometimes

Re: [PATCH] stmmac: call local_irq_save other than disable_irq in poll_controller

2015-05-05 Thread Sonic Zhang
Hi David, On Wed, May 6, 2015 at 7:36 AM, David Miller da...@davemloft.net wrote: From: Sonic Zhang sonic@gmail.com Date: Tue, 5 May 2015 15:55:53 +0800 From: Sonic Zhang sonic.zh...@analog.com It is possible that poll_controller is called from netpoll.c with irq already disabled.

Re: [PATCHv2] bridge: change BR_GROUPFWD_RESTRICTED to allow forwarding of LLDP frames

2015-05-05 Thread David Miller
From: Bernhard Thaler bernhard.tha...@wvnet.at Date: Mon, 4 May 2015 22:47:13 +0200 BR_GROUPFWD_RESTRICTED bitmask restricts users from setting values to /sys/class/net/brX/bridge/group_fwd_mask that allow forwarding of some IEEE 802.1D Table 7-10 Reserved addresses: (MAC Control)

Re: [PATCH 01/12] net: axienet: Support for RGMII

2015-05-05 Thread David Miller
Series applied to net-next. Next time, you should give an initial [PATCH 00/nn] posting describing overall at a high level what the series is doing. That way I can use that information in the commit message of a merge commit for your series, and also have one posting I can reply to in order to

Re: [PATCH] stmmac: call local_irq_save other than disable_irq in poll_controller

2015-05-05 Thread David Miller
From: Sonic Zhang sonic@gmail.com Date: Tue, 5 May 2015 15:55:53 +0800 From: Sonic Zhang sonic.zh...@analog.com It is possible that poll_controller is called from netpoll.c with irq already disabled. Unexpected interrupt may be triggered if always enable irq before returning from

Re: wireless-drivers 2015-05-05

2015-05-05 Thread David Miller
From: Kalle Valo kv...@qca.qualcomm.com Date: Tue, 5 May 2015 20:00:42 +0300 here are few fixes for 4.1. Please let me know if there are problems. Pulled, thank you. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More

Re: [net-next PATCH 0/6] Add skb_free_frag to replace put_page(virt_to_head_page(ptr))

2015-05-05 Thread David Miller
From: Alexander Duyck alexander.h.du...@redhat.com Date: Mon, 04 May 2015 16:14:42 -0700 This patch set cleans up some of the handling of page frags used in the skb allocation. The issue was we were having to use a number of calls to virt_to_head_page in a number of places and then following

[PATCH] Bluetooth: Make request workqueue freezable

2015-05-05 Thread Laura Abbott
We've received a number of reports of warnings when coming out of suspend with certain bluetooth firmware configurations: WARNING: CPU: 3 PID: 3280 at drivers/base/firmware_class.c:1126 _request_firmware+0x558/0x810() Modules linked in: ccm ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack

Re: [PATCHv2 net-next 0/6] Trivial fixes and changes for SGE

2015-05-05 Thread David Miller
From: Hariprasad Shenai haripra...@chelsio.com Date: Tue, 5 May 2015 14:59:50 +0530 This patch series adds the following. Discard packet if length is greater than MTU, move sge monitor code to a new routine, add device node to ULD info, add congestion notification from SGE for ingress queue

Re: [PATCH net-next] mpls: Move reserved label definitions

2015-05-05 Thread David Miller
From: Tom Herbert t...@herbertland.com Date: Tue, 5 May 2015 09:06:30 -0700 Move to include/uapi/linux/mpls.h to be externally visibile. Signed-off-by: Tom Herbert t...@herbertland.com If we want to propagate this into the user header file, we should do so ASAP, so I've applied this to 'net'

Re: [PATCH net 0/2] mlx4 fixes for 4.1-rc2

2015-05-05 Thread David Miller
From: Or Gerlitz ogerl...@mellanox.com Date: Tue, 5 May 2015 17:07:10 +0300 Eran's fix is for a small off-by-one introduces on 4.1-rc1. Yisahi fixes an issue with comes into play only on VMs with many ( 256) vCPUs. Series applied, thank you. -- To unsubscribe from this list: send the line

Re: [PATCH next v3 0/2] Multicast processing in IPvlan

2015-05-05 Thread David Miller
From: Mahesh Bandewar mahe...@google.com Date: Mon, 4 May 2015 17:05:56 -0700 Dan Willems pointed out that autoconf in IPvlan is broken because of the way broadcast bit gets set. Since broadcast processing is a real performance drain, the broadcast bit in multicast filter was only set when

Re: [PATCH -next 1/5] net: sched: replace NCLS macro with tc_nocls bit flag

2015-05-05 Thread David Miller
From: Florian Westphal f...@strlen.de Date: Mon, 4 May 2015 20:48:34 +0200 @@ -566,8 +567,10 @@ struct sk_buff { fclone:2, peeked:1, head_frag:1, +#ifdef CONFIG_NET_CLS_ACT +

Re: [PATCH net-next v2] rhashtable: Simplify iterator code

2015-05-05 Thread David Miller
From: Thomas Graf tg...@suug.ch Date: Tue, 5 May 2015 02:22:53 +0200 Remove useless obj variable and goto logic. Signed-off-by: Thomas Graf tg...@suug.ch Acked-by: Herbert Xu herb...@gondor.apana.org.au Applied. -- To unsubscribe from this list: send the line unsubscribe netdev in the body

Re: [PATCH net-next] rhashtable-test: Fix 64bit division

2015-05-05 Thread David Miller
From: Thomas Graf tg...@suug.ch Date: Tue, 5 May 2015 02:27:02 +0200 A 64bit division went in unnoticed. Use do_div() to accomodate non 64bit architectures. Reported-by: kbuild test robot Fixes: 1aa661f5c3df (rhashtable-test: Measure time to insert, remove traverse entries)

Re: [PATCH net-next v5 12/21] switchdev: remove old switchdev_port_bridge_setlink

2015-05-05 Thread roopa
On 5/5/15, 10:34 AM, sfel...@gmail.com wrote: From: Scott Feldman sfel...@gmail.com New attr-based bridge_setlink can recurse lower devs and recover on err, so remove old wrapper. Also, restore br_setlink back to original and don't call into SELF port driver. rtnetlink.c:bridge_setlink

Re: [PATCH 2/2] pktgen: introduce xmit_mode 'rx_inject'

2015-05-05 Thread Alexander Duyck
On 05/05/2015 01:30 PM, Jesper Dangaard Brouer wrote: snip diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 43bb215..85195b2 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -210,6 +210,10 @@ snip @@ -3320,6 +3358,7 @@ static void pktgen_xmit(struct pktgen_dev *pkt_dev)

[PATCH 0/2] adm8211 patches

2015-05-05 Thread Okash Khawaja
These patches include two changes: 1. Code cleanup around a switch-case statement 2. Bug fix for the possible PCI cache line sizes Okash Khawaja (2): adm8211: fix checkpatch errors for indentation and new line adm8211: fix the possible pci cache line sizes inside switch-case

[PATCH] net: macb: Handle the RXUBR interrupt on all devices

2015-05-05 Thread Nathan Sullivan
The same hardware issue the at91 must work around applies to at least the Zynq ethernet, and possibly more devices. The driver also needs to handle the RXUBR interrupt since it turns it on with MACB_RX_INT_FLAGS anyway. Signed-off-by: Nathan Sullivan nathan.sulli...@ni.com ---

Re: [PATCH net-next v5 20/21] rocker: make checkpatch -f clean

2015-05-05 Thread Scott Feldman
On Tue, May 5, 2015 at 10:45 AM, Joe Perches j...@perches.com wrote: On Tue, 2015-05-05 at 10:34 -0700, sfel...@gmail.com wrote: Well almost clean: ignore the CHECKs for space after cast operator. I think, because this uses relatively long identifiers, that you might as well ignore 80 column

Re: [PATCH net-next] tcp: provide SYN headers for passive connections

2015-05-05 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 03 May 2015 21:34:46 -0700 From: Eric Dumazet eduma...@google.com This patch allows a server application to get the TCP SYN headers for its passive connections. This is useful if the server is doing fingerprinting of clients based on SYN

Re: [PATCH] ipv6: RTA_PREFSRC dumping was somewhat incorrect.

2015-05-05 Thread David Miller
From: Markus Stenberg markus.stenb...@iki.fi Date: Mon, 4 May 2015 14:46:02 +0300 Avoid dumping RTA_PREFSRC twice if iif is not set, but dst is. Note that the change also dumps RTA_PREFSRC even if iif RTA_IIF is sent. As scopes are not that rare in IPv6, I believe that to be correct

[PATCH net-next V8 0/2] openvswitch: Add support for 802.1AD

2015-05-05 Thread Thomas F Herbert
Add support for 802.1AD to the openvswitch kernel module (Version 8.) Please replace version 7 submitted on April 25, with this patch. Version 8 has changes based on the review by Pravin Shelar of V7 and a fix to flow.c to initialize the ctci in the flow key. There was one recommended change

Re: [PATCH 01/12] net: axienet: Support for RGMII

2015-05-05 Thread David Miller
Please do not top-post. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 02/12] net: axienet: Handle 0 packet receive gracefully

2015-05-05 Thread Michal Simek
On 05/05/2015 03:57 PM, Joe Perches wrote: On Tue, 2015-05-05 at 11:25 +0200, Michal Simek wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com The AXI-DMA rx-delay interrupt can sometimes be triggered when there are 0 outstanding packets received. This is due to the fact that the

Re: [PATCH] hv_netvsc: remove unused variable in netvsc_send()

2015-05-05 Thread David Miller
From: Jerry Snitselaar jsnit...@redhat.com Date: Mon, 4 May 2015 10:57:16 -0700 With commit b56fc3c53654 (hv_netvsc: Fix a bug in netvsc_start_xmit()), skb variable is no longer used in netvsc_send. Remove variable and dead code that depended on it. Cc: Haiyang Zhang haiya...@microsoft.com