Re: [PATCH net-next v3 1/2] pci: Add Cavium PCI vendor id

2015-05-16 Thread Bjorn Helgaas
Hi Aleksey, On Fri, May 15, 2015 at 10:36 PM, Aleksey Makarov aleksey.maka...@auriga.com wrote: Signed-off-by: Aleksey Makarov aleksey.maka...@auriga.com --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h

Re: [PATCH net-next v2] net: phy: Add state machine state transitions debug prints

2015-05-16 Thread David Miller
From: Florian Fainelli f.faine...@gmail.com Date: Sat, 16 May 2015 10:17:56 -0700 It can be useful to debug the PHY state machine, add dynamic debug prints of the old and new PHY devices state under a friendly format. Signed-off-by: Florian Fainelli f.faine...@gmail.com Applied, thanks

Re: netlink: Disable insertions/removals during rehash

2015-05-16 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Sat, 16 May 2015 21:16:28 +0800 On Fri, May 15, 2015 at 01:02:57PM -0400, David Miller wrote: From: Herbert Xu herb...@gondor.apana.org.au Date: Thu, 14 May 2015 13:58:24 +0800 The current rhashtable rehash code is buggy and can't deal

Re: [net] netlink: Reset portid after netlink_insert failure

2015-05-16 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Sat, 16 May 2015 21:50:28 +0800 The commit c5adde9468b0714a051eac7f9666f23eb10b61f7 (netlink: eliminate nl_sk_hash_lock) breaks the autobind retry mechanism because it doesn't reset portid after a failed netlink_insert. This means that

Re: [net] netlink: Make autobind rover an atomic_t

2015-05-16 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Sat, 16 May 2015 21:40:07 +0800 The commit 21e4902aea80ef35afc00ee8d2abdea4f519b7f7 (netlink: Lockless lookup with RCU grace period in socket release) removed the locks around the autobind rover without making the rover itself safe for use by

Re: netlink: Kill bogus lock_sock in netlink_insert

2015-05-16 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Sat, 16 May 2015 09:50:11 -0700 Maybe the difference between 3.15 and 4.1 is not coming from rhashtable/netlink but other core stuff, like mutex code. The workload is largely dominated by mutex acquisition anyway. Hmmm, the only commit that

Re: [PATCH 0/4] Netfilter fixes for net

2015-05-16 Thread David Miller
From: Pablo Neira Ayuso pa...@netfilter.org Date: Sat, 16 May 2015 20:47:14 +0200 The following patchset contains Netfilter fixes for your net tree, they are: 1) Fix a leak in IPVS, the sysctl table is not released accordingly when destroying a netns, patch from Tommi Rantala. 2) Fix a

Re: [PATCH net-next] sfc: nicer log message on Siena SR-IOV probe fail

2015-05-16 Thread David Miller
From: Edward Cree ec...@solarflare.com Date: Fri, 15 May 2015 20:56:35 +0100 We expect that MC_CMD_SRIOV will fail if the card has no VFs configured. So output a readable message instead of a cryptic MCDI error. Please resubmit this patch with a proper Signed-off-by: tag. Thank you. -- To

Re: [V4 PATCH 3/6] pci: Generic function for setting up PCI device DMA coherency

2015-05-16 Thread Bjorn Helgaas
On Fri, May 15, 2015 at 4:23 PM, Suravee Suthikulpanit suravee.suthikulpa...@amd.com wrote: This patch refactors of_pci_dma_configure() into a more generic pci_dma_configure(), which can be reused by non-OF code. Then, it adds support for setting up PCI device DMA coherency from ACPI _CCA

Re: [net PATCH] ip_vti/ip6_vti: Clear skb-mark when resetting skb-dev in receive path

2015-05-16 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Sat, 16 May 2015 20:34:58 +0800 On Fri, May 15, 2015 at 12:14:43PM -0700, Alexander Duyck wrote: Yeah, this mark handling via tunnel-parms.o_key looks not so good. So is there any recommendations for an alternative to make it so that the

Re: [PATCH] net: phy: Make sure PHY_RESUMING state change is always processed

2015-05-16 Thread David Miller
From: Florian Fainelli f.faine...@gmail.com Date: Fri, 15 May 2015 14:25:49 -0700 On 12/05/15 18:55, Tim Beale wrote: If phy_start_aneg() was called while the phydev is in the PHY_RESUMING state, then its state would immediately transition to PHY_AN (or PHY_FORCING). This meant the

Re: [PATCH net v2 2/2] ipv6: fix ECMP route replacement

2015-05-16 Thread David Miller
From: Michal Kubecek mkube...@suse.cz Date: Fri, 15 May 2015 19:41:56 +0200 The semantics I suggested in my previous mail might be a reasonable approximation. Ok, then let's try for that. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

Re: [PATCH 1/3] ipv6: make inet6addr_chain blocking and always call with rtnl locked

2015-05-16 Thread David Miller
From: Konstantin Khlebnikov khlebni...@yandex-team.ru Date: Thu, 14 May 2015 16:56:18 +0300 Unlike to inetaddr_chain inet6addr_chain is atomic and called from bh context without rtnl when ipv6 receives router advertisement packet. Several drivers don't know about that: ipvlan thinks that it

Re: rhashtable: Add cap on number of elements in hash table

2015-05-16 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Fri, 15 May 2015 14:30:57 +0800 On Thu, May 14, 2015 at 11:46:15PM -0400, David Miller wrote: We wouldn't fail these inserts in any other hash table in the kernel. Would we stop making new TCP sockets if the TCP ehash chains are 3 entries

Re: [v2 PATCH] rhashtable: Add cap on number of elements in hash table

2015-05-16 Thread David Miller
From: Herbert Xu herb...@gondor.apana.org.au Date: Fri, 15 May 2015 11:30:47 +0800 We currently have no limit on the number of elements in a hash table. This is a problem because some users (tipc) set a ceiling on the maximum table size and when that is reached the hash table may degenerate.

Re: [PATCH net-next v3 1/2] pci: Add Cavium PCI vendor id

2015-05-16 Thread David Miller
From: Bjorn Helgaas bhelg...@google.com Date: Sat, 16 May 2015 09:49:40 -0500 Hi Aleksey, On Fri, May 15, 2015 at 10:36 PM, Aleksey Makarov aleksey.maka...@auriga.com wrote: Signed-off-by: Aleksey Makarov aleksey.maka...@auriga.com --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2