[PATCH net-next] net: ibmvnic: Remove unused net_stats member from struct ibmvnic_adapter

2017-03-26 Thread Tobias Klauser
The ibmvnic driver keeps its statistics in net_device->stats, so the net_stats member in struct ibmvnic_adapter is unused. Remove it. Signed-off-by: Tobias Klauser --- drivers/net/ethernet/ibm/ibmvnic.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/driv

[PATCH net-next] net: ibmveth: Remove unused stats member from struct ibmveth_adapter

2017-03-26 Thread Tobias Klauser
The ibmveth driver keeps its statistics in net_device->stats, so the stats member in struct ibmveth_adapter is unused. Remove it. Signed-off-by: Tobias Klauser --- drivers/net/ethernet/ibm/ibmveth.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/ibm/ibmveth.h b/drivers/

[PATCH net-next] net: bfin_mac: Remove unused stats member from struct bfin_mac_local

2017-03-26 Thread Tobias Klauser
The bfin_mac driver keeps its statistics in net_device->stats, so the stats member in struct bfin_mac_local is unused. Remove it, as well as the accompanying comment. Cc: adi-buildroot-de...@lists.sourceforge.net Signed-off-by: Tobias Klauser --- drivers/net/ethernet/adi/bfin_mac.h | 7 ---

Re: [PATCHv2 net-next 2/7] sctp: implement receiver-side procedures for the SSN/TSN Reset Request Parameter

2017-03-26 Thread Xin Long
On Sat, Mar 25, 2017 at 7:52 AM, Marcelo Ricardo Leitner wrote: > On Tue, Mar 21, 2017 at 01:44:32PM +0800, Xin Long wrote: >> On Tue, Mar 21, 2017 at 2:04 AM, Marcelo Ricardo Leitner >> wrote: >> > On Fri, Mar 10, 2017 at 12:11:07PM +0800, Xin Long wrote: >> >> This patch is to implement Receive

Re: [PATCH net-next 1/4] net: mpls: Convert number of nexthops to u8

2017-03-26 Thread Eric W. Biederman
David Ahern writes: > Number of nexthops and number of alive nexthops are tracked using an > unsigned int. A route should never have more than 255 nexthops so > convert both to u8. Update all references and intermediate variables > to consistently use u8 as well. > > Shrinks the size of mpls_rout

Re: [PATCH 1/2] net: netfilter: Remove typedef from "typedef struct field_t"

2017-03-26 Thread kbuild test robot
Hi Arushi, [auto build test ERROR on nf-next/master] [also build test ERROR on v4.11-rc4 next-20170324] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Arushi-Singhal/net-netfilters-Remove-typede

RE: [PATCH] netvsc: fix unititialized return value in variable ret

2017-03-26 Thread Haiyang Zhang
> -Original Message- > From: Colin King [mailto:colin.k...@canonical.com] > Sent: Saturday, March 25, 2017 10:17 AM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger ; > de...@linuxdriverproject.org; netdev@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-ker...@vger.k

RE: [PATCH] netvsc: fix dereference before null check errors

2017-03-26 Thread Haiyang Zhang
> -Original Message- > From: Colin King [mailto:colin.k...@canonical.com] > Sent: Saturday, March 25, 2017 10:27 AM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger ; > de...@linuxdriverproject.org; netdev@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-ker...@vger.k

linux-next: manual merge of the gfs2 tree with the net tree

2017-03-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gfs2 tree got a conflict in: net/core/secure_seq.c between commit: 28ee1b746f49 ("secure_seq: downgrade to per-host timestamp offsets") from the net tree and commit: a30aad50c26c ("tcp: rename *_sequence_number() to *_seq_and_tsoff()") from the g

linux-next: manual merge of the gfs2 tree with the net tree

2017-03-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gfs2 tree got a conflict in: drivers/net/usb/r8152.c between commit: 2f25abe6bac5 ("r8152: prevent the driver from transmitting packets with carrier off") from the net tree and commit: ce594e9824ab ("r8152: simply the arguments") from the gfs2 a

Re: [PATCH RFC] phylib EEE updates

2017-03-26 Thread Russell King - ARM Linux
The 0-day builder identified some issues with the four RFC patches I sent out before the weekend, I'll be sending v2 tomorrow. Sorry for the noise. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according

Re: TX vs RX pause frame question

2017-03-26 Thread Benjamin Herrenschmidt
On Sun, 2017-03-26 at 10:55 -0700, John Fastabend wrote: > On 17-03-26 03:11 AM, Benjamin Herrenschmidt wrote: > > Hi ! > > > > It's not 100% clear to me looking at various drivers what is > > considered "rx_pause" and what is "tx_pause" (from the ethtool > > terminology). > > > > Is "rx_pause" a

[PATCH] net: tehuti: use new api ethtool_{get|set}_link_ksettings

2017-03-26 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/tehuti/tehuti.c | 43 ++-

[PATCH v2 0/7] Change k_clock interfaces to use timespec64

2017-03-26 Thread Deepa Dinamani
The series is aimed at replacing struct timespec which is not y2038 safe with y2038 safe struct timespec64 for k_clock interfaces. The series also replaces struct itimerspec which uses struct timespec internally with struct itimerspec64 for the k_clock interfaces. The series does not change the sy

[PATCH iproute2] man: fix man page warnings

2017-03-26 Thread Alexander Alemayhu
While generating PDFs from the man pages, I saw the warning below from several files. Compared the tc-matchall.8 with bridge.8 and used .RI instead of .R. It should have no effect on the man page rendering. `R' is a string (producing the registered sign), not a macro. Signed-off-by: Alexander

[PATCH v2 2/7] time: Change posix clocks ops interfaces to use timespec64

2017-03-26 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. The posix clocks apis use struct timespec directly and through struct itimerspec. Replace the posix clock interfaces to use struct timespec64 and struct itimerspec64 instead. Also fix up their implementations accordingly. Note that the clock_

Re: [PATCH net-next 1/2] net: mpls: Don't show nexthop if device has been deleted

2017-03-26 Thread Roopa Prabhu
On 3/24/17, 3:21 PM, David Ahern wrote: > If the device for a nexthop in a multipath route is deleted, the nexthop > is effectively removed from the route. Currently, a route dump still > returns the nexhop though without the device set: > > $ ip -f mpls ro ls > 100 > nexthopvia inet 10.11.1.

Re: TX vs RX pause frame question

2017-03-26 Thread John Fastabend
On 17-03-26 03:11 AM, Benjamin Herrenschmidt wrote: > Hi ! > > It's not 100% clear to me looking at various drivers what is > considered "rx_pause" and what is "tx_pause" (from the ethtool > terminology). > > Is "rx_pause" about receiving pause frame to throttle the transmitter > or is it about s

Re: [PATCH net-next 2/2] net: mpls: Delete route when all nexthops have been deleted

2017-03-26 Thread Roopa Prabhu
On 3/24/17, 3:21 PM, David Ahern wrote: > When all devices for all nexthops in a route have been deleted, the > route is effectively dead, so remove it. > > Signed-off-by: David Ahern > Acked-by: Roopa Prabhu

[PATCHv2 net] sctp: change to save MSG_MORE flag into assoc

2017-03-26 Thread Xin Long
David Laight noticed the support for MSG_MORE with datamsg->force_delay didn't really work as we expected, as the first msg with MSG_MORE set would always block the following chunks' dequeuing. This Patch is to rewrite it by saving the MSG_MORE flag into assoc as David Laight suggested. asoc->for

Re: [PATCH v1] NFC: Add nfc_dbg() macro

2017-03-26 Thread Andy Shevchenko
On Wed, 2017-03-22 at 21:22 +0200, Andy Shevchenko wrote: > In some cases nfc_dbg() is useful. Add such macro to a header. > I think we may drop this, since the idea is to get rid of such macros (as I read back in 2011 in commit message of change that removed nfc_dbg() one). I will re-do depende

Re: [PATCH] padata: avoid race in reordering

2017-03-26 Thread Jason A. Donenfeld
I've got a few other races in padata, I think, that I'm working on fixing. If these pan out, I'll submit them exclusively to -crypto instead of -netdev, to avoid this confusion next time. Of course, if I'm able to fix these, then I'll probably be bald from pulling my hair out during this insane deb

Re: [PATCH ethtool] ethtool: Support for configurable RSS hash function

2017-03-26 Thread Gal Pressman
On 26/03/2017 00:50, Jakub Kicinski wrote: > On Wed, 8 Mar 2017 16:03:51 +0200, Gal Pressman wrote: >> This ethtool patch adds support to set and get the current RSS hash >> function for the device through the new hfunc mask field in the >> ethtool_rxfh struct. Kernel supported hash function names

Re: Page allocator order-0 optimizations merged

2017-03-26 Thread Tariq Toukan
On 26/03/2017 11:21 AM, Tariq Toukan wrote: On 23/03/2017 4:51 PM, Mel Gorman wrote: On Thu, Mar 23, 2017 at 02:43:47PM +0100, Jesper Dangaard Brouer wrote: On Wed, 22 Mar 2017 23:40:04 + Mel Gorman wrote: On Wed, Mar 22, 2017 at 07:39:17PM +0200, Tariq Toukan wrote: This modificati

TX vs RX pause frame question

2017-03-26 Thread Benjamin Herrenschmidt
Hi ! It's not 100% clear to me looking at various drivers what is considered "rx_pause" and what is "tx_pause" (from the ethtool terminology). Is "rx_pause" about receiving pause frame to throttle the transmitter or is it about sending pause frames when the receiver gets full ? Thanks, Ben.

Re: [PATCH net-next 00/12] Mellanox mlx5e XDP performance optimization

2017-03-26 Thread Saeed Mahameed
On Sat, Mar 25, 2017 at 6:54 PM, Tom Herbert wrote: > On Fri, Mar 24, 2017 at 2:52 PM, Saeed Mahameed wrote: >> Hi Dave, >> >> This series provides some preformancee optimizations for mlx5e >> driver, especially for XDP TX flows. >> >> 1st patch is a simple change of rmb to dma_rmb in CQE fetch r

Re: Page allocator order-0 optimizations merged

2017-03-26 Thread Tariq Toukan
On 23/03/2017 4:51 PM, Mel Gorman wrote: On Thu, Mar 23, 2017 at 02:43:47PM +0100, Jesper Dangaard Brouer wrote: On Wed, 22 Mar 2017 23:40:04 + Mel Gorman wrote: On Wed, Mar 22, 2017 at 07:39:17PM +0200, Tariq Toukan wrote: This modification may slow allocations from IRQ context slight