Original this function have return value but not used, and check allocate
result internal,
When I change this function to void return, I add this BUG_ON.
> -Original Message-
> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org]
> On Behalf Of Tonghao Zhang
> Sent: T
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 7e1ecbcf79b2fdc7349da1bb90d6dadad1f9ac89
commit: 43e665287f931a167cd2eea3387efda901bff0ce [905/906] net-next: dsa: fix
flow dissection
config: x86_64-acpi-redef (attached as .config)
compiler: gcc-6 (Debian
On Wed, 2017-08-09 at 22:52 -0700, David Miller wrote:
> From: John Crispin
> Date: Wed, 9 Aug 2017 14:41:15 +0200
>
> > RPS and probably other kernel features are currently broken on some if not
> > all DSA devices. The root cause of this is that skb_hash will call the
> > flow_dissector. At th
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 7e1ecbcf79b2fdc7349da1bb90d6dadad1f9ac89
commit: 43e665287f931a167cd2eea3387efda901bff0ce [905/906] net-next: dsa: fix
flow dissection
config: i386-randconfig-a1-201732 (attached as .config)
compiler: gcc-5
Thanks a lot. I found it when reviewing this codes. and BUG_ON is
added in the init_inodecache(). We may remove it or not ?
diff --git a/net/socket.c b/net/socket.c
index b332d1e..ebee3ee 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -296,7 +296,6 @@ static void init_inodecache(void)
From: John Crispin
Date: Wed, 9 Aug 2017 14:41:15 +0200
> RPS and probably other kernel features are currently broken on some if not
> all DSA devices. The root cause of this is that skb_hash will call the
> flow_dissector. At this point the skb still contains the magic switch
> header and the s
From: Tonghao Zhang
Date: Wed, 9 Aug 2017 05:04:38 -0700
> When initializing the skbuff SLAB cache, we should make
> sure it is successful. Adding BUG_ON to check it and
> init_inodecache() is in the same case.
>
> Signed-off-by: Tonghao Zhang
> ---
> net/core/skbuff.c | 2 ++
> 1 file change
From: Nikolay Borisov
Date: Wed, 9 Aug 2017 14:38:04 +0300
> Commit dcd87999d415 ("igmp: net: Move igmp namespace init to correct file")
> moved the igmp sysctls initialization from tcp_sk_init to igmp_net_init. This
> function is only called as part of per-namespace initialization, only if
> CO
From: John Crispin
Date: Wed, 9 Aug 2017 12:09:30 +0200
> The MT7623 has several DMA rings. Inside the SW path, the core will use
> the PDMA when receiving traffic. While bringing up the HW path we noticed
> that the PPE requires the QDMA RX to also be brought up as it uses this
> ring internall
From: Xin Long
Date: Wed, 9 Aug 2017 18:15:19 +0800
> Commit 55917a21d0cc ("netfilter: x_tables: add context to know if
> extension runs from nft_compat") introduced a member nft_compat to
> xt_tgchk_param structure.
>
> But it didn't set it's value for ipt_init_target. With unexpected
> value
From: Bhumika Goyal
Date: Wed, 9 Aug 2017 15:02:08 +0530
> Make these const as they are only stored in the ops field of a atm_dev
> structure, which is const.
> Done using Coccinelle.
>
> Signed-off-by: Bhumika Goyal
Applied.
From: Bhumika Goyal
Date: Wed, 9 Aug 2017 14:49:15 +0530
> Make these structures const as they are either passed to the function
> atm_dev_register having the corresponding argument as const or stored in
> the ops field of a atm_dev structure, which is also const.
> Done using Coccinelle.
>
> S
From: Bhumika Goyal
Date: Wed, 9 Aug 2017 10:34:15 +0530
> Make these structures const as they are only stored in the ops field of
> a dsa_switch structure, which is const.
> Done using Coccinelle.
>
> Signed-off-by: Bhumika Goyal
Applied, thank you.
From: Felix Manlunas
Date: Tue, 8 Aug 2017 19:34:28 -0700
> From: Intiyaz Basha
>
> Disable napi when interface is going down.
> Delete napi when destroying the interface.
>
> Signed-off-by: Intiyaz Basha
> Signed-off-by: Felix Manlunas
Applied, thanks.
From: Girish Moodalbail
Date: Tue, 8 Aug 2017 17:26:24 -0700
> Geneve's Virtual Network Identifier (VNI) is 24 bit long, so the range
> of values for it would be from 0 to 16777215 (2^24 -1). However, one
> cannot create a geneve device with VNI set to 16777215. This patch fixes
> this issue.
>
Hi John,
Is it possible to try the attached patch?
I am not sure if it actually fixes the issue. But I think it is worth a try.
Also, could you get me all the ipv6 routes when you plug in the usb
using "ip -6 route show"? (If you have multiple routing tables
configured, could you dump them all?)
From: David Ahern
Date: Tue, 8 Aug 2017 15:51:02 -0600
> ndisc_notify is used to send unsolicited neighbor advertisements
> (e.g., on a link up). Currently, the ndisc notifier is run before the
> addrconf notifer which means NA's are not sent for link-local addresses
> which are added by the add
From: Florian Fainelli
Date: Tue, 8 Aug 2017 14:45:09 -0700
> With SYSTEMPORT Lite we have holes in our statistics layout that make us
> skip over the hardware MIB counters, bcm_sysport_get_stats() was not
> taking that into account resulting in reporting 0 for all SW-maintained
> statistics, fi
Hi Mahesh and Andy,
James Feeney reported that there's a serious regression in bonding
module since v4.12, it doesn't work with wireless drivers anymore as
wireless drivers don't report the link speed via ethtool:
https://bugzilla.kernel.org/show_bug.cgi?id=196547
In the bug report it's said tha
From: Jon Maloy
Date: Tue, 8 Aug 2017 22:23:56 +0200
> When a link between two nodes come up, both endpoints will initially
> send out a STATE message to the peer, to increase the probability that
> the peer endpoint also is up when the first traffic message arrives.
> Thereafter, if the establis
From: Nathan Fontenot
Date: Tue, 08 Aug 2017 15:26:18 -0500
> Commit a248878d7a1d ("ibmvnic: Check for transport event on driver resume")
> removed the loop to kick irqs on driver resume but didn't remove the now
> unused loop variable 'i'.
>
> Signed-off-by: Nathan Fontenot
Applied.
From: Nathan Fontenot
Date: Tue, 08 Aug 2017 14:28:45 -0500
> Ensure that any resources allocated during probe are released if the
> probe of the driver fails.
>
> Signed-off-by: Nathan Fontenot
Applied, but:
> +
> +ibmvnic_register_fail:
> + device_remove_file(&dev->dev, &dev_attr_failov
On Wed, Aug 9, 2017 at 8:32 PM, Jerry Chu wrote:
> On Wed, Aug 9, 2017 at 5:47 PM, Rao Shoaib wrote:
>>
>>
>> On 08/09/2017 05:30 PM, David Miller wrote:
>>>
>>> From: Joe Smith
>>> Date: Wed, 9 Aug 2017 17:20:32 -0700
>>>
Making Linux conform to standards and behavior that is logical seems
The patch c4adfc822bf5 ("bonding: make speed, duplex setting consistent
with link state") puts the link state to down if
bond_update_speed_duplex() cannot retrieve speed and duplex settings.
Assumably the patch was written with 802.3ad mode in mind which relies
on link speed/duplex settings. For ot
On Thu, Aug 10, 2017 at 8:20 AM, Andrew Lunn wrote:
> On Wed, Aug 09, 2017 at 03:47:34PM -0700, Florian Fainelli wrote:
>> On August 9, 2017 5:10:30 AM PDT, David Wu wrote:
>> >Add the documentation for internal phy. A boolean property
>> >indicates that a internal phy will be used.
>> >
>> >Sign
At 2017-08-10 02:08:30, "Cong Wang" wrote:
>On Wed, Aug 9, 2017 at 8:57 AM, wrote:
>> From: Gao Feng
>>
>> In the commit ddab82821fa6 ("ppp: Fix a scheduling-while-atomic bug in
>> del_chan"), I moved the synchronize_rcu() from del_chan() to pptp_release
>> after del_chan() to avoid one schedu
On Wed, Aug 9, 2017 at 5:47 PM, Rao Shoaib wrote:
>
>
> On 08/09/2017 05:30 PM, David Miller wrote:
>>
>> From: Joe Smith
>> Date: Wed, 9 Aug 2017 17:20:32 -0700
>>
>>> Making Linux conform to standards and behavior that is logical seems
>>> like a good enough reason.
>>
>> That's an awesome atti
At 2017-08-10 05:00:19, "Cong Wang" wrote:
>On Wed, Aug 9, 2017 at 12:17 AM, Gao Feng wrote:
>> Hi Cong,
>>
>> Actually I have one question about the SOCK_RCU_FREE.
>> I don't think it could resolve the issue you raised even though it exists
>> really.
>>
>> I checked the SOCK_RCU_FREE, it just
Hi David,
On Wed, Aug 9, 2017 at 5:38 PM, David.Wu wrote:
> Hello Corentin, Chen-Yu
>
>
> 在 2017/8/9 16:45, Corentin Labbe 写道:
>>
>> On Thu, Aug 03, 2017 at 07:06:33PM +0800, Chen-Yu Tsai wrote:
>>>
>>> On Thu, Aug 3, 2017 at 1:38 AM, Florian Fainelli
>>> wrote:
On 08/01/2017 11:21 PM,
On 8/9/17 5:09 PM, Willem de Bruijn wrote:
> From: Willem de Bruijn
>
> Fix two issues introduced in the msg_zerocopy patchset.
>
> Willem de Bruijn (2):
> sock: fix zerocopy panic in mem accounting
> sock: fix zerocopy_success regression with msg_zerocopy
>
> include/linux/skbuff.h | 9 ++
Hi Arnd,
On 9 August 2017 at 16:44, Arnd Bergmann wrote:
> On Wed, Aug 9, 2017 at 4:51 AM, Baolin Wang wrote:
>> Since 'time_t', 'timeval' and 'timespec' types are not year 2038 safe on
>> 32 bits system, this patchset tries to fix this issues for security/keys
>> subsystem and net/rxrpc subsyst
On 9 August 2017 at 16:28, David Howells wrote:
> The rxrpc patch isn't part of the security/keys subsystem. I'll push it
> to the network tree. The other two I'll push to James.
Thanks David.
--
Baolin.wang
Best Regards
On Wed, Aug 9, 2017 at 6:26 PM, John Stultz wrote:
> On Wed, Aug 9, 2017 at 5:36 PM, Wei Wang wrote:
>> On Wed, Aug 9, 2017 at 4:44 PM, John Stultz wrote:
>>> On Wed, Aug 9, 2017 at 4:34 PM, Cong Wang wrote:
(Cc'ing Wei whose commit was blamed)
On Mon, Aug 7, 2017 at 2:15 PM, Joh
On 8/9/17 6:21 PM, David Miller wrote:
>
> Ok series applied, let's see where this goes :-)
>
1 hour in, 1 problem reported
On Wed, Aug 9, 2017 at 5:36 PM, Wei Wang wrote:
> On Wed, Aug 9, 2017 at 4:44 PM, John Stultz wrote:
>> On Wed, Aug 9, 2017 at 4:34 PM, Cong Wang wrote:
>>> (Cc'ing Wei whose commit was blamed)
>>>
>>> On Mon, Aug 7, 2017 at 2:15 PM, John Stultz wrote:
On Mon, Aug 7, 2017 at 2:05 PM, John
At 2017-08-10 02:18:44, "Cong Wang" wrote:
>On Tue, Aug 8, 2017 at 10:13 PM, Gao Feng wrote:
>> Maybe I didn't show my explanation clearly.
>> I think it won't happen as I mentioned in the last email.
>> Because the pptp_release invokes the synchronize_rcu to make sure it, and
>> actually there
Florian:
Booting top of tree on my host with a VRF configured is spewing traces:
[ 24.779911] RTNL: assertion failed at
/home/dsa/kernel.git/net/core/dev.c (5717)
[ 24.779984] CPU: 3 PID: 989 Comm: ip Not tainted
4.13.0-rc4-01020-gcd9cb3890b20 #8
[ 24.779986] Hardware name: Supermicro X9DAi
Hi Rob,
On 08/03/2017 12:07 PM, Rob Herring wrote:
> On Mon, Jul 24, 2017 at 06:05:20PM -0500, Franklin S Cooper Jr wrote:
>> Add information regarding fixed transceiver binding. This is especially
>> important for MCAN since the IP allows CAN FD mode to run significantly
>> faster than what most
Thanks for your work.
On Thu, Aug 10, 2017 at 2:30 AM, Willem de Bruijn
wrote:
> On Wed, Aug 9, 2017 at 5:04 AM, Tonghao Zhang
> wrote:
>> This patch reverts the commit 6e7bc478c9a0
>> ("net: skb_needs_check() accepts CHECKSUM_NONE for tx"),
>> because we removed the UFO support.
>>
>> Cc: Eric
Add call to new generic functions that provides support via a binding
to limit the arbitration rate and/or data rate imposed by the physical
transceiver connected to the MCAN peripheral.
Signed-off-by: Franklin S Cooper Jr
---
drivers/net/can/m_can/m_can.c | 2 ++
1 file changed, 2 insertions(+)
Hi Sergei,
On 08/03/2017 10:38 AM, Franklin S Cooper Jr wrote:
>
>
> On 08/03/2017 07:22 AM, Sergei Shtylyov wrote:
>> On 08/03/2017 12:48 PM, Franklin S Cooper Jr wrote:
>>
> Add documentation to describe usage of the new fixed transceiver
> binding.
> This new binding is applicable
Add documentation to describe usage of the new can-transceiver binding.
This new binding is applicable for any CAN device therefore it exists as
its own document.
Signed-off-by: Franklin S Cooper Jr
---
Version 4 changes:
Drop unit address.
Switch from using fixed-transceiver to can-transceiver
Add a new generic binding that CAN drivers can be used to specify the max
bit rate supported by a transceiver. This is useful since in some instances
since the maximum speeds may be limited by the transceiver used. However,
transceivers may not provide a means to determine this limitation at
runtim
Various CAN or CAN-FD IP may be able to run at a faster rate than
what the transceiver the CAN node is connected to. This can lead to
unexpected errors. However, CAN transceivers typically have fixed
limitations and provide no means to discover these limitations at
runtime. Therefore, add support f
Add information regarding can-transceiver binding. This is especially
important for MCAN since the IP allows CAN FD mode to run significantly
faster than what most transceivers are capable of.
Signed-off-by: Franklin S Cooper Jr
---
Drop unit address.
Switch from using fixed-transceiver to can-tr
From: Rao Shoaib
Date: Wed, 9 Aug 2017 17:47:57 -0700
>
>
> On 08/09/2017 05:30 PM, David Miller wrote:
>> From: Joe Smith
>> Date: Wed, 9 Aug 2017 17:20:32 -0700
>>
>>> Making Linux conform to standards and behavior that is logical seems
>>> like a good enough reason.
>> That's an awesome att
On 08/09/2017 05:30 PM, David Miller wrote:
From: Joe Smith
Date: Wed, 9 Aug 2017 17:20:32 -0700
Making Linux conform to standards and behavior that is logical seems
like a good enough reason.
That's an awesome attitude to have when we're implementing something
new and don't have the facili
If setting new values fails, and the attempt to restore original
settings fails. Then log an error and leave device down.
This should never happen, but if it does don't go down in flames.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc_drv.c | 16 ++--
1 file changed,
The function init_page_array is always called with a valid pointer
to RNDIS header. No check for NULL is needed.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc_drv.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drive
Control the size of the buffer areas via ethtool ring settings.
They aren't really traditional hardware rings, but host API breaks
receive and send buffer into chunks. The final size of the chunks are
controlled by the host.
The default value of send and receive buffer area for host DMA
is much la
Assignment to a typed pointer is sufficient in C.
No cast is needed.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc_drv.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 3219d2e89
If VF is slaved to synthetic device, then any change to netvsc
MAC address should be propagated to the slave device.
If slave device doesn't support MAC address change then it
should also be an error to attempt to change synthetic NIC MAC
address.
It also fixes the error unwind in the original co
The send and receive buffers are both per-device (not per-channel).
The associated NUMA node is a property of the CPU which is per-channel
therefore it makes no sense to force the receive/send buffer to be
allocated on a particular node (since it is a shared resource).
Signed-off-by: Stephen Hemmi
When VF device is discovered, delay bring it automatically up in
order to allow userspace to some simple changes (like renaming).
Reported-by: Vitaly Kuznetsov
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/hyperv_net.h | 2 +-
drivers/net/hyperv/netvsc_drv.c | 15 ---
2 f
When hv_pkt_iter_next() returns NULL, it has already called
hv_pkt_iter_close(). Calling it twice can lead to extra host signal.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyper
Fix some minor indentation issues.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc_drv.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index c7391889938b..3219d2e8918f 100644
--- a/
Add ethtool statistics for case where send chimmeny buffer is
exhausted and driver has to fall back to doing scatter/gather
send. Also, add statistic for case where ring buffer is full and
receive completions are delayed.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/hyperv_net.h | 2
These are non-critical bug fixes, related to functionality now in net-next.
1. delaying the automatic bring up of VF device to allow udev to change name.
2. performance improvement
3. handle MAC address change with VF; mostly propogate the error that VF gives.
4. minor cleanups
5. allow settin
On Wed, Aug 9, 2017 at 5:36 PM, Wei Wang wrote:
>
> Does your USB adapter get an IPv6 address?
Yes, it does.
> If you see the problem starts to happen on commit
> 9514528d92d4cbe086499322370155ed69f5d06c, could you try reverting all
> the following commits:
> (from new to old)
> 1eb04e7c9e63 net
On Wed, Aug 9, 2017 at 4:44 PM, John Stultz wrote:
> On Wed, Aug 9, 2017 at 4:34 PM, Cong Wang wrote:
>> (Cc'ing Wei whose commit was blamed)
>>
>> On Mon, Aug 7, 2017 at 2:15 PM, John Stultz wrote:
>>> On Mon, Aug 7, 2017 at 2:05 PM, John Stultz wrote:
So, with recent testing with my HiKe
On Thu, 10 Aug 2017 00:15:41 +0200
Daniel Borkmann wrote:
> Commit 69fed534a533 ("change how Config is used in Makefile's") moved
> HAVE_MNL specific CFLAGS/LDLIBS for building with libmnl out of the
> top level Makefile into sub-Makefiles. However, it also removed the
> HAVE_ELF specific CFLAGS/
On 08/09/2017 05:20 PM, Joe Smith wrote:
On Wed, Aug 9, 2017 at 4:52 PM, Jerry Chu wrote:
[try to recover from long lost memory]
On Tue, Aug 8, 2017 at 10:25 AM, Yuchung Cheng wrote:
On Mon, Aug 7, 2017 at 11:16 AM, Rao Shoaib wrote:
Change from version 0: Rationale behind the change:
T
From: Joe Smith
Date: Wed, 9 Aug 2017 17:20:32 -0700
> Making Linux conform to standards and behavior that is logical seems
> like a good enough reason.
That's an awesome attitude to have when we're implementing something
new and don't have the facility already.
But when we have something alrea
On Wed, Aug 09, 2017 at 03:47:34PM -0700, Florian Fainelli wrote:
> On August 9, 2017 5:10:30 AM PDT, David Wu wrote:
> >Add the documentation for internal phy. A boolean property
> >indicates that a internal phy will be used.
> >
> >Signed-off-by: David Wu
> >---
> > Documentation/devicetree/bin
From: Florian Westphal
Date: Wed, 9 Aug 2017 20:41:46 +0200
> Changes since v1:
> In patch 6, don't make ipv6 route handlers lockless, they all have
> assumptions on rtnl being held. Other patches are unchanged.
>
> The RTNL mutex is used to serialize both rtnetlink calls and
> dump requests
On Wed, Aug 9, 2017 at 4:52 PM, Jerry Chu wrote:
> [try to recover from long lost memory]
>
> On Tue, Aug 8, 2017 at 10:25 AM, Yuchung Cheng wrote:
>> On Mon, Aug 7, 2017 at 11:16 AM, Rao Shoaib wrote:
>>> Change from version 0: Rationale behind the change:
>>>
>>> The man page for tcp(7) states
From: Willem de Bruijn
Date: Wed, 9 Aug 2017 19:09:42 -0400
> Fix two issues introduced in the msg_zerocopy patchset.
Series applied, thanks for following up on this so quickly.
From: Daniel Borkmann
Date: Thu, 10 Aug 2017 01:39:54 +0200
> This set adds BPF_J{LT,LE,SLT,SLE} instructions to the BPF
> insn set, interpreter, JIT hardening code and all JITs are
> also updated to support the new instructions. Basic idea is
> to reduce register pressure by avoiding BPF_J{GT,GE
From: Jeff Kirsher
Date: Wed, 9 Aug 2017 14:47:34 -0700
> This series contains updates to e1000e and igb/igbvf.
...
> The following are changes since commit
> 53b948356554376ec6f89016376825d48bf396c3:
> net: vrf: Add extack messages for newlink failures
> and are available in the git reposit
[try to recover from long lost memory]
On Tue, Aug 8, 2017 at 10:25 AM, Yuchung Cheng wrote:
> On Mon, Aug 7, 2017 at 11:16 AM, Rao Shoaib wrote:
>> Change from version 0: Rationale behind the change:
>>
>> The man page for tcp(7) states
>>
>> when used with the TCP keepalive (SO_KEEPALIVE) opti
On Wed, Aug 9, 2017 at 4:34 PM, Cong Wang wrote:
> (Cc'ing Wei whose commit was blamed)
>
> On Mon, Aug 7, 2017 at 2:15 PM, John Stultz wrote:
>> On Mon, Aug 7, 2017 at 2:05 PM, John Stultz wrote:
>>> So, with recent testing with my HiKey board, I've been noticing some
>>> quirky behavior with m
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions
with BPF_X/BPF_K variants for the sparc64 eBPF JIT.
Signed-off-by: Daniel Borkmann
---
arch/sparc/net/bpf_jit_comp_64.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/arch/sparc/net/bpf_jit_
This set adds BPF_J{LT,LE,SLT,SLE} instructions to the BPF
insn set, interpreter, JIT hardening code and all JITs are
also updated to support the new instructions. Basic idea is
to reduce register pressure by avoiding BPF_J{GT,GE,SGT,SGE}
rewrites. Removing the workaround for the rewrites in LLVM,
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions
with BPF_X/BPF_K variants for the s390x eBPF JIT.
Signed-off-by: Daniel Borkmann
Acked-by: Michael Holzheu
---
arch/s390/net/bpf_jit_comp.c | 24
1 file changed, 24 insertions(+)
diff --git a/arch/s390/ne
Currently, eBPF only understands BPF_JGT (>), BPF_JGE (>=),
BPF_JSGT (s>), BPF_JSGE (s>=) instructions, this means that
particularly *JLT/*JLE counterparts involving immediates need
to be rewritten from e.g. X < [IMM] by swapping arguments into
[IMM] > X, meaning the immediate first is required to
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions
with BPF_X/BPF_K variants for the arm64 eBPF JIT.
Signed-off-by: Daniel Borkmann
---
arch/arm64/net/bpf_jit.h | 4
arch/arm64/net/bpf_jit_comp.c | 20
2 files changed, 24 insertions(+)
diff --git a/
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions
with BPF_X/BPF_K variants for the ppc64 eBPF JIT.
Signed-off-by: Daniel Borkmann
Acked-by: Naveen N. Rao
Tested-by: Naveen N. Rao
---
arch/powerpc/net/bpf_jit.h| 1 +
arch/powerpc/net/bpf_jit_comp64.c | 20 ++
This work implements jiting of BPF_J{LT,LE} instructions with
BPF_X/BPF_K variants for the nfp eBPF JIT. The two BPF_J{SLT,SLE}
instructions have not been added yet given BPF_J{SGT,SGE} are
not supported yet either.
Signed-off-by: Daniel Borkmann
Acked-by: Jakub Kicinski
---
drivers/net/etherne
Enable the newly added jump opcodes, main parts are in two
different areas, namely direct packet access and dynamic map
value access. For the direct packet access, we now allow for
the following two new patterns to match in order to trigger
markings with find_good_pkt_pointers():
Variant 1 (access
This work implements jiting of BPF_J{LT,LE,SLT,SLE} instructions
with BPF_X/BPF_K variants for the x86_64 eBPF JIT.
Signed-off-by: Daniel Borkmann
Acked-by: Alexei Starovoitov
---
arch/x86/net/bpf_jit_comp.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/x8
Add test cases to the verifier selftest suite in order to verify that
i) direct packet access, and ii) dynamic map value access is working
with the changes related to the new instructions.
Signed-off-by: Daniel Borkmann
Acked-by: Alexei Starovoitov
---
tools/testing/selftests/bpf/test_verifier.
(Cc'ing Wei whose commit was blamed)
On Mon, Aug 7, 2017 at 2:15 PM, John Stultz wrote:
> On Mon, Aug 7, 2017 at 2:05 PM, John Stultz wrote:
>> So, with recent testing with my HiKey board, I've been noticing some
>> quirky behavior with my USB eth adapter.
>>
>> Basically, pluging the usb eth ad
On Thu, 10 Aug 2017 00:29:19 +0200
Francois Romieu wrote:
> Murali Karicheri :
> [...]
> > The internal memory or FIFO can store only up to 3 MTU sized packets. So
> > that has to
> > be processed before PRU gets another packets to send to CPU. So per above,
> > it is not ideal to run NAPI for
On Wed, Aug 9, 2017 at 8:50 AM, Paweł Staszewski wrote:
>
>
>
> [60961.112120] BUG: Bad page state in process ksoftirqd/44 pfn:855f2f
> [60961.112123] page:ea002157cbc0 count:51910 mapcount:0 mapping:
> (null) index:0x0
> [60961.112259] flags: 0x600()
> [60961.112375] raw: 0600
From: Willem de Bruijn
Fix two issues introduced in the msg_zerocopy patchset.
Willem de Bruijn (2):
sock: fix zerocopy panic in mem accounting
sock: fix zerocopy_success regression with msg_zerocopy
include/linux/skbuff.h | 9 +++--
net/core/skbuff.c | 4 ++--
2 files changed, 9
From: Willem de Bruijn
Only call mm_unaccount_pinned_pages when releasing a struct ubuf_info
that has initialized its field uarg->mmp.
Before this patch, a vhost-net with experimental_zcopytx can crash in
mm_unaccount_pinned_pages
sock_zerocopy_put
skb_zcopy_clear
skb_release_data
Only
From: Willem de Bruijn
Do not use uarg->zerocopy outside msg_zerocopy. In other paths the
field is not explicitly initialized and aliases another field.
Those paths have only one reference so do not need this intermediate
variable. Call uarg->callback directly.
Fixes: 1f8b977ab32d ("sock: enabl
struct ovs_action_encap_nsh is the only one way we transfer all the data for
encap_nsh, netlink allows variable attribute, so I don't think we break netlink
convention or abuse this variable feature.
Even if we bring nested attributes to handle this, OVS_ACTION_ATTR_ENCAP_NSH is
still length-va
On August 9, 2017 5:13:19 AM PDT, David Wu wrote:
>This patch enables the internal phy for rk3228 evb board
>by default.
>To use the external 1000M phy on evb board, need to make
>some switch of evb board to be on.
>
>Signed-off-by: David Wu
LGTM
Reviewed-by: Florian Fainelli
--
Florian
On August 9, 2017 5:10:30 AM PDT, David Wu wrote:
>Add the documentation for internal phy. A boolean property
>indicates that a internal phy will be used.
>
>Signed-off-by: David Wu
>---
> Documentation/devicetree/bindings/net/phy.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/Docu
On August 9, 2017 1:45:41 AM PDT, Corentin Labbe
wrote:
>On Thu, Aug 03, 2017 at 07:06:33PM +0800, Chen-Yu Tsai wrote:
>> On Thu, Aug 3, 2017 at 1:38 AM, Florian Fainelli
> wrote:
>> > On 08/01/2017 11:21 PM, David Wu wrote:
>> >> To make internal phy work, need to configure the phy_clock,
>> >>
Hi,
I am debugging a system where rcu_sched detects cpu stall. The system
is running a test which runs fine if IPSec is not used. With IPSec it
stalls. I have tried reducing the value of netdev_budget to 100 but
that seems to have no impact. I have included two stack traces below.
How do I figur
Murali Karicheri :
[...]
> The internal memory or FIFO can store only up to 3 MTU sized packets. So that
> has to
> be processed before PRU gets another packets to send to CPU. So per above,
> it is not ideal to run NAPI for this scenario, right? Also for NetCP we use
> about 128 descriptors wit
Commit 69fed534a533 ("change how Config is used in Makefile's") moved
HAVE_MNL specific CFLAGS/LDLIBS for building with libmnl out of the
top level Makefile into sub-Makefiles. However, it also removed the
HAVE_ELF specific CFLAGS/LDLIBS entirely, which breaks the BPF object
loader for tc and ip wi
From: Gustavo A R Silva
Check return value from call to e1e_wphy(). This value is being
checked during previous calls to function e1e_wphy() and it seems
a check was missing here.
Addresses-Coverity-ID: 1226905
Signed-off-by: Gustavo A R Silva
Reviewed-by: Ethan Zhao
Tested-by: Aaron Brown
Si
From: Cliff Spradlin
HW timestamping can only be requested for a packet if the NIC is first
setup via ioctl(SIOCSHWTSTAMP). If this step was skipped, then the igb
driver still allowed TX packets to request HW timestamping. In this
situation, the _IGB_PTP_TX_IN_PROGRESS flag was set and would neve
From: Gangfeng Huang
After add an ethertype filter, if user change the adapter speed several
times, the error "ethtool -N: etype filters are all used" is reported by
igb driver.
In older patch, function igb_nfc_filter_exit() and igb_nfc_filter_restore()
is not paried. igb_nfc_filter_restore() ex
From: Corinna Vinschen
TSAUXC.DisableSystime is never set, so SYSTIM runs into a SYS WRAP
every 1100 secs on 80580/i350/i354 (40 bit SYSTIM) and every 35000
secs on 80576 (45 bit SYSTIM).
This wrap event sets the TSICR.SysWrap bit unconditionally.
However, checking TSIM at interrupt time shows
From: Greg Edwards
Add a mailbox unlock method to e1000_mbx_operations, which will be used
to unlock the PF/VF mailbox by the PF.
Signed-off-by: Greg Edwards
Tested-by: Aaron Brown
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/igb/e1000_hw.h | 1 +
drivers/net/ethernet/intel/i
From: Greg Edwards
Signed-off-by: Greg Edwards
Tested-by: Aaron Brown
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/igb/e1000_hw.h | 15 ---
drivers/net/ethernet/intel/igb/e1000_mbx.h | 12 ++--
2 files changed, 14 insertions(+), 13 deletions(-)
diff --git a
1 - 100 of 302 matches
Mail list logo