Re: [PATCH v2 0/2] BQL support and fix for a regression issue

2016-09-24 Thread David Miller
From: sunil.kovv...@gmail.com Date: Fri, 23 Sep 2016 14:42:26 +0530 > From: Sunil Goutham > > These patches add byte queue limit support and also fixes a regression > issue introduced by commit > 'net: thunderx: Use netdev's name for naming VF's interrupts' > > Changes

Re: [PATCH 3/6] isdn/hisax: add function declarations

2016-09-24 Thread Arnd Bergmann
On Saturday, September 24, 2016 1:21:47 PM CEST Baoyou Xie wrote: > --- a/drivers/isdn/hisax/config.c > +++ b/drivers/isdn/hisax/config.c > @@ -460,42 +460,14 @@ __setup("hisax=", HiSax_setup); > extern int setup_teles0(struct IsdnCard *card); > #endif > > -#if CARD_TELES3 > -extern int

Re: [PATCH] brcmfmac: fix memory leak in brcmf_fill_bss_param

2016-09-24 Thread Kalle Valo
Rafał Miłecki writes: > From: Rafał Miłecki > > This function is called from get_station callback which means that every > time user space was getting/dumping station(s) we were leaking 2 KiB. > > Signed-off-by: Rafał Miłecki > Fixes:

Re: [Intel-wired-lan] [PATCH net-next v2 1/2] i40e: remove superfluous I40E_DEBUG_USER statement

2016-09-24 Thread Stefan Assmann
On 24.09.2016 04:48, Alexander Duyck wrote: > On Fri, Sep 23, 2016 at 6:30 AM, Stefan Assmann wrote: >> This debug statement is confusing and never set in the code. Any debug >> output should be guarded by the proper I40E_DEBUG_* statement which can >> be enabled via the debug

Re: [PATCH net-next V3 0/5] mlx4 VF vlan protocol 802.1ad support

2016-09-24 Thread David Miller
From: Tariq Toukan Date: Thu, 22 Sep 2016 12:11:11 +0300 > This patchset adds VF VLAN protocol 802.1ad support to the > mlx4 driver. > We extended the VF VLAN API with an additional parameter > for VLAN protocol, and kept 802.1Q as drivers' default. > > We prepared a

Re: pull request (net-next): ipsec-next 2016-09-23

2016-09-24 Thread David Miller
From: Steffen Klassert Date: Fri, 23 Sep 2016 09:14:40 +0200 > Only two patches this time: > > 1) Fix a comment reference to struct xfrm_replay_state_esn. >From Richard Guy Briggs. > > 2) Convert xfrm_state_lookup to rcu, we don't need the >xfrm_state_lock

Re: [PATCH net-next] Documentation: devicetree: fix typo in MediaTek ethernet device-tree binding

2016-09-24 Thread David Miller
From: Date: Fri, 23 Sep 2016 14:09:32 +0800 > From: Sean Wang > > fix typo in > Documentation/devicetree/bindings/net/mediatek-net.txt > > Cc: devicet...@vger.kernel.org > Reported-by: Sergei Shtylyov >

Re: Alignment issues with freescale FEC driver

2016-09-24 Thread Eric Nelson
Hi David, On 09/23/2016 07:43 PM, David Miller wrote: > From: Eric Nelson > Date: Fri, 23 Sep 2016 10:33:29 -0700 > >> Since the hardware requires longword alignment for its' DMA transfers, >> aligning the IP header will require a memcpy, right? > > I wish hardware designers

Re: [PATCH net-next v2] Documentation: devicetree: revise ethernet device-tree binding about TRGMII

2016-09-24 Thread David Miller
From: Date: Fri, 23 Sep 2016 14:04:09 +0800 > From: Sean Wang > > add phy-mode "trgmii" to > Documentation/devicetree/bindings/net/ethernet.txt > > Cc: devicet...@vger.kernel.org > Reported-by: Sergei Shtylyov

Re: [PATCH 2/2] bpf samples: update tracex5 sample to use __seccomp_filter

2016-09-24 Thread Alexei Starovoitov
On Sat, Sep 24, 2016 at 02:10:05AM +0530, Naveen N. Rao wrote: > seccomp_phase1() does not exist anymore. Instead, update sample to use > __seccomp_filter(). While at it, set max locked memory to unlimited. > > Signed-off-by: Naveen N. Rao Acked-by: Alexei

Re: [RFC v2 00/10] Landlock LSM: Unprivileged sandboxing

2016-09-24 Thread Pavel Machek
On Tue 2016-09-20 19:08:23, Mickaël Salaün wrote: > > On 15/09/2016 11:19, Pavel Machek wrote: > > Hi! > > > >> This series is a proof of concept to fill some missing part of seccomp as > >> the > >> ability to check syscall argument pointers or creating more dynamic > >> security > >>

Re: [PATCH] mlx5: Add ndo_poll_controller() implementation

2016-09-24 Thread Saeed Mahameed
On Fri, Sep 23, 2016 at 11:13 PM, Calvin Owens wrote: > This implements ndo_poll_controller in net_device_ops for mlx5, which is > necessary to use netconsole with this driver. > > Signed-off-by: Calvin Owens > --- >

Re: [PATCH 1/6] isdn/eicon: add function declarations

2016-09-24 Thread Arnd Bergmann
On Saturday, September 24, 2016 1:16:44 PM CEST Baoyou Xie wrote: > We get a few warnings when building kernel with W=1: > drivers/isdn/hardware/eicon/diddfunc.c:95:12: warning: no previous prototype > for 'diddfunc_init' [-Wmissing-prototypes] > drivers/isdn/hardware/eicon/s_4bri.c:128:6:

Re: [PATCH net-next 00/15] rxrpc: Bug fixes and tracepoints

2016-09-24 Thread David Miller
From: David Howells Date: Fri, 23 Sep 2016 16:15:17 +0100 > Here are a bunch of bug fixes: ... > Tagged thusly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-rewrite-20160923 Pulled, thanks David.

Re: [PATCH 4/6] isdn/hisax: clean function declaration in hscx.c up

2016-09-24 Thread Arnd Bergmann
On Saturday, September 24, 2016 1:24:22 PM CEST Baoyou Xie wrote: > } > > -extern int open_hscxstate(struct IsdnCardState *cs, struct BCState *bcs); > extern void modehscx(struct BCState *bcs, int mode, int bc); > extern void hscx_l2l1(struct PStack *st, int pr, void *arg); > The change

Re: [net-next 00/10][pull request] 10GbE Intel Wired LAN Driver Updates 2016-09-23

2016-09-24 Thread David Miller
From: Jeff Kirsher Date: Fri, 23 Sep 2016 00:51:33 -0700 > This series contains updates to ixgbe and ixgbevf. Pulled, thanks Jeff.

Re: [PATCH 2/3] bpf powerpc: implement support for tail calls

2016-09-24 Thread Alexei Starovoitov
On Sat, Sep 24, 2016 at 12:33:54AM +0200, Daniel Borkmann wrote: > On 09/23/2016 10:35 PM, Naveen N. Rao wrote: > >Tail calls allow JIT'ed eBPF programs to call into other JIT'ed eBPF > >programs. This can be achieved either by: > >(1) retaining the stack setup by the first eBPF program and having

RE RE

2016-09-24 Thread Mr.Campbell Neiman
This message is the last notification about U USD14.5 million bearing our Name as Beneficiary, all effort to reach you have not be successful, Please if you Receive this message kindly respond back stating your Desire to make the claim, Reconfirm your full name and age Mr. Mr.Campbell Neiman

Re: [net-next v2 00/10][pull request] 40GbE Intel Wired LAN Driver Updates 2016-09-22

2016-09-24 Thread David Miller
From: Jeff Kirsher Date: Thu, 22 Sep 2016 22:45:32 -0700 > This series contains updates to i40e and i40evf only. Pulled, thanks Jeff.

Re: [PATCH] mlxsw: spectrum: remove redundant check if err is zero

2016-09-24 Thread David Miller
From: Colin King Date: Fri, 23 Sep 2016 12:02:45 +0100 > From: Colin Ian King > > There is an earlier check and return if err is non-zero, so > the check to see if it is zero is redundant in every iteration > of the loop and hence the check

Re: [PATCH 1/2] bpf samples: fix compiler errors with sockex2 and sockex3

2016-09-24 Thread Alexei Starovoitov
On Sat, Sep 24, 2016 at 02:10:04AM +0530, Naveen N. Rao wrote: > These samples fail to compile as 'struct flow_keys' conflicts with > definition in net/flow_dissector.h. Fix the same by renaming the > structure used in the sample. > > Signed-off-by: Naveen N. Rao

Re: [PATCH] cxgb4: fix -ve error check on a signed iq

2016-09-24 Thread David Miller
From: Colin King Date: Fri, 23 Sep 2016 14:45:13 +0100 > -static unsigned int get_filter_steerq(struct net_device *dev, > +static int get_filter_steerq(struct net_device *dev, > struct ch_filter_specification *fs) If you change the

Re: [PATCH 0/3] net: fec: updates to align IP header

2016-09-24 Thread Eric Nelson
On 09/24/2016 08:09 AM, Andy Duan wrote: > From: Eric Nelson Sent: Saturday, September 24, 2016 10:42 > PM >> To: netdev@vger.kernel.org >> Cc: li...@arm.linux.org.uk; and...@lunn.ch; Andy Duan >> ; ota...@ossystems.com.br; >> eduma...@google.com;

[PATCH 2/7] ipv6 addrconf: remove addrconf_sysctl_hop_limit()

2016-09-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski replace with extra1/2 magic Signed-off-by: Maciej Żenczykowski --- net/ipv6/addrconf.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index

[PATCH 3/7] ipv6 addrconf: rtr_solicits == -1 means unlimited

2016-09-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This allows setting /proc/sys/net/ipv6/conf/*/router_solicitations to -1 meaning an unlimited number of retransmits. Signed-off-by: Maciej Żenczykowski --- net/ipv6/addrconf.c | 10 ++ 1 file changed, 6 insertions(+), 4

[PATCH 1/7] ipv6 addrconf: enable use of proc_dointvec_minmax in addrconf_sysctl

2016-09-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski Signed-off-by: Maciej Żenczykowski --- net/ipv6/addrconf.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 2f1f5d439788..11fa1a5564d4 100644 ---

[PATCH 4/7] ipv6 addrconf: add new sysctl 'router_solicitation_max_interval'

2016-09-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski Accessible via: /proc/sys/net/ipv6/conf/*/router_solicitation_max_interval For now we default it to the same value as the normal interval. Signed-off-by: Maciej Żenczykowski --- include/linux/ipv6.h | 1 +

[PATCH 5/7] ipv6 addrconf: implement RFC7559 router solicitation backoff

2016-09-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This implements: https://tools.ietf.org/html/rfc7559 Backoff is performed according to RFC3315 section 14: https://tools.ietf.org/html/rfc3315#section-14 Signed-off-by: Maciej Żenczykowski --- include/net/if_inet6.h | 1 +

[PATCH net-next] gre: use nla_get_be32() to extract flowinfo

2016-09-24 Thread Lance Richardson
Eliminate a sparse endianness mismatch warning, use nla_get_be32() to extract a __be32 value instead of nla_get_u32(). Signed-off-by: Lance Richardson --- net/ipv6/ip6_gre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/ip6_gre.c

RE: [PATCH 0/3] net: fec: updates to align IP header

2016-09-24 Thread Andy Duan
From: Eric Nelson Sent: Saturday, September 24, 2016 10:42 PM > To: netdev@vger.kernel.org > Cc: li...@arm.linux.org.uk; and...@lunn.ch; Andy Duan > ; ota...@ossystems.com.br; > eduma...@google.com; troy.ki...@boundarydevices.com; > da...@davemloft.net;

Re: [Intel-wired-lan] [PATCH net-next v2 1/2] i40e: remove superfluous I40E_DEBUG_USER statement

2016-09-24 Thread Alexander Duyck
On Sat, Sep 24, 2016 at 4:13 AM, Stefan Assmann wrote: > On 24.09.2016 04:48, Alexander Duyck wrote: >> On Fri, Sep 23, 2016 at 6:30 AM, Stefan Assmann wrote: >>> This debug statement is confusing and never set in the code. Any debug >>> output should be

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-24 Thread Joe Perches
(adding Jes Sorensen to recipients) On Sat, 2016-09-24 at 11:35 -0500, Larry Finger wrote: > I have patches that makes HAL_DEF_WOWLAN be a no-op for the rest of the > drivers,  > and one that sets the enum values for that particular statement to hex > values. I  > also looked at the other large

Re: [PATCH] hv_netvsc: fix comments

2016-09-24 Thread David Miller
From: sthem...@exchange.microsoft.com Date: Fri, 23 Sep 2016 17:08:17 -0700 > From: Stephen Hemminger > > Typo's and spelling errors. Also remove old comment from staging era. > > Signed-off-by: Stephen Hemminger Applied to net-next. Please

[PATCH 2/3] net: fec: remove QUIRK_HAS_RACC from i.mx27

2016-09-24 Thread Eric Nelson
According to the i.MX27 reference manual, this SoC does not have support for the receive accelerator (RACC) register at offset 0x1C4. http://cache.nxp.com/files/32bit/doc/ref_manual/MCIMX27RM.pdf Signed-off-by: Eric Nelson --- drivers/net/ethernet/freescale/fec_main.c

[PATCH 3/3] net: fec: align IP header in hardware

2016-09-24 Thread Eric Nelson
The FEC receive accelerator (RACC) supports shifting the data payload of received packets by 16-bits, which aligns the payload (IP header) on a 4-byte boundary, which is, if not required, at least strongly suggested by the Linux networking layer. Without this patch, a huge number of alignment

[PATCH 1/3] net: fec: remove QUIRK_HAS_RACC from i.mx25

2016-09-24 Thread Eric Nelson
According to the i.MX25 reference manual, this SoC does not have support for the receive accelerator (RACC) register at offset 0x1C4. http://www.nxp.com/files/dsp/doc/ref_manual/IMX25RM.pdf Signed-off-by: Eric Nelson --- drivers/net/ethernet/freescale/fec_main.c | 2 +- 1 file

[PATCH 0/3] net: fec: updates to align IP header

2016-09-24 Thread Eric Nelson
This patch series is the outcome of investigation into very high numbers of alignment faults on kernel 4.1.33 from the linux-fslc tree: https://github.com/freescale/linux-fslc/tree/4.1-1.0.x-imx The first two patches remove support for the receive accelerator (RACC) from the i.MX25 and i.MX27

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-24 Thread Jean Delvare
Hi Joe, Larry, On Fri, 23 Sep 2016 12:02:43 -0700, Joe Perches wrote: > On Fri, 2016-09-23 at 13:59 -0500, Larry Finger wrote: > > I'm not familiar with the %#x format. What does it do? > > Outputs SPECIAL prefix, it's the same as "0x%x" > > lib/vsprintf.c: > #define SPECIAL 64

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-24 Thread Joe Perches
On Sat, 2016-09-24 at 17:55 +0200, Jean Delvare wrote: > Would it make sense to explicitly set the enum values, or add them as > comments, to make such look-ups easier? If you want to create enum->#ENUM structs and "const char *" lookup functions, please be my guest. otherwise, hex is at least a

Re: [PATCH net v2] ip6_gre: fix flowi6_proto value in ip6gre_xmit_other()

2016-09-24 Thread David Miller
From: Lance Richardson Date: Fri, 23 Sep 2016 15:50:29 -0400 > Similar to commit 3be07244b733 ("ip6_gre: fix flowi6_proto value in > xmit path"), set flowi6_proto to IPPROTO_GRE for output route lookup. > > Up until now, ip6gre_xmit_other() has set flowi6_proto to a bogus

Implement rfc7559 ipv6 router solicitation backoff

2016-09-24 Thread Maciej Żenczykowski

[PATCH 7/7] ipv6 addrconf: change default MAX_RTR_SOLICITATIONS from 3 to -1 (unlimited)

2016-09-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This changes: /proc/sys/net/ipv6/conf/all/router_solicitations /proc/sys/net/ipv6/conf/default/router_solicitations from 3 to unlimited. This is the https://tools.ietf.org/html/rfc7559 recommended default. Signed-off-by: Maciej Żenczykowski

[PATCH 6/7] ipv6 addrconf: change default RTR_SOLICITATION_MAX_INTERVAL from 4s to 1h

2016-09-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This changes: /proc/sys/net/ipv6/conf/all/router_solicitation_max_interval /proc/sys/net/ipv6/conf/default/router_solicitation_max_interval from 4 seconds to 1 hour. This is the https://tools.ietf.org/html/rfc7559 recommended default.

[PATCH v3] bpf: Set register type according to is_valid_access()

2016-09-24 Thread Mickaël Salaün
This prevent future potential pointer leaks when an unprivileged eBPF program will read a pointer value from its context. Even if is_valid_access() returns a pointer type, the eBPF verifier replace it with UNKNOWN_VALUE. The register value that contains a kernel address is then allowed to leak.

Re: [PATCH 4/6] isdn/hisax: clean function declaration in hscx.c up

2016-09-24 Thread Sergei Shtylyov
Hello. On 9/24/2016 8:24 AM, Baoyou Xie wrote: We get 1 warning when building kernel with W=1: drivers/isdn/hisax/hscx.c:175:1: warning: no previous prototype for 'open_hscxstate' [-Wmissing-prototypes] In fact, this function is declared in drivers/isdn/hisax/elsa_ser.c, but should be

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-24 Thread Larry Finger
On 09/24/2016 11:15 AM, Joe Perches wrote: On Sat, 2016-09-24 at 17:55 +0200, Jean Delvare wrote: Would it make sense to explicitly set the enum values, or add them as comments, to make such look-ups easier? If you want to create enum->#ENUM structs and "const char *" lookup functions, please

Re: [PATCH] Net Driver: Add Cypress GX3 VID=04b4 PID=3610.

2016-09-24 Thread Chris Roth
Due to my lack of familiarity with the how git send-email works, I've unintentionally had my name listed as the first 'from' whereas I intended Allan Chou to be listed as the first 'from' in the patch. If anyone can correct this on my behalf, I would appreciate it. Regards, Chris On Sat, Sep 24,

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-24 Thread Joe Perches
On Sat, 2016-09-24 at 14:06 -0500, Larry Finger wrote: > On 09/24/2016 12:32 PM, Joe Perches wrote: [] > o Reindent all the switch/case blocks to a more normal > kernel style (git diff -w would show no changes here) > That sounds like busy work to me, but if you want to do it, go ahead. It's

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-24 Thread Jes Sorensen
Joe Perches writes: > On Sat, 2016-09-24 at 14:06 -0500, Larry Finger wrote: >> On 09/24/2016 12:32 PM, Joe Perches wrote: > [] >> o Reindent all the switch/case blocks to a more normal >> kernel style (git diff -w would show no changes here) >> That sounds like busy work to

[PATCH 1/2] brcmfmac: initialize fws(ignal) for BCDC protocol only

2016-09-24 Thread Rafał Miłecki
From: Rafał Miłecki There are two protocols used by Broadcom FullMAC devices: BCDC and msgbuf. They use different ways for (some part of) communication with the firmware. Firmware Signaling is required for the first one only (BCDC). So far we were always initializing fws and

[PATCH 2/2] brcmfmac: compile fws(ignal) code only with BCDC support enabled

2016-09-24 Thread Rafał Miłecki
From: Rafał Miłecki It's not needed by the other (msgbuf) protocol, so let's save some size and compile it conditionally. Signed-off-by: Rafał Miłecki --- .../wireless/broadcom/brcm80211/brcmfmac/Makefile | 4 +- .../broadcom/brcm80211/brcmfmac/fwsignal.h

[PATCH v5 01/16] vmxnet3: Move PCI Id to pci_ids.h

2016-09-24 Thread Adit Ranadive
The VMXNet3 PCI Id will be shared with our paravirtual RDMA driver. Moved it to the shared location in pci_ids.h. Suggested-by: Leon Romanovsky Acked-by: Bjorn Helgaas Reviewed-by: Yuval Shaia Signed-off-by: Adit Ranadive

[PATCH v5 02/16] IB/pvrdma: Add user-level shared functions

2016-09-24 Thread Adit Ranadive
We share some common structures with the user-level driver. This patch adds those structures and shared functions to traverse the QP/CQ rings. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang

[PATCH v5 04/16] IB/pvrdma: Add the paravirtual RDMA device specification

2016-09-24 Thread Adit Ranadive
This patch describes the main specification of the underlying virtual RDMA device. The pvrdma_dev_api header file defines the Verbs commands and their parameters that can be issued to the device backend. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen

Re: [PATCH] Net Driver: Add Cypress GX3 VID=04b4 PID=3610.

2016-09-24 Thread David Miller
From: Chris Roth Date: Sat, 24 Sep 2016 10:59:04 -0600 > Due to my lack of familiarity with the how git send-email works, I've > unintentionally had my name listed as the first 'from' whereas I > intended Allan Chou to be listed as the first 'from' in the patch. If > anyone

[PATCH v5 00/16] Add Paravirtual RDMA Driver

2016-09-24 Thread Adit Ranadive
Hi Doug, others, This patch series adds a driver for a paravirtual RDMA device. The device is developed for VMware's Virtual Machines and allows existing RDMA applications to continue to use existing Verbs API when deployed in VMs on ESXi. We recently did a presentation in the OFA Workshop [1]

Re: [PATCH net-next 4/4] net/sched: act_mirred: Implement ingress actions

2016-09-24 Thread Cong Wang
On Thu, Sep 22, 2016 at 10:11 PM, Shmulik Ladkani wrote: > Was wondering why it's missing, googled a bit with no meaningful > results, so speculated the following: > > Some time long ago, initial 'mirred' purpose was to facilitate ifb. > Therefore 'egress redirect' was

Re: [PATCH net-next 4/4] net/sched: act_mirred: Implement ingress actions

2016-09-24 Thread Cong Wang
On Thu, Sep 22, 2016 at 6:21 AM, Shmulik Ladkani wrote: > From: Shmulik Ladkani > > Up until now, 'action mirred' supported only egress actions (either > TCA_EGRESS_REDIR or TCA_EGRESS_MIRROR). > > This patch implements the

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-24 Thread Jes Sorensen
Larry Finger writes: > On 09/24/2016 12:32 PM, Joe Perches wrote: >> Is there any value in that or is Jes' work going to make >> doing any or all of this unnecessary and futile? > > That is not yet determined. The only driver that is to be replaced at > this point is

[PATCH net-next 5/8] rxrpc: Delay the resend timer to allow for nsec->jiffies conv error

2016-09-24 Thread David Howells
When determining the resend timer value, we have a value in nsec but the timer is in jiffies which may be a million or more times more coarse. nsecs_to_jiffies() rounds down - which means that the resend timeout expressed as jiffies is very likely earlier than the one expressed as nanoseconds from

[PATCH net-next 6/8] rxrpc: Generate a summary of the ACK state for later use

2016-09-24 Thread David Howells
Generate a summary of the Tx buffer packet state when an ACK is received for use in a later patch that does congestion management. Signed-off-by: David Howells --- net/rxrpc/ar-internal.h | 14 ++ net/rxrpc/input.c | 45

[PATCH net-next 8/8] rxrpc: Implement slow-start

2016-09-24 Thread David Howells
Implement RxRPC slow-start, which is similar to RFC 5681 for TCP. A tracepoint is added to log the state of the congestion management algorithm and the decisions it makes. Notes: (1) Since we send fixed-size DATA packets (apart from the final packet in each phase), counters and

[PATCH net-next 2/8] rxrpc: Send an immediate ACK if we fill in a hole

2016-09-24 Thread David Howells
Send an immediate ACK if we fill in a hole in the buffer left by an out-of-sequence packet. This may allow the congestion management in the peer to avoid a retransmission if packets got reordered on the wire. Signed-off-by: David Howells --- net/rxrpc/input.c | 10

[PATCH net-next 3/8] rxrpc: Include the last reply DATA serial number in the final ACK

2016-09-24 Thread David Howells
In a client call, include the serial number of the last DATA packet of the reply in the final ACK. Signed-off-by: David Howells --- net/rxrpc/recvmsg.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/rxrpc/recvmsg.c b/net/rxrpc/recvmsg.c

[PATCH net-next 1/8] rxrpc: Send an ACK after every few DATA packets we receive

2016-09-24 Thread David Howells
Send an ACK if we haven't sent one for the last two packets we've received. This keeps the other end apprised of where we've got to - which is important if they're doing slow-start. We do this in recvmsg so that we can dispatch a packet directly without the need to wake up the background thread.

[PATCH net-next 7/8] rxrpc: Schedule an ACK if the reply to a client call appears overdue

2016-09-24 Thread David Howells
If we've sent all the request data in a client call but haven't seen any sign of the reply data yet, schedule an ACK to be sent to the server to find out if the reply data got lost. If the server hasn't yet hard-ACK'd the request data, we send a PING ACK to demand a response to find out whether

[PATCH net-next 4/8] rxrpc: Reinitialise the call ACK and timer state for client reply phase

2016-09-24 Thread David Howells
Clear the ACK reason, ACK timer and resend timer when entering the client reply phase when the first DATA packet is received. New ACKs will be proposed once the data is queued. The resend timer is no longer relevant and we need to cancel ACKs scheduled to probe for a lost reply. Signed-off-by:

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-24 Thread Larry Finger
On 09/24/2016 12:32 PM, Joe Perches wrote: (adding Jes Sorensen to recipients) On Sat, 2016-09-24 at 11:35 -0500, Larry Finger wrote: I have patches that makes HAL_DEF_WOWLAN be a no-op for the rest of the drivers, and one that sets the enum values for that particular statement to hex values.

[PATCH net] Revert "net: ethernet: bcmgenet: use phydev from struct net_device"

2016-09-24 Thread Florian Fainelli
This reverts commit 62469c76007e ("net: ethernet: bcmgenet: use phydev from struct net_device") because it causes GENETv1/2/3 adapters to expose the following behavior after an ifconfig down/up sequence: PING fainelli-linux (10.112.156.244): 56 data bytes 64 bytes from 10.112.156.244: seq=1

[PATCH v5 13/16] IB/pvrdma: Add the main driver module for PVRDMA

2016-09-24 Thread Adit Ranadive
This patch adds the support to register a RDMA device with the kernel RDMA stack as well as a kernel module. This also initializes the underlying virtual PCI device. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang

[PATCH v5 05/16] IB/pvrdma: Add functions for Verbs support

2016-09-24 Thread Adit Ranadive
This patch implements the remaining Verbs functions registered with the core RDMA stack. Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade Reviewed-by: Bryan Tan Signed-off-by:

[PATCH v5 08/16] IB/pvrdma: Add device command support

2016-09-24 Thread Adit Ranadive
This patch enables posting Verb requests and receiving responses to/from the backend PVRDMA emulation layer. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade

[PATCH v5 11/16] IB/pvrdma: Add support for memory regions

2016-09-24 Thread Adit Ranadive
This patch adds support for creating and destroying memory regions. The PVRDMA device supports User MRs, DMA MRs (no Remote Read/Write support), Fast Register MRs. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang

[PATCH net-next 0/8] rxrpc: Implement slow-start and other bits

2016-09-24 Thread David Howells
git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite Tagged thusly: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160924 David --- David Howells (8): rxrpc: Send an ACK after every few DATA packets we receive rxrpc: Send an immediate ACK if

[PATCH v5 07/16] IB/pvrdma: Add helper functions

2016-09-24 Thread Adit Ranadive
This patch adds helper functions to store guest page addresses in a page directory structure. The page directory pointer is passed down to the backend which then maps the entire memory for the RDMA object by traversing the directory. We add some more helper functions for converting to/from RDMA

[PATCH v5 10/16] IB/pvrdma: Add UAR support

2016-09-24 Thread Adit Ranadive
This patch adds the UAR support for the paravirtual RDMA device. The UAR pages are MMIO pages from the virtual PCI space. We define offsets within this page to provide the fast data-path operations. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen

[PATCH v5 03/16] IB/pvrdma: Add virtual device RDMA structures

2016-09-24 Thread Adit Ranadive
This patch adds the various Verbs structures that we support in the virtual RDMA device. We have re-mapped the ones from the RDMA core stack to make sure we can maintain compatibility with our backend. Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang

[PATCH v5 06/16] IB/pvrdma: Add paravirtual rdma device

2016-09-24 Thread Adit Ranadive
This patch adds the main device-level structures and functions to be used to provide RDMA functionality. Also, we define conversion functions from the IB core stack structures to the device-specific ones. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen

[PATCH v5 14/16] IB/pvrdma: Add Kconfig and Makefile

2016-09-24 Thread Adit Ranadive
This patch adds a Kconfig and Makefile for the PVRDMA driver. Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade Reviewed-by: Bryan Tan Signed-off-by: Adit Ranadive

[PATCH v5 16/16] MAINTAINERS: Update for PVRDMA driver

2016-09-24 Thread Adit Ranadive
Add maintainer info for the PVRDMA driver. Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade Reviewed-by: Bryan Tan Signed-off-by: Adit Ranadive --- Changes

[PATCH v5 12/16] IB/pvrdma: Add Queue Pair support

2016-09-24 Thread Adit Ranadive
This patch adds the ability to create, modify, query and destroy QPs. The PVRDMA device supports RC, UD and GSI QPs. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade

[PATCH v5 09/16] IB/pvrdma: Add support for Completion Queues

2016-09-24 Thread Adit Ranadive
This patch adds the support for creating and destroying completion queues on the paravirtual RDMA device. Reviewed-by: Yuval Shaia Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade

[PATCH v5 15/16] IB: Add PVRDMA driver

2016-09-24 Thread Adit Ranadive
This patch updates the InfiniBand subsystem to build the PVRDMA driver. Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade Reviewed-by: Bryan Tan Signed-off-by: Adit Ranadive

Re: [PATCH net-next] gre: use nla_get_be32() to extract flowinfo

2016-09-24 Thread David Miller
From: Lance Richardson Date: Sat, 24 Sep 2016 14:01:04 -0400 > Eliminate a sparse endianness mismatch warning, use nla_get_be32() to > extract a __be32 value instead of nla_get_u32(). > > Signed-off-by: Lance Richardson Applied.

Re: [PATCH net] Revert "net: ethernet: bcmgenet: use phydev from struct net_device"

2016-09-24 Thread David Miller
From: Florian Fainelli Date: Sat, 24 Sep 2016 12:58:30 -0700 > There is already a commit: > > Revert "net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings" > > which should make this apply cleanly to "net" now. But look at net-next, it got re-added there.

Re: [PATCH net-next 4/4] net/sched: act_mirred: Implement ingress actions

2016-09-24 Thread Cong Wang
On Fri, Sep 23, 2016 at 8:40 AM, Shmulik Ladkani wrote: > On Fri, 23 Sep 2016 08:48:33 -0400 Jamal Hadi Salim wrote: >> > Even today, one may create loops using existing 'egress redirect', >> > e.g. this rediculously errorneous construct: >> > >> >

[PATCH net-next] Revert "net: ethernet: bcmgenet: use phydev from struct net_device"

2016-09-24 Thread Florian Fainelli
This reverts commit 62469c76007e ("net: ethernet: bcmgenet: use phydev from struct net_device") because it causes GENETv1/2/3 adapters to expose the following behavior after an ifconfig down/up sequence: PING fainelli-linux (10.112.156.244): 56 data bytes 64 bytes from 10.112.156.244: seq=1

Re: [PATCH][V2] mlxsw: spectrum: remove redundant check if err is zero

2016-09-24 Thread Ido Schimmel
On Sat, Sep 24, 2016 at 06:03:38PM -0700, Colin King wrote: > From: Colin Ian King > > There is an earlier check and return if err is non-zero, so > the check to see if it is zero is redundant in every iteration > of the loop and hence the check can be removed. > >

Re: [PATCH 5/7] ipv6 addrconf: implement RFC7559 router solicitation backoff

2016-09-24 Thread Maciej Żenczykowski
Ok, so that seems to have all sorts of __divdi3 or __aeabi_ldivmod undefined errors on 32-bit platforms (ie. arm/m68k/i386).

Re: [PATCH net] Revert "net: ethernet: bcmgenet: use phydev from struct net_device"

2016-09-24 Thread Florian Fainelli
On 09/24/2016 05:10 PM, David Miller wrote: > From: Florian Fainelli > Date: Sat, 24 Sep 2016 12:58:30 -0700 > >> There is already a commit: >> >> Revert "net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings" >> >> which should make this apply cleanly to

[PATCH][V2] mlxsw: spectrum: remove redundant check if err is zero

2016-09-24 Thread Colin King
From: Colin Ian King There is an earlier check and return if err is non-zero, so the check to see if it is zero is redundant in every iteration of the loop and hence the check can be removed. Signed-off-by: Colin Ian King ---

[PATCH] ipv6 addrconf: implement RFC7559 router solicitation backoff

2016-09-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This implements: https://tools.ietf.org/html/rfc7559 Backoff is performed according to RFC3315 section 14: https://tools.ietf.org/html/rfc3315#section-14 Signed-off-by: Maciej Żenczykowski --- include/net/if_inet6.h | 1 +

Re: [PATCH net] Revert "net: ethernet: bcmgenet: use phydev from struct net_device"

2016-09-24 Thread Florian Fainelli
On 09/24/2016 07:51 PM, Florian Fainelli wrote: > > > On 09/24/2016 05:10 PM, David Miller wrote: >> From: Florian Fainelli >> Date: Sat, 24 Sep 2016 12:58:30 -0700 >> >>> There is already a commit: >>> >>> Revert "net: ethernet: bcmgenet: use