[PATCH v3] netlink: Fix autobind race condition that leads to zero port ID

2015-09-17 Thread Herbert Xu
On Thu, Sep 17, 2015 at 07:30:34AM -0400, Tejun Heo wrote: > > Maybe add that this led to a deadlock and add a Link tag to this > thread? I'll add a note about the deadlock but I don't like Link tags because websites die and you can always just google the patch subject. > > + nlk_sk(sk)->bound

Re: ATL1E 0000:02:00.0: swiotlb buffer is full (sz: 529461 bytes)

2015-09-17 Thread Markus Trippelsdorf
On 2015.09.12 at 08:51 +0200, Markus Trippelsdorf wrote: > With the current Linus git tree I get an occasional swiotlb allocation > error during network setup at boot-time: > > ATL1E :02:00.0: swiotlb buffer is full (sz: 529461 bytes) > swiotlb: coherent allocation failed for device :02:

[PATCH/RFC net-next v3 3/4] ravb: Document binding for r8a7795 SoC

2015-09-17 Thread Simon Horman
From: Kazuya Mizuguchi This patch updates the ravb binding to support the r8a7795 SoC by: - Adding a compat string for the new hardware - Adding 25 named interrupts to binding for the new SoC; older SoCs continue to use a single multiplexed interrupt The example is also updated to reflect the

[PATCH/RFC net-next v3 2/4] ravb: Provide dev parameter to DMA API

2015-09-17 Thread Simon Horman
From: Kazuya Mizuguchi This patch is in preparation for using this driver on arm64 where the implementation of __dma_alloc_coherent fails if a device parameter is not provided. Signed-off-by: Kazuya Mizuguchi Signed-off-by: Yoshihiro Shimoda Signed-off-by: Masaru Nagai [horms: squashed into a

[PATCH/RFC net-next v3 4/4] ravb: Add support for r8a7795 SoC

2015-09-17 Thread Simon Horman
From: Kazuya Mizuguchi This patch supports the r8a7795 SoC by: - Using two interrupts + One for E-MAC + One for everything else + Both can be handled by the existing common interrupt handler, which affords a simpler update to support the new SoC. In future some consideration may be

[PATCH/RFC net-next v3 1/4] phylib: Add phy_set_max_speed helper

2015-09-17 Thread Simon Horman
Add a helper to allow ethernet drivers to limit the speed of a phy (that they are attached to). This mainly involves factoring out the business-end of of_set_phy_supported() and exporting a new symbol. This code seems to be open coded in several places, in several different variants. It is is en

[PATCH/RFC net-next v3 0/4] ravb: Add support for r8a7795 SoC

2015-09-17 Thread Simon Horman
This series enhances the ravb driver to support the r8a7795 SoC. Changes: * Details in changelog of individual patches Base: * net-next/master Availability: To aid review of this and other EtherAVB the following branches are available in my renesas tree on kernel.org. * me/r8a7795-ravb-drive

Re: [PATCH][RESEND] MAINTAINERS: add arcnet and take maintainership

2015-09-17 Thread Uwe Kleine-König
Hello, On Thu, Sep 17, 2015 at 03:26:16PM +0200, Michael Grzeschik wrote: > +ARCNET NETWORK LAYER > +M: Michael Grzeschik > +L: netdev@vger.kernel.org > +S: Maintained > +F: drivers/net/arcnet/ > +F: include/uapi/linux/if_arcnet.h > + What about Documentation/networking/arcnet

Re: [PATCH next 0/30] Passing net through the netfilter hooks

2015-09-17 Thread David Miller
From: David Miller Date: Thu, 17 Sep 2015 17:19:04 -0700 (PDT) > From: ebied...@xmission.com (Eric W. Biederman) > Date: Tue, 15 Sep 2015 19:59:49 -0500 > >> Pablo, Dave I don't know whose tree this makes more sense to go >> through. I am assuming at least initially Pablos as netfilter is >> in

Re: [PATCH net-next] sch_dsmark: improve memory locality

2015-09-17 Thread David Miller
From: Eric Dumazet Date: Thu, 17 Sep 2015 16:37:13 -0700 > From: Eric Dumazet > > Memory placement in sch_dsmark is silly : Better place mask/value > in the same cache line. > > Also, we can embed small arrays in the first cache line and > remove a potential cache miss. > > Signed-off-by: Eri

Re: [PATCH net] tcp_cubic: do not set epoch_start in the future

2015-09-17 Thread David Miller
From: Eric Dumazet Date: Thu, 17 Sep 2015 08:38:00 -0700 > From: Eric Dumazet > > Tracking idle time in bictcp_cwnd_event() is imprecise, as epoch_start > is normally set at ACK processing time, not at send time. > > Doing a proper fix would need to add an additional state variable, > and does

Re: [PATCH net] fjes: fix off-by-one error at fjes_hw_update_zone_task()

2015-09-17 Thread David Miller
From: Taku Izumi Date: Thu, 17 Sep 2015 23:21:21 +0900 > Dan Carpenter reported off-by-one error of fjes at > http://www.mail-archive.com/netdev@vger.kernel.org/msg77520.html > > Actually this is a bug. > ep_shm_info[epidx].{es_status, zone} should be update > inside for loop. > > This patch fi

Re: [PATCH net] MAINTAINERS: remove bouncing email address for qlcnic

2015-09-17 Thread David Miller
From: Jiri Benc Date: Thu, 17 Sep 2015 16:28:31 +0200 > I got this automated message from when submitting > a qlcnic patch: > >> Shahed Shaikh is no longer with QLogic. If you require assistance please >> contact Ariel Elior ariel.el...@qlogic.com > > There's no point in having a bouncing addr

Re: [PATCH net 0/5] vxlan fixes

2015-09-17 Thread David Miller
From: Jiri Benc Date: Thu, 17 Sep 2015 16:11:09 +0200 > This fixes various issues with vxlan related to IPv6. Series applied, thanks Jiri. -- 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://vge

Re: [PATCH][RESEND] MAINTAINERS: add arcnet and take maintainership

2015-09-17 Thread David Miller
From: Michael Grzeschik Date: Thu, 17 Sep 2015 15:26:16 +0200 > Add entry for arcnet to MAINTAINERS file and add myself as the > maintainer of the subsystem. > > Signed-off-by: Michael Grzeschik Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a mess

Re: [PATCH][RESEND] ARCNET: fix hard_header_len limit

2015-09-17 Thread David Miller
From: Michael Grzeschik Date: Thu, 17 Sep 2015 15:18:34 +0200 > For arcnet the bare minimum header only contains the 4 bytes to > specify source, dest and offset (1, 1 and 2 bytes respectively). > The corresponding struct is struct arc_hardware. > > The struct archdr contains additionally a unio

Re: pull request: bluetooth 2015-09-17

2015-09-17 Thread David Miller
From: Johan Hedberg Date: Thu, 17 Sep 2015 15:27:17 +0300 > Here's one important patch for the 4.3-rc series that fixes an issue > with Bluetooth LE encryption failing because of a too early check for > the SMP context. > > Please let me know if there are any issues pulling. Thanks. Pulled, tha

Re: [PATCH net-next 0/2] net: bcmgenet: Interrupt coalescing

2015-09-17 Thread David Miller
From: Florian Fainelli Date: Wed, 16 Sep 2015 16:47:38 -0700 > This patch series adds support for interrupt coalescing for GENET > adapters. Series applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More maj

Re: [PATCH net 1/6] lan78xx: Check device ready bit (PMT_CTL_READY_) after reset the PHY

2015-09-17 Thread David Miller
All 6 patches applied, thanks. But in the future, please provide an initial "[PATCH net 0/6]" posting which gives a top-level overview of what your patch series is doing. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org Mor

Re: [PATCH v2] atm: deal with setting entry before mkip was called

2015-09-17 Thread David Miller
From: Sasha Levin Date: Wed, 16 Sep 2015 15:30:21 -0400 > If we didn't call ATMARP_MKIP before ATMARP_ENCAP the VCC descriptor is > non-existant and we'll end up dereferencing a NULL ptr: ... > Signed-off-by: Sasha Levin Applied, thanks. -- To unsubscribe from this list: send the line "unsubsc

Re: xfrm4_garbage_collect reaching limit

2015-09-17 Thread Dan Streetman
On Wed, Sep 16, 2015 at 4:45 AM, Steffen Klassert wrote: > On Mon, Sep 14, 2015 at 11:14:59PM -0400, Dan Streetman wrote: >> On Fri, Sep 11, 2015 at 5:48 AM, Steffen Klassert >> wrote: >> > >> >> Possibly the >> >> default value of xfrm4_gc_thresh could be set proportional to >> >> num_online_cpu

Re: xfrm4_garbage_collect reaching limit

2015-09-17 Thread Steffen Klassert
On Thu, Sep 17, 2015 at 09:23:35PM -0700, David Miller wrote: > From: Steffen Klassert > Date: Wed, 16 Sep 2015 10:45:41 +0200 > > > index 1e06c4f..3dffc73 100644 > > --- a/net/ipv4/xfrm4_policy.c > > +++ b/net/ipv4/xfrm4_policy.c > > @@ -248,7 +248,7 @@ static struct dst_ops xfrm4_dst_ops = { >

Re: [PATCH net] ipv6: ip6_fragment: fix headroom tests and skb leak

2015-09-17 Thread David Miller
From: Florian Westphal Date: Wed, 16 Sep 2015 17:26:14 +0200 > David Woodhouse reports skb_under_panic when we try to push ethernet > header to fragmented ipv6 skbs: > > skbuff: skb_under_panic: text:c1277f1e len:1294 put:14 head:dec98000 > data:dec97ffc tail:0xdec9850a end:0xdec98f40 dev:br-l

Re: [PATCH net-next v2] net: Initialize table in fib result

2015-09-17 Thread David Miller
From: David Ahern Date: Wed, 16 Sep 2015 10:16:39 -0600 > Sergey, Richard and Fabio reported an oops in ip_route_input_noref. e.g., > from Richard: ... > The root cause is use of res.table uninitialized. > > Thanks to Nikolay for noticing the uninitialized use amongst the maze of > gotos. > >

Re: [PATCH v2] solos-pci: Increase headroom on received packets

2015-09-17 Thread David Miller
From: David Woodhouse Date: Wed, 16 Sep 2015 12:35:00 +0100 > A comment in include/linux/skbuff.h says that: > > * Various parts of the networking layer expect at least 32 bytes of > * headroom, you should not reduce this. > > This was demonstrated by a panic when handling fragmented IPv6 pac

Re: [RESEND PATCH] net: ks8851: Export OF module alias information

2015-09-17 Thread David Miller
From: Javier Martinez Canillas Date: Wed, 16 Sep 2015 11:11:22 +0200 > Drivers needs to export the OF id table and this be built into > the module or udev won't have the necessary information to autoload > the driver module when the device is registered via OF. > > Signed-off-by: Javier Martinez

Re: xfrm4_garbage_collect reaching limit

2015-09-17 Thread David Miller
From: Steffen Klassert Date: Wed, 16 Sep 2015 10:45:41 +0200 > index 1e06c4f..3dffc73 100644 > --- a/net/ipv4/xfrm4_policy.c > +++ b/net/ipv4/xfrm4_policy.c > @@ -248,7 +248,7 @@ static struct dst_ops xfrm4_dst_ops = { > .destroy = xfrm4_dst_destroy, > .ifdown =

Re: [PATCH] ip: find correct route for socket which is not bound to a device

2015-09-17 Thread David Miller
From: Wengang Wang Date: Wed, 16 Sep 2015 14:34:15 +0800 > For multi-cast, we should find valid route(thus get the meaniful pmtu) for > the package on the socket which is not bound to a device(sk_bound_dev_if > being 0) too. Your patch breaks exactly the situation explained in full detail in the

Re: [PATCH v2 net-next 0/2] bpf: performance improvements

2015-09-17 Thread David Miller
From: Alexei Starovoitov Date: Tue, 15 Sep 2015 23:05:41 -0700 > v1->v2: dropped redundant iff_up check in patch 2 > > At plumbers we discussed different options on how to get rid of skb_clone > from bpf_clone_redirect(), the patch 2 implements the best option. > Patch 1 adds 'integrated exts' t

Re: [PATCH v2 net] net/mlx4_en: really allow to change RSS key

2015-09-17 Thread David Miller
From: Or Gerlitz Date: Wed, 16 Sep 2015 14:05:25 +0300 > On Wed, Sep 16, 2015 at 4:29 AM, Eric Dumazet wrote: >> From: Eric Dumazet >> >> When changing rss key, we do not want to overwrite user provided key >> by the one provided by netdev_rss_key_fill(), which is the host random >> key generat

Re: [PATCH V2 net-next] net: only check perm protocol when register proto

2015-09-17 Thread David Miller
From: martinbj2...@gmail.com Date: Fri, 18 Sep 2015 00:00:05 -0400 > From: Junwei Zhang > > The permanent protocol nodes are at the head of the list, > So only need check all these nodes. > > No matter the new node is permanent or not, > insert the new node after the last permanent protocol nod

Re: [PATCH net-next 1/2] tcp: provide skb->hash to synack packets

2015-09-17 Thread David Miller
From: Eric Dumazet Date: Tue, 15 Sep 2015 15:24:20 -0700 > From: Eric Dumazet > > In commit b73c3d0e4f0e ("net: Save TX flow hash in sock and set in skbuf > on xmit"), Tom provided a l4 hash to most outgoing TCP packets. > > We'd like to provide one as well for SYNACK packets, so that all pack

[PATCH V2 net-next] net: only check perm protocol when register proto

2015-09-17 Thread martinbj2008
From: Junwei Zhang The permanent protocol nodes are at the head of the list, So only need check all these nodes. No matter the new node is permanent or not, insert the new node after the last permanent protocol node, If the new node conflicts with existing permanent node, return error. Signed-

Re: [PATCH net-next 2/2] bonding: use l4 hash if available

2015-09-17 Thread David Miller
From: Eric Dumazet Date: Tue, 15 Sep 2015 15:24:28 -0700 > + if (bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP34 && > + skb->l4_hash) > + return skb->hash; Applied, with the indentation of the return statement fixed up. :-) -- To unsubscribe from this list:

Re: [PATCH net 4/5] be2net: allow offloading with the same port for IPv4 and IPv6

2015-09-17 Thread Sathya Perla
On Thu, Sep 17, 2015 at 7:41 PM, Jiri Benc wrote: > The callback for adding vxlan port can be called with the same port for both > IPv4 and IPv6. Do not disable the offloading if this occurs. > > Signed-off-by: Jiri Benc > --- > drivers/net/ethernet/emulex/benet/be.h | 1 + > drivers/net/e

Re: [PATCH net] netlink: make sure -EBUSY won't escape from netlink_insert

2015-09-17 Thread Herbert Xu
On Thu, Sep 17, 2015 at 11:47:12AM -0700, Linus Torvalds wrote: > On Wed, Sep 16, 2015 at 10:41 PM, Christoph Paasch > wrote: > > > > can this patch get queued up for 4.1 as well? > > It seems to fix a similar issue in 4.1.6. > > I think Herbert has an additional patch for this issue. But yes, I

Re: [PATCH net 2/2] 8139cp: reset BQL when ring tx ring cleared

2015-09-17 Thread David Woodhouse
On Fri, 2015-09-18 at 01:44 +0200, Francois Romieu wrote: > The TxDmaOkLowDesc register may tell if the Tx dma part is still > making any progress. I have added a TxPoll request. See below. I've just added that into the original TX timeout handler, since that doesn't seem to be crashing the box f

Re: [net-next 0/8][pull request] Intel Wired LAN Driver Updates 2015-09-17

2015-09-17 Thread Jeff Kirsher
On Thu, 2015-09-17 at 17:17 -0700, Jeff Kirsher wrote: > This series contains updates to i40e and i40evf. > > Shannon provides updates to i40e and i40evf to resolve an issue with > the > nvmupdate utility. First renames a variable name to reduce confusion > and > to differentiate it from the actu

Re: [PATCH] geneve: restore vlan bits in xmit path

2015-09-17 Thread Jesse Gross
On Thu, Sep 17, 2015 at 1:15 PM, John W. Linville wrote: > On Thu, Sep 17, 2015 at 12:48:56PM -0700, Jesse Gross wrote: >> On Thu, Sep 17, 2015 at 12:25 PM, John W. Linville >> wrote: >> > On Thu, Sep 17, 2015 at 11:45:58AM -0700, Pravin Shelar wrote: >> >> On Thu, Sep 17, 2015 at 10:18 AM, John

Re: [PATCH next 0/30] Passing net through the netfilter hooks

2015-09-17 Thread David Miller
From: ebied...@xmission.com (Eric W. Biederman) Date: Tue, 15 Sep 2015 19:59:49 -0500 > Pablo, Dave I don't know whose tree this makes more sense to go > through. I am assuming at least initially Pablos as netfilter is > involved. From what I have seen there will be a lot of back and forth > bet

[net-next 5/8] i40e/i40evf: add wait states to NVM state machine

2015-09-17 Thread Jeff Kirsher
From: Shannon Nelson This adds wait states to the NVM update state machine to signify when waiting for an update operation to finish, whether we're in the middle of a set of Write operations, or we're now idle but waiting. Change-ID: Iabe91d6579ef6a2ea560647e374035656211ab43 Signed-off-by: Shann

[net-next 2/8] i40e/i40evf: save aq writeback for future inspection

2015-09-17 Thread Jeff Kirsher
From: Shannon Nelson Add the ability to save the AdminQ write back descriptor if a caller supplies a buffer for it to be saved into. Change-ID: I3d1301d26360b39a2d66dc8569e851f54133a3af Signed-off-by: Shannon Nelson Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/etherne

[net-next 7/8] i40e/i40evf: add get AQ result command to nvmupdate utility

2015-09-17 Thread Jeff Kirsher
From: Shannon Nelson Add a facility to recover the result of a previously run AQ command. Change-ID: I21afec2c20c1a5e6ba60c7fbfcbedfff78c10e45 Signed-off-by: Shannon Nelson Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/i40e/i40e_nvm.c| 79 +++

[net-next 8/8] i40e/i40evf: Bump i40e to 1.3.21 and i40evf to 1.3.13

2015-09-17 Thread Jeff Kirsher
From: Catherine Sullivan Bump. Change-ID: If7ce84218361defa209142d1d8c6f69d48c2d7ad Signed-off-by: Catherine Sullivan Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +- drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 +- 2 fil

[net-next 6/8] i40e/i40evf: add exec_aq command to nvmupdate utility

2015-09-17 Thread Jeff Kirsher
From: Shannon Nelson Add a facility to run AQ commands through the nvmupdate utility in order to allow the update tools to interact with the FW and do special commands needed for updates and configuration changes. Change-ID: I5c41523e4055b37f8e4ee479f7a0574368f4a588 Signed-off-by: Shannon Nelson

[net-next 0/8][pull request] Intel Wired LAN Driver Updates 2015-09-17

2015-09-17 Thread Jeff Kirsher
This series contains updates to i40e and i40evf. Shannon provides updates to i40e and i40evf to resolve an issue with the nvmupdate utility. First renames a variable name to reduce confusion and to differentiate it from the actual user variable. Then added the ability to save the admin queue wri

[net-next 4/8] i40e/i40evf: add GetStatus command for nvmupdate

2015-09-17 Thread Jeff Kirsher
From: Shannon Nelson This adds a new GetStatus command so that the NVM update tool can query the current status instead of doing fake write requests to probe for readiness. Change-ID: I671ec6ccd4dfc9dbac3a03b964589d693fda5cd8 Signed-off-by: Shannon Nelson Tested-by: Andrew Bowers Signed-off-by

[net-next 1/8] i40e: rename variable to prevent clash of understanding

2015-09-17 Thread Jeff Kirsher
From: Shannon Nelson This code returns something that becomes the errno value from ethtool and passes around a pointer to an errno variable. This patch changes the name slightly to differentiate it from the actual user errno variable. Change-ID: Idaa37845c069e66f4cea072e90f471bb2142454d Signed-

[net-next 3/8] i40e/i40evf: add handling of writeback descriptor

2015-09-17 Thread Jeff Kirsher
From: Shannon Nelson If the writeback descriptor buffer was previously created, this gives it to the AQ command request to be used to save the results. Change-ID: I8c8a1af81e6ebed6d0a15ed31697fe1a6c4e3708 Signed-off-by: Shannon Nelson Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher ---

Re: Experiences with slub bulk use-case for network stack

2015-09-17 Thread Christoph Lameter
On Thu, 17 Sep 2015, Jesper Dangaard Brouer wrote: > What I'm proposing is keeping interrupts on, and then simply cmpxchg > e.g 2 slab-pages out of the SLUB allocator (which the SLUB code calls > freelist's). The bulk call now owns these freelists, and returns them > to the caller. The API caller

Re: iproute2 tunnel name parsing

2015-09-17 Thread Wilhelm Wijkander
Thanks for the reply Vadim, 2015-09-17 22:10 GMT+02:00 Vadim Kochan : > You can use 'name' before 'hel' Yes, "name" enables me to create the tunnel, things do get trickier when I'm trying to bring the tunnel device up: # ip link set dev hel up Usage: ip link add [link DEV] [ name ] NAME

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

2015-09-17 Thread David Miller
From: Jeff Kirsher Date: Tue, 15 Sep 2015 17:36:25 -0700 > This series contains updates to ixgbe and fm10k. 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 majordomo info at http://vger.kernel.o

Re: [PATCH net 2/2] 8139cp: reset BQL when ring tx ring cleared

2015-09-17 Thread Francois Romieu
David Woodhouse : [...] > And of course, even if I fix the TX timeout handling, I'd still like to > know why it's happening in the first place... So do I. The TxDmaOkLowDesc register may tell if the Tx dma part is still making any progress. I have added a TxPoll request. See below. diff --git a

[PATCH net-next] sch_dsmark: improve memory locality

2015-09-17 Thread Eric Dumazet
From: Eric Dumazet Memory placement in sch_dsmark is silly : Better place mask/value in the same cache line. Also, we can embed small arrays in the first cache line and remove a potential cache miss. Signed-off-by: Eric Dumazet --- net/sched/sch_dsmark.c | 63 ---

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread Florian Fainelli
On 17/09/15 16:14, Russell King - ARM Linux wrote: [snip] >with _no_ phy node. > > 4. Going back to the SFP problem, the link is only up when the SFP >module pins indicate that there's no transmitter fault, no loss of >signal _and_ the PCS layer at the MAC indicates that it has compl

Re: [PATCH] net: Fix vti use case with oif in dst lookups

2015-09-17 Thread David Miller
From: David Ahern Date: Tue, 15 Sep 2015 15:10:50 -0700 > Steffen reported that the recent change to add oif to dst lookups breaks > the VTI use case. The problem is that with the oif set in the flow struct > the comparison to the nh_oif is triggered. Fix by splitting the > FLOWI_FLAG_VRFSRC into

Re: [PATCH v2] net-sysfs: get_netdev_queue_index() cleanup

2015-09-17 Thread David Miller
From: Thadeu Lima de Souza Cascardo Date: Tue, 15 Sep 2015 18:28:00 -0300 > Redo commit ed1acc8cd8c22efa919da8d300bab646e01c2dce. > > Commit 822b3b2ebfff8e9b3d006086c527738a7ca00cd0 ("net: Add max rate tx queue > attribute") moved get_netdev_queue_index around, but kept the old version. > Probab

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread David Miller
From: Florian Fainelli Date: Thu, 17 Sep 2015 16:02:41 -0700 > On 17/09/15 15:12, David Miller wrote: >> I can queue up the whole series for -stable if you want. > > I think this would be a good thing, mvneta-based platforms are fairly > popular. Done. -- To unsubscribe from this list: send the

Re: [PATCH for-next] cxgb4: add device ID for few T5 adapters

2015-09-17 Thread David Miller
From: Hariprasad Shenai Date: Tue, 15 Sep 2015 17:20:09 +0530 > Signed-off-by: Hariprasad Shenai Applied to 'net', thanks. -- 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/ma

Re: [PATCH net-next 4/5] qeth: add layer 2 RX/TX checksum offloading

2015-09-17 Thread David Miller
From: Ursula Braun Date: Tue, 15 Sep 2015 12:32:17 +0200 > +int qeth_send_setassparms(struct qeth_card *, struct qeth_cmd_buffer *, > __u16, > + long, > + int (*reply_cb)(struct qeth_card *, struct qeth_reply *, unsigned long), > + void *); Function declarations and definitions that

[PATCH 2/2] 8139cp: Call __cp_set_rx_mode() from cp_tx_timeout()

2015-09-17 Thread David Woodhouse
Unless we reset the RX config, on real hardware I don't seem to receive any packets after a TX timeout. Signed-off-by: David Woodhouse --- Now it does actually recover from the TX timeout, lots of the time. Sometimes it still hits that IRQ storm, which probably explains the apparent lockup right

Re: [PATCH V1 net-next] net: only check perm protocol when register proto

2015-09-17 Thread David Miller
From: martinbj2...@gmail.com Date: Tue, 15 Sep 2015 08:14:05 +0800 > @@ -1043,22 +1043,16 @@ void inet_register_protosw(struct inet_protosw *p) > goto out_illegal; > > /* If we are trying to override a permanent protocol, bail. */ > - answer = NULL; > last_perm = &i

[PATCH 1/2] 8139cp: Use dev_kfree_skb_any() instead of dev_kfree_skb() in cp_clean_rings()

2015-09-17 Thread David Woodhouse
This can be called from cp_tx_timeout() with interrupts disabled. Spotted by Francois Romieu Signed-off-by: David Woodhouse --- drivers/net/ethernet/realtek/8139cp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethe

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread Russell King - ARM Linux
On Thu, Sep 17, 2015 at 03:12:47PM -0700, David Miller wrote: > From: Russell King - ARM Linux > Date: Mon, 14 Sep 2015 12:42:09 +0100 > > > Thanks, I think that will solve it. I have to wonder why that patch > > (f8af8e6eb9509 in mainline) didn't made it into v4.2 though, as it's > > billed as

Re: [PATCH] net: qdisc: enhance default_qdisc documentation

2015-09-17 Thread David Miller
From: Phil Sutter Date: Tue, 15 Sep 2015 10:33:07 +0200 > Aside from some lingual cleanup, point out which interfaces are not or > partly covered by this setting. > > Signed-off-by: Phil Sutter Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a messa

Re: [PATCH] net: Add documentation for VRF device

2015-09-17 Thread David Miller
From: David Ahern Date: Tue, 15 Sep 2015 10:50:14 -0600 > Signed-off-by: David Ahern Applied, thanks. -- 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: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread Florian Fainelli
On 17/09/15 15:12, David Miller wrote: > From: Russell King - ARM Linux > Date: Mon, 14 Sep 2015 12:42:09 +0100 > >> Thanks, I think that will solve it. I have to wonder why that patch >> (f8af8e6eb9509 in mainline) didn't made it into v4.2 though, as it's >> billed as a regression that occurred

Re: [PATCH net] openvswitch: Fix IPv6 exthdr handling with ct helpers.

2015-09-17 Thread David Miller
From: Joe Stringer Date: Mon, 14 Sep 2015 11:14:50 -0700 > Static code analysis reveals the following bug: > > net/openvswitch/conntrack.c:281 ovs_ct_helper() > warn: unsigned 'protoff' is never less than zero. > > This signedness bug breaks error handling for IPv6 extension hea

Re: [PATCH next 0/30] Passing net through the netfilter hooks

2015-09-17 Thread Eric W. Biederman
Nicolas Dichtel writes: > Le 16/09/2015 02:59, Eric W. Biederman a écrit : >> >> My primary goal with this patchset and it's follow ups is to cleanup the >> network routing paths so that we do not look at the output device to >> derive the network namespace. My plan is to pass the network namesp

[PATCH next 31/30] netfilter: Add blank lines in callers of netfilter hooks

2015-09-17 Thread Eric W. Biederman
In code review it was noticed that I had failed to add some blank lines in places where they are customarily used. Taking a second look at the code I have to agree blank lines would be nice so I have added them here. Reported-by: Nicolas Dichtel Signed-off-by: "Eric W. Biederman" --- net/ipv

Re: [PATCH net 2/2] 8139cp: reset BQL when ring tx ring cleared

2015-09-17 Thread David Woodhouse
On Thu, 2015-09-17 at 22:44 +0200, Francois Romieu wrote: > David Woodhouse : > > On Thu, 2015-09-17 at 12:36 +0100, David Woodhouse wrote: > > > > > > Thanks; I'll try that. In fact since updating to 4.2 the problem has > > > got worse — now the whole machine dies: > > > > There is something ve

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread David Miller
From: Russell King - ARM Linux Date: Mon, 14 Sep 2015 12:42:09 +0100 > Thanks, I think that will solve it. I have to wonder why that patch > (f8af8e6eb9509 in mainline) didn't made it into v4.2 though, as it's > billed as a regression that occurred in the previous merge window, and > given that

Re: NFS/TCP/IPv6 acting strangely in 4.2

2015-09-17 Thread Trond Myklebust
On Thu, Sep 17, 2015 at 12:27 PM, Benjamin Coddington wrote: > On Thu, 17 Sep 2015, Trond Myklebust wrote: > >> Hi Russell, >> >> On Thu, 2015-09-17 at 14:57 +0100, Russell King - ARM Linux wrote: >> > On Fri, Sep 11, 2015 at 05:49:38PM +0100, Russell King - ARM Linux >> > wrote: >> > > Following

Re: NFS/TCP/IPv6 acting strangely in 4.2

2015-09-17 Thread Trond Myklebust
On Thu, Sep 17, 2015 at 5:47 PM, Russell King - ARM Linux wrote: > On Thu, Sep 17, 2015 at 10:18:29AM -0400, Trond Myklebust wrote: >> Hi Russell, >> >> On Thu, 2015-09-17 at 14:57 +0100, Russell King - ARM Linux wrote: >> > On Fri, Sep 11, 2015 at 05:49:38PM +0100, Russell King - ARM Linux >> > w

Re: [PATCH] geneve: restore vlan bits in xmit path

2015-09-17 Thread Pravin Shelar
On Thu, Sep 17, 2015 at 1:15 PM, John W. Linville wrote: > On Thu, Sep 17, 2015 at 12:48:56PM -0700, Jesse Gross wrote: >> On Thu, Sep 17, 2015 at 12:25 PM, John W. Linville >> wrote: >> > On Thu, Sep 17, 2015 at 11:45:58AM -0700, Pravin Shelar wrote: >> >> On Thu, Sep 17, 2015 at 10:18 AM, John

Re: [PATCH net] ipv6: include NLM_F_REPLACE in route replace notifications

2015-09-17 Thread David Miller
From: Roopa Prabhu Date: Sun, 13 Sep 2015 10:18:33 -0700 > From: Roopa Prabhu > > This patch adds NLM_F_REPLACE flag to ipv6 route replace notifications. > This makes nlm_flags in ipv6 replace notifications consistent > with ipv4. > > Signed-off-by: Roopa Prabhu > --- > Submitting this to net

e1000_hw_c_checkpatch_coding_style_errors_remove

2015-09-17 Thread Janusz Wolak
>From 4ac9fd87e092f58eb7a6ed898360dfd83c5c10f5 Mon Sep 17 00:00:00 2001 From: Janusz Wolak Date: Thu, 17 Sep 2015 23:34:29 +0200 Subject: [PATCH] Remove checkpatch coding style errors. Signed-off-by: Janusz Wolak --- drivers/net/ethernet/intel/e1000/e1000_hw.c | 16 +++- 1 file cha

Re: [PATCH v2 1/3] net: irda: pxaficp_ir: use sched_clock() for time management

2015-09-17 Thread David Miller
From: Robert Jarzmik Date: Wed, 16 Sep 2015 11:34:01 +0200 > David Miller writes: > >> From: Robert Jarzmik >> Date: Sat, 12 Sep 2015 13:45:22 +0200 >> >>> Instead of using directly the OS timer through direct register access, >>> use the standard sched_clock(), which will end up in OSCR readi

Re: NFS/TCP/IPv6 acting strangely in 4.2

2015-09-17 Thread Russell King - ARM Linux
On Thu, Sep 17, 2015 at 10:18:29AM -0400, Trond Myklebust wrote: > Hi Russell, > > On Thu, 2015-09-17 at 14:57 +0100, Russell King - ARM Linux wrote: > > On Fri, Sep 11, 2015 at 05:49:38PM +0100, Russell King - ARM Linux > > wrote: > > > Following that idea, I just tried the patch below, and it se

RE: [PATCH net-next RFC] net: increase LL_MAX_HEADER for Hyper-V

2015-09-17 Thread KY Srinivasan
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Thursday, September 17, 2015 1:11 PM > To: KY Srinivasan > Cc: david.lai...@aculab.com; alexander.du...@gmail.com; Haiyang Zhang > ; vkuzn...@redhat.com; netdev@vger.kernel.org; > linux-ker...@vger.kernel.org;

pull-request: can-next 2015-09-17

2015-09-17 Thread Marc Kleine-Budde
build error (2015-09-16 11:51:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git tags/linux-can-next-for-4.4-20150917 for you to fetch changes up to 0738eff14d817a02ab082c392c96a1613006f158: can: Allwinner A10/A20 CAN

Re: [PATCH] net: smc91x: convert pxa dma to dmaengine

2015-09-17 Thread Russell King - ARM Linux
On Thu, Sep 17, 2015 at 01:37:22PM -0700, David Miller wrote: > From: Robert Jarzmik > Date: Wed, 16 Sep 2015 11:41:54 +0200 > > > David Miller writes: > > > >> From: Robert Jarzmik > >> Date: Thu, 10 Sep 2015 21:26:04 +0200 > >> > >>> Convert the dma transfers to be dmaengine based, now pxa h

Re: [PATCH v8 0/4] can: Allwinner A10/A20 CAN Controller support - Summary

2015-09-17 Thread Marc Kleine-Budde
On 09/16/2015 01:21 PM, Gerhard Bertelsmann wrote: > Hi, > > please find attached the next version of my patch set. I have > taken all remarks from Maxime Ripard into the new version > > Please review, test and report bugs if exists. > > The patchset applies to all recent Kernel versions (4.x,

Re: [PATCH] iplink_geneve: add UDP destination port configuration at link creation

2015-09-17 Thread Eric Dumazet
On Thu, 2015-09-17 at 15:27 -0400, John W. Linville wrote: > Signed-off-by: John W. Linville > --- > } > > @@ -150,6 +159,10 @@ static void geneve_print_opt(struct link_util *lu, FILE > *f, struct rtattr *tb[]) > else > fprintf(f, "tos %#x ", tos); >

[PATCH v2] geneve: remove use of internal IP header when calling IP_ECN_decapsulate

2015-09-17 Thread John W. Linville
This seems to have been a "thinko". IP_ECN_decapsulate needs info from both internal and external headers. Signed-off-by: John W. Linville --- v2 -- ensure the collect_md path still calls IP_ECN_decapsulate drivers/net/geneve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

Re: [PATCH net 2/2] 8139cp: reset BQL when ring tx ring cleared

2015-09-17 Thread Francois Romieu
David Woodhouse : > On Thu, 2015-09-17 at 12:36 +0100, David Woodhouse wrote: > > > > Thanks; I'll try that. In fact since updating to 4.2 the problem has > > got worse — now the whole machine dies: > > There is something very strange going on here. I've found two ways to > make it stop crashing

I need to talk to you very urgent, Email me via: dkareem...@yahoo.com.hk

2015-09-17 Thread DKareem
I need to talk to you very urgent, Email me via: dkareem...@yahoo.com.hk -- 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] net: smc91x: convert pxa dma to dmaengine

2015-09-17 Thread David Miller
From: Robert Jarzmik Date: Wed, 16 Sep 2015 11:41:54 +0200 > David Miller writes: > >> From: Robert Jarzmik >> Date: Thu, 10 Sep 2015 21:26:04 +0200 >> >>> Convert the dma transfers to be dmaengine based, now pxa has a dmaengine >>> slave driver. This makes this driver a bit more PXA agnostic.

Re: [PATCH] geneve: remove use of internal IP header when calling IP_ECN_decapsulate

2015-09-17 Thread John W. Linville
On Thu, Sep 17, 2015 at 12:46:48PM -0700, Jesse Gross wrote: > On Thu, Sep 17, 2015 at 10:17 AM, John W. Linville > wrote: > > diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c > > index da3259ce7c8d..a917ae1cfbf3 100644 > > --- a/drivers/net/geneve.c > > +++ b/drivers/net/geneve.c > > @@ -

Re: [PATCH] geneve: restore vlan bits in xmit path

2015-09-17 Thread John W. Linville
On Thu, Sep 17, 2015 at 12:48:56PM -0700, Jesse Gross wrote: > On Thu, Sep 17, 2015 at 12:25 PM, John W. Linville > wrote: > > On Thu, Sep 17, 2015 at 11:45:58AM -0700, Pravin Shelar wrote: > >> On Thu, Sep 17, 2015 at 10:18 AM, John W. Linville > >> wrote: > >> > These seem to have been accident

Re: Experiences with slub bulk use-case for network stack

2015-09-17 Thread Jesper Dangaard Brouer
On Wed, 16 Sep 2015 10:13:25 -0500 (CDT) Christoph Lameter wrote: > On Wed, 16 Sep 2015, Jesper Dangaard Brouer wrote: > > > > > Hint, this leads up to discussing if current bulk *ALLOC* API need to > > be changed... > > > > Alex and I have been working hard on practical use-case for SLAB > > bu

Re: iproute2 tunnel name parsing

2015-09-17 Thread Vadim Kochan
On Thu, Sep 17, 2015 at 09:55:29PM +0200, Wilhelm Wijkander wrote: > Hi, > > I'm trying to create a sit tunnel called "hel": ip tun add hel mode > sit remote 10.200.0.2 local 10.200.1.2 ttl 255, however it seems like > this is interpreted as the help argument and I get the usage text. Is > there a

Re: [PATCH net-next RFC] net: increase LL_MAX_HEADER for Hyper-V

2015-09-17 Thread David Miller
From: KY Srinivasan Date: Thu, 17 Sep 2015 19:52:01 + > > >> -Original Message- >> Have a pre-cooked ring of buffers for these descriptors that you can >> point the chip at. No per-packet allocation is necessary at all. > > Even if I had a ring of buffers, I would still need to ma

Re: [PATCH] geneve: restore vlan bits in xmit path

2015-09-17 Thread Pravin Shelar
On Thu, Sep 17, 2015 at 12:48 PM, Jesse Gross wrote: > On Thu, Sep 17, 2015 at 12:25 PM, John W. Linville > wrote: >> On Thu, Sep 17, 2015 at 11:45:58AM -0700, Pravin Shelar wrote: >>> On Thu, Sep 17, 2015 at 10:18 AM, John W. Linville >>> wrote: >>> > These seem to have been accidentally droppe

iproute2 tunnel name parsing

2015-09-17 Thread Wilhelm Wijkander
Hi, I'm trying to create a sit tunnel called "hel": ip tun add hel mode sit remote 10.200.0.2 local 10.200.1.2 ttl 255, however it seems like this is interpreted as the help argument and I get the usage text. Is there a way to escape names that I've missed, or is this an error somewhere in argv pa

RE: [PATCH net-next RFC] net: increase LL_MAX_HEADER for Hyper-V

2015-09-17 Thread KY Srinivasan
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Thursday, September 17, 2015 11:52 AM > To: KY Srinivasan > Cc: david.lai...@aculab.com; alexander.du...@gmail.com; Haiyang Zhang > ; vkuzn...@redhat.com; netdev@vger.kernel.org; > linux-ker...@vger.kernel.org

Re: [PATCH] geneve: restore vlan bits in xmit path

2015-09-17 Thread Jesse Gross
On Thu, Sep 17, 2015 at 12:25 PM, John W. Linville wrote: > On Thu, Sep 17, 2015 at 11:45:58AM -0700, Pravin Shelar wrote: >> On Thu, Sep 17, 2015 at 10:18 AM, John W. Linville >> wrote: >> > These seem to have been accidentally dropped in commit 371bd1061d29 >> > ("geneve: Consolidate Geneve fun

Re: [PATCH] geneve: remove use of internal IP header when calling IP_ECN_decapsulate

2015-09-17 Thread Jesse Gross
On Thu, Sep 17, 2015 at 10:17 AM, John W. Linville wrote: > diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c > index da3259ce7c8d..a917ae1cfbf3 100644 > --- a/drivers/net/geneve.c > +++ b/drivers/net/geneve.c > @@ -178,13 +178,15 @@ static void geneve_rx(struct geneve_sock *gs, struct > s

[ANNOUNCE] nftables 0.5 release

2015-09-17 Thread Pablo Neira Ayuso
Hi! The Netfilter project proudly presents: nftables 0.5 This release contains bug fixes and new features contained up to the 4.2 kernel release. New features * Concatenations: You can combine two or more selectors to build a tuple, then use it to look up for a matching

Re: [PATCH] geneve: restore vlan bits in xmit path

2015-09-17 Thread John W. Linville
On Thu, Sep 17, 2015 at 11:45:58AM -0700, Pravin Shelar wrote: > On Thu, Sep 17, 2015 at 10:18 AM, John W. Linville > wrote: > > These seem to have been accidentally dropped in commit 371bd1061d29 > > ("geneve: Consolidate Geneve functionality in single module."). > > > Geneve should not export vx

  1   2   >