On 8/14/15 9:16 PM, Tom Herbert wrote:
At least collect this code into one (static inline) function to better
minimize the code churn in udp. If this is general functionality that
can be used by other drivers then abstract it out as such. Also, if
the VRF driver is not configured it seems like th
On Fri, Aug 14, 2015 at 10:58 AM, Shrijeet Mukherjee
wrote:
>
>
> On Fri, Aug 14, 2015 at 9:27 AM, Tom Herbert wrote:
>>
>> On Thu, Aug 13, 2015 at 1:59 PM, David Ahern
>> wrote:
>> > For unconnected UDP sockets using a VRF device lookup source address
>> > based on VRF table. This allows the UD
From: Willem de Bruijn
Add fanout mode PACKET_FANOUT_CBPF that accepts a classic BPF program
to select a socket.
This avoids having to keep adding special case fanout modes. One
example use case is application layer load balancing. The QUIC
protocol, for instance, encodes a connection ID in UDP
From: Willem de Bruijn
Add fanout mode PACKET_FANOUT_EBPF that accepts an en extended BPF
program to select a socket.
Update the internal eBPF program by passing to socket option
SOL_PACKET/PACKET_FANOUT_DATA a file descriptor returned by bpf().
Signed-off-by: Willem de Bruijn
---
include/uap
From: Willem de Bruijn
Test PACKET_FANOUT_CBPF by inserting a cBPF program that selects a
socket by payload. Requires modifying the test program to send
packets with multiple payloads.
Also fix a bug in testing the return value of mmap()
Signed-off-by: Willem de Bruijn
---
tools/testing/selft
From: Willem de Bruijn
Test PACKET_FANOUT_EBPF by inserting a program into the the kernel
with bpf(), then attaching it to the fanout group. Observe the same
payload-based distribution as in the PACKET_FANOUT_CBPF test.
Signed-off-by: Willem de Bruijn
---
tools/testing/selftests/net/psock_fano
From: Willem de Bruijn
Allow programmable fanout modes. Support both classical BPF programs
passed directly and extended BPF programs passed by file descriptor.
One use case is packet steering by deep packet inspection, for
instance for packet steering by application layer header fields.
Separa
On Fri, Aug 14, 2015 at 3:46 PM, Daniel Borkmann wrote:
> On 08/14/2015 09:27 PM, Willem de Bruijn wrote:
> ...
>>>
>>> Btw, in case someone sets sock_flag(sk, SOCK_FILTER_LOCKED),
>>> perhaps we should also apply it on fanout?
>>
>>
>> Good point. With classic bpf, packet access control is fully
Hi,
Thank you for taking your time and trying to understand, even though
one of samples is wrong. correct one is:
rx only mmaped nflog sample:
https://gist.github.com/chamaken/dc0f80c14862e8061c06/raw/365c8a106840368f313a3791958da9be0f5fbed0/rxring-nflog.c
> >Currently, what happens is
> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org]
> On Behalf Of Shota Suzuki
> Sent: Tuesday, June 30, 2015 5:26 PM
> To: Kirsher, Jeffrey T; Brandeburg, Jesse; Nelson, Shannon; Wyborny,
> Carolyn; Skidmore, Donald C; Vick, Matthew; Ronciak, John; Williams, Mitch
> A; inte
On Fri, 2015-08-14 at 16:31 -0700, Eric Dumazet wrote:
>
> I simply reboot my host. eth0 device can not be dismantled and block the
> reboot, I gave to reset the host.
>
> I get the issue every time.
>
> I confirm reverting 3bfd847203c6d89532f836ad3f5b4ff4ced26dd9
> removes the issue for me.
>
On 2015-08-14 2:56 AM, Michal Kubecek wrote:
On Thu, Aug 13, 2015 at 02:02:55PM -0400, Jarod Wilson wrote:
Currently, all bonding devices come up, and claim to have LRO support,
which ethtool will let you toggle on and off, even if none of the
underlying hardware devices actually support it. Whi
On Fri, 2015-08-14 at 17:19 -0600, David Ahern wrote:
> On 8/14/15 5:14 PM, Eric Dumazet wrote:
> > On Fri, 2015-08-14 at 14:14 -0700, Eric Dumazet wrote:
> >> While rebooting host running latest net-next
> >>
> >> unregister_netdevice: waiting for eth0 to become free. Usage count = 4
> >>
> >> O
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On
> Behalf Of Jia-Ju Bai
> Sent: Wednesday, August 05, 2015 3:16 AM
> To: Kirsher, Jeffrey T; Brandeburg, Jesse
> Cc: netdev@vger.kernel.org; Jia-Ju Bai; intel-wired-...@lists.osuosl.org;
> linux-ker...@vger.kernel.org
> Sub
On 8/14/15 5:14 PM, Eric Dumazet wrote:
On Fri, 2015-08-14 at 14:14 -0700, Eric Dumazet wrote:
While rebooting host running latest net-next
unregister_netdevice: waiting for eth0 to become free. Usage count = 4
Oh well...
It looks like David Ahern recent changes uncover a bug ?
Not clear
On Fri, 2015-08-14 at 14:14 -0700, Eric Dumazet wrote:
> While rebooting host running latest net-next
>
> unregister_netdevice: waiting for eth0 to become free. Usage count = 4
>
> Oh well...
>
It looks like David Ahern recent changes uncover a bug ?
Not clear which commit is at fault.
Maybe
On Sat, 2015-08-15 at 00:09 +0200, Sander Eikelenboom wrote:
> On 2015-08-13 00:41, Eric Dumazet wrote:
> > On Wed, 2015-08-12 at 23:46 +0200, Sander Eikelenboom wrote:
> >
> >> Thanks for the reminder, but luckily i was aware of that,
> >> seen enough of your replies asking for patches to be resu
After having tested insertion, lookup, table walk and removal, spawn a
number of threads running operations on the same rhashtable. Each of
them will:
1) insert it's own set of objects,
2) lookup every successfully inserted object and finally
3) remove objects in several rounds until all of them h
hould have done that before, because it wasn't in yet .. and likely to
fix the issue,
also pulled and compiling now.
--
Sander
NMI watchdog: BUG: soft lockup - CPU#0 stuck for 506s! [swapper/0:0]
[ 6620.282805] Modules linked in:
[ 6620.282805] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
4.2
k for 506s! [swapper/0:0]
[ 6620.282805] Modules linked in:
[ 6620.282805] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
4.2.0-rc6-20150814-linus-doflr-apicrevert+ #1
[ 6620.282805] task: 8221a580 ti: 8220 task.ti:
8220
[ 6620.282805] RIP: e030:[] []
xen_hypercall_xen_versio
printk.h does not need to be explicitly included as we include kernel.h
which already called it.
Signed-off-by: Ian Morris
---
net/ipv6/ip6_offload.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/ipv6/ip6_offload.c b/net/ipv6/ip6_offload.c
index 08b6204..1cb2dc7 100644
--- a/net/ipv6/ip
Change brace placement to be in line with coding standards
Signed-off-by: Ian Morris
---
net/ipv6/udp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index e51fc3e..0aba654 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -1496,7 +1496,8
I will send out a v2 short, this breaks compilation when
CONFIG_LWTUNNEL is not defined.
On Thu, Aug 13, 2015 at 9:54 AM, Tom Herbert wrote:
> This patch adds the capability to redirect dst input in the same way
> that dst output is redirected by LWT.
>
> Also, save the original dst.input and an
While rebooting host running latest net-next
unregister_netdevice: waiting for eth0 to become free. Usage count = 4
Oh well...
--
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
From: Linus Lüssing
The two commits noted below added calls to ip_hdr() and ipv6_hdr(). They
need a correctly set skb network header.
Unfortunately we cannot rely on the device drivers to set it for us.
Therefore setting it in the beginning of the according ndo_start_xmit
handler.
Fixes: 1d8ab8
Hi,
When doing NFS stress tests in a VM with a recent kernel (yesterday's
commit 7ddab73346a1 "Merge branch 'fixes' of git
://ftp.arm.linux.org.uk/~rmk/linux-arm"), I've been seeing the
following General Protection Fault code apparently in the nf_conntrack
code:
PID: 358TASK: 88003630cb8
From: Linus Lüssing
Bitwise OR/AND assignments in C aren't guaranteed to be atomic. One
OGM handler might undo the set/clear of a specific bit from another
handler run in between.
Fix this by using the atomic set_bit()/clear_bit()/test_bit() functions.
Fixes: 17cf0ea455f1 ("batman-adv: tvlv - a
From: Linus Lüssing
So far the mcast tvlv handler did not anticipate the processing of
multiple incoming OGMs from the same originator at the same time. This
can lead to various issues:
* Broken refcounting: For instance two mcast handlers might both assume
that an originator just got multicas
From: Marek Lindner
The list_del() calls were changed to list_del_init() to prevent
an accidental double deletion in batadv_tt_req_node_new().
Signed-off-by: Marek Lindner
Signed-off-by: Antonio Quartulli
---
net/batman-adv/translation-table.c | 9 +
1 file changed, 5 insertions(+), 4
From: Linus Lüssing
Bitwise OR/AND assignments in C aren't guaranteed to be atomic. One
OGM handler might undo the set/clear of a specific bit from another
handler run in between.
Fix this by using the atomic set_bit()/clear_bit()/test_bit() functions.
Fixes: 60432d756cf0 ("batman-adv: Announce
On Friday 14 August 2015 18:30:20 Kenneth Lee wrote:
> +#define MDIO_BASE_ADDR 0x403C
Does not belong in here (and is not used)
> +#define MDIO_COMMAND_REG 0x0
> +#define MDIO_ADDR_REG 0x4
> +#define MDIO_WDATA_REG 0x8
> +#define
From: Linus Lüssing
Bitwise OR/AND assignments in C aren't guaranteed to be atomic. One
OGM handler might undo the set/clear of a specific bit from another
handler run in between.
Fix this by using the atomic set_bit()/clear_bit()/test_bit() functions.
Fixes: e17931d1a61d ("batman-adv: introduc
From: Simon Wunderlich
When an interface is purged, the broadcast packets scheduled for this
interface should get purged as well.
Signed-off-by: Simon Wunderlich
Signed-off-by: Marek Lindner
Signed-off-by: Antonio Quartulli
---
net/batman-adv/send.c | 3 ++-
1 file changed, 2 insertions(+),
From: Sven Eckelmann
The gw_factor is divided by BATADV_TQ_LOCAL_WINDOW_SIZE ** 2 * 64. But the
rest of the calculation has nothing to do with the tq window size and
therefore the calculation is just (tmp_gw_factor / (64 ** 3)).
Replace it with a simple shift to avoid a costly 64-bit divide when
From: Ruben Wisniewski
The gateway selection based on fast connections is using a single value
calculated from the average tq (0-255) and the download bandwidth (in
100Kibit). The formula for the first step (tq ** 2 * 1 * bandwidth)
tends to overflow a u32 with low bandwidth settings like 50
Hi David,
this is our first batch intended for net-next/linux-4.3 (resent after
fixing the parenthesis as reported by Sergei).
Here you have all those non-critical fixes/changes that we couldn't
merge into the net tree as it was already too late in the release
cycle.
This is a summary of what ea
From: Linus Lüssing
Bitwise OR/AND assignments in C aren't guaranteed to be atomic. One
OGM handler might undo the set/clear of a specific bit from another
handler run in between.
Fix this by using the atomic set_bit()/clear_bit()/test_bit() functions.
Fixes: 3f4841ffb336 ("batman-adv: tvlv - a
> On Aug 14, 2015, at 3:30 PM, Ivan Vecera wrote:
>
> VxLAN offloading is not functional if the NIC is running in multichannel
> mode (UMC, FLEX-10, VNIC...). Enabling this additionally kills whole
> connectivity through the NIC and the device needs to be down and up to
> restore it. The firmwar
On Friday 14 August 2015 18:30:18 Kenneth Lee wrote:
> diff --git a/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
> b/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
> new file mode 100644
> index 000..5ab6969
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/
On 11/08/15 21:36, Sergei Shtylyov wrote:
>> /* check if orig node candidate is running DAT */
>> -if (!(candidate->capabilities & BATADV_ORIG_CAPA_HAS_DAT))
>> +if (!(test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities)))
>
>() around the tst_bit() call not needed.
Th
VxLAN offloading is not functional if the NIC is running in multichannel
mode (UMC, FLEX-10, VNIC...). Enabling this additionally kills whole
connectivity through the NIC and the device needs to be down and up to
restore it. The firmware should take care about it and does not allow
the conversion o
On 08/14/2015 09:27 PM, Willem de Bruijn wrote:
...
Btw, in case someone sets sock_flag(sk, SOCK_FILTER_LOCKED),
perhaps we should also apply it on fanout?
Good point. With classic bpf, packet access control is fully
enforced in per-socket filters, but playing with load balancing
filters could
Corcodel Marian :
[...]
> diff --git a/drivers/net/ethernet/realtek/r8169.c
> b/drivers/net/ethernet/realtek/r8169.c
> index eb2d2a4..6882eab 100644
> --- a/drivers/net/ethernet/realtek/r8169.c
> +++ b/drivers/net/ethernet/realtek/r8169.c
> @@ -7470,15 +7470,22 @@ static int rtl8169_poll(struct n
> [ @Willem: RH email doesn't exist anymore, I took it out, otherwise
> every reply gets a bounce. ;) ]
Sorry for using the wrong address, Daniel.
>> Also instead of:
>> #define PACKET_FANOUT_BPF6
>> #define PACKET_FANOUT_EBPF7
>>
>> I would call them FANOUT_CBPF and FANOUT_
[ @Willem: RH email doesn't exist anymore, I took it out, otherwise
every reply gets a bounce. ;) ]
On 08/14/2015 07:03 PM, Alexei Starovoitov wrote:
On 8/14/15 8:50 AM, Willem de Bruijn wrote:
...
all looks great except in the above the check:
if (new->type != BPF_PROG_TYPE_SOCKET_
On Fri, Aug 14, 2015 at 1:03 PM, Alexei Starovoitov wrote:
> On 8/14/15 8:50 AM, Willem de Bruijn wrote:
>>
>> +static int fanout_set_data_ebpf(struct packet_fanout *f, char __user
>> *data,
>> + unsigned int len)
>> +{
>> + struct bpf_prog *new;
>> + u32
v1 -> v2:
A minor change in the commit message of patch 2.
This patch series fixes a potential deadlock when creating a pcpu rt.
It happens when dst_alloc() decided to run gc. Something like this:
read_lock(&table->tb6_lock);
ip6_rt_pcpu_alloc()
=> dst_alloc()
=> ip6_dst_gc()
=> write_lock(&table
rt6_make_pcpu_route() is called under read_lock(&table->tb6_lock).
rt6_make_pcpu_route() calls ip6_rt_pcpu_alloc(rt) which then
calls dst_alloc(). dst_alloc() _may_ call ip6_dst_gc() which takes
the write_lock(&tabl->tb6_lock). A visualized version:
read_lock(&table->tb6_lock);
rt6_make_pcpu_rou
It is a prep work for fixing a potential deadlock when creating
a pcpu rt.
The current rt6_get_pcpu_route() will also create a pcpu rt if one does not
exist. This patch moves the pcpu rt creation logic into another function,
rt6_make_pcpu_route().
Signed-off-by: Martin KaFai Lau
CC: Hannes Fred
After 4b32b5ad31a6 ("ipv6: Stop rt6_info from using inet_peer's metrics"),
ip6_dst_alloc() does not need the 'table' argument. This patch
cleans it up.
Signed-off-by: Martin KaFai Lau
CC: Hannes Frederic Sowa
---
net/ipv6/route.c | 21 +
1 file changed, 9 insertions(+), 12
On Thu, Aug 13, 2015 at 05:29:09PM -0700, David Miller wrote:
> From: Martin KaFai Lau
> Date: Thu, 13 Aug 2015 00:58:00 -0700
>
> > This patch series fixes a potential deadlock when creating a pcpu rt.
> > It happens when dst_alloc() decided to run gc. Something like this:
> >
> > read_lock(&ta
Dear Michael,
The LAN8700, LAN8710, LAN8720 is a product of the SMSC company.
Microchip acquired SMSC in August 2012.
The LAN8700 is a legacy product for Microchip and they will not update
anything about it. So, even if Microchip know about HW bug, then there
is no chance to have Errata sheet o
* Due to HW bug, LAN8700 sometimes does not detect presence of energy in the
Ethernet cable in Energy Detect Power-Down mode (e.g while EDPWRDOWN bit is
set, the ENERGYON bit does not asserted sometimes). This is a common bug of
LAN87xx family of PHY chips.
* The lan87xx_read_status() was imp
On 8/14/15 8:50 AM, Willem de Bruijn wrote:
+static int fanout_set_data_ebpf(struct packet_fanout *f, char __user *data,
+ unsigned int len)
+{
+ struct bpf_prog *new;
+ u32 fd;
+
+ if (len != sizeof(fd))
+ return -EINVAL;
+ if (
Le 08/13/15 21:23, shh@gmail.com a écrit :
> From: Shaohui Xie
>
> Currently, if phy state is PHY_RUNNING, we always register a CHANGE
> when phy works in polling or interrupt ignored, this will make the
> adjust_link being called even the phy link did Not changed.
Right, which is why most d
Both races may happen when a device (e.g. YOTA 4G LTE Modem) is
unplugged while the system is downloading a large file from the Net.
Hardware breakpoints and Kprobes with delays were used to confirm that
the races do actually happen.
1. The first race is on skb_queue ('next' pointer) between usbn
Hi,
21.07.2015 17:22, Oliver Neukum пишет:
On Mon, 2015-07-20 at 21:13 +0300, Eugene Shatokhin wrote:
And here, the code clears EVENT_RX_KILL bit in dev->flags, which may
execute concurrently with the above operation:
#0 clear_bit (bitops.h:113, inlined)
#1 usbnet_bh (usbnet.c:1475)
/*
On 08/14/15 at 04:40pm, Jiri Benc wrote:
> We already have IFLA_IPTUN_ netlink attributes. The IP_TUN_ attributes look
> very similar, yet they serve very different purpose. This is confusing for
> anyone trying to implement a user space tool supporting lwt.
>
> As the IP_TUN_ attributes are used
Hi Igor,
Am Freitag, 14. August 2015, 11:03:04 schrieb Igor Plyatov:
> Dear Michael,
>
> > Hi Igor,
> >
> > Am Donnerstag, 13. August 2015, 22:18:34 schrieben Sie:
> >
> > > * Due to HW bug, LAN8700 sometimes does not detect presence of
> > energy in the
> >
> > > Ethernet cable in Energy Detect
On Thu, Aug 13, 2015 at 1:59 PM, David Ahern wrote:
> For unconnected UDP sockets using a VRF device lookup source address
> based on VRF table. This allows the UDP header to be properly setup
> before showing up at the VRF device via the dst.
>
> Signed-off-by: Shrijeet Mukherjee
> Signed-off-by
On Fri, 2015-08-14 at 08:57 -0700, Stephen Hemminger wrote:
>
> Begin forwarded message:
>
> Date: Fri, 14 Aug 2015 14:32:56 +
> From: "bugzilla-dae...@bugzilla.kernel.org"
>
> To: "shemmin...@linux-foundation.org"
> Subject: [Bug 102861] New: soft lockup with "inet: fix races with reqsk
Begin forwarded message:
Date: Fri, 14 Aug 2015 14:32:56 +
From: "bugzilla-dae...@bugzilla.kernel.org"
To: "shemmin...@linux-foundation.org"
Subject: [Bug 102861] New: soft lockup with "inet: fix races with reqsk timers"
https://bugzilla.kernel.org/show_bug.cgi?id=102861
Bu
On 08/12/2015 05:13 PM, Florian Fainelli wrote:
On 12/08/15 15:06, Jeremy Linton wrote:
+
+static void *device_get_mac_addr(struct device *dev,
+const char *name, char *addr,
+int alen)
+{
+ int ret = device_property_read_u8_a
Hi,
And, in addition to the fix before, I have a -next pull request. It's
actually quite big since I hadn't wanted to send one just before my
vacation.
Let me know if there are any issues.
johannes
The following changes since commit 923b352f19d9ea971ae2536eab55f5fc9e95fedf:
cfg80211: use RT
From: Willem de Bruijn
Add a fanout mode that accepts an eBPF program to select a socket.
Update the internal eBPF program by passing to socket option
SOL_PACKET/PACKET_FANOUT_DATA a file descriptor returned by bpf().
Signed-off-by: Willem de Bruijn
---
include/uapi/linux/if_packet.h | 1 +
From: Willem de Bruijn
Allow programmable fanout modes. Support both classical BPF programs
passed directly and eBPF programs passed by file descriptor.
One use case is packet steering by deep packet inspection, for
instance for packet steering by application layer header fields.
Separate the c
From: Willem de Bruijn
Test PACKET_FANOUT_EBPF by inserting a program into the the kernel
with bpf(), then attaching it to the fanout group. Observe the same
payload-based distribution as in the PACKET_FANOUT_BPF test.
Signed-off-by: Willem de Bruijn
---
tools/testing/selftests/net/psock_fanou
From: Willem de Bruijn
Test PACKET_FANOUT_BPF by inserting a BPF program that selects a
socket by payload. Requires modifying the test program to send
packets with multiple payloads.
Also fix a bug in testing the return value of mmap()
Signed-off-by: Willem de Bruijn
---
tools/testing/selftes
From: Willem de Bruijn
Add a fanout mode that accepts a BPF program to select a socket.
This avoids having to keep adding special case fanout modes. One
example use case is application layer load balancing. The QUIC
protocol, for instance, encodes a connection ID in UDP payload.
Also add socket
We already have IFLA_IPTUN_ netlink attributes. The IP_TUN_ attributes look
very similar, yet they serve very different purpose. This is confusing for
anyone trying to implement a user space tool supporting lwt.
As the IP_TUN_ attributes are used only for the lightweight tunnels, prefix
them with
Hi Andrew
Will resubmit with the information you suggest.
There might be a slight delay for this as I am on holiday now for a week.
Rest regards
Philip
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Friday, August 14, 2015 2:35 PM
> To: Philip Downey
> Cc: David
Hi Philip
So with a bit of poking and prodding, we have a much better
understanding as to why this is O.K. Maybe your next patch can quote
the relevant RFCs and have a much fuller commit message?
Thanks
Andrew
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the bod
On 08/13/2015 04:40 PM, Eric Dumazet wrote:
On Thu, 2015-08-13 at 11:13 +0200, Vlastimil Babka wrote:
Given that this apparently isn't the first case of this localhost issue,
I wonder if network code should just clear skb->pfmemalloc during send
(or maybe just send over localhost). That would b
Hi Dave,
I'm back from vacation, and found a single bugfix waiting. It's in this
pull request, but I'm not quite up to speed as to what's happening with
the release. If it goes in, great; if not I've already tagged it with
Cc stable anyway.
Thanks,
johannes
The following changes since commit 9
On Fri, Aug 14, 2015 at 09:50:02AM +, Premkumar Jonnala wrote:
> Extend bridge command to configure and retrieve ageing interval for bridge
> devices. Netlink messaging is used to configure and retrieve the ageing
> interval.
>
> Signed-off-by: Premkumar Jonnala
>
...
> diff --git a/include
This is to add basic ethernet support for HNS. It is one of the way to use
the HNS acceleration engine. But most of the decoding/encoding capability
of the AE cannot be used in this way.
This submit contains the basic feature as a ethernet driver. More will be
added later.
Signed-off-by: Kenneth
On 08/14/2015 12:01 PM, Daniel Borkmann wrote:
On 08/14/2015 10:58 AM, Ken-ichirou MATSUZAWA wrote:
Hi,
Thank you for taking your time.
Please let me explain these with code samples on gist.
I can not describe and arrange it well, sorry.
normal socket nflog sample:
https://gist.gi
This patchset add Hisilicon Network Subsystem support. The subsystem
provides a long term developing network accelerate engine with ring buffer
interface. The network interface can be used as standard ethernet network
interface card or be made use by a network application with decoded L2 to
L4 data
The Hisilicon Network Subsystem is a long term evolution IP which is
supposed to be used in Hisilicon ICT SoC. The IP, which is called hns for
short, is a TCP/IP acceleration engine, which can directly decode TCP/IP
stream and distribute them to different ring buffers.
HNS can be configured to wor
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon
P660 and Hi1610 SoC to control the external PHY
Signed-off-by: Yisen Zhuang
Signed-off-by: Kenneth Lee
---
drivers/net/ethernet/hisilicon/hns/hns_mdio_main.c | 597 +
1 file changed, 597 insertions(+)
HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a
unified ring buffer interface for Hisilicon Network Acceleration Engines.
With the interface, upper layer can work as ethernet driver, ODP driver or
other service driver on purpose.
Signed-off-by: Kenneth Lee
Signed-off-by:
On Thu, Aug 13, 2015 at 12:58:00AM -0700, Martin KaFai Lau wrote:
> Steinar, the patches can also be applied to 4.2-rc5 (I just tried).
> Can you help to test them? Thanks!
I won't be doing a boot in the near future (I want my server to be up,
sorry :-) ), but if I _do_ have to boot, I'll be sure
On 08/14/2015 10:58 AM, Ken-ichirou MATSUZAWA wrote:
Hi,
Thank you for taking your time.
Please let me explain these with code samples on gist.
I can not describe and arrange it well, sorry.
normal socket nflog sample:
https://gist.github.com/chamaken/dc0f80c14862e8061c06/raw/2d6da
Extend bridge command to configure and retrieve ageing interval for bridge
devices. Netlink messaging is used to configure and retrieve the ageing
interval.
Signed-off-by: Premkumar Jonnala
---
diff --git a/bridge/br_common.h b/bridge/br_common.h
index 169a162..85cca68 100644
--- a/bridge/br_c
Am Freitag, den 14.08.2015, 16:14 +0800 schrieb Peter Chen:
> On Fri, Aug 14, 2015 at 10:27:33AM +0200, Lucas Stach wrote:
> > Am Freitag, den 14.08.2015, 08:25 + schrieb Peter Chen:
> > >
> > > >
> > > > Am Freitag, den 14.08.2015, 13:47 +0800 schrieb Peter Chen:
> > > > > It causes the i.m
On Fri, Aug 14, 2015 at 10:27:33AM +0200, Lucas Stach wrote:
> Am Freitag, den 14.08.2015, 08:25 + schrieb Peter Chen:
> >
> > >
> > > Am Freitag, den 14.08.2015, 13:47 +0800 schrieb Peter Chen:
> > > > It causes the i.mx6sx sdb board hang when using nfsroot during boots
> > > > up at v4.2-r
The BNX2 firmware has already been updated to the latest version
available from Dell.
root@debian:~# ethtool -i eth0 | grep firmware
firmware-version: 6.4.5 bc 5.2.3 NCSI 2.0.11
2015-08-14 3:30 GMT+02:00 Michael Chan :
> +netdev and Harish who is the current maintainer of bnx2 at qlogic.
>
> The
KASan error report:
==
BUG: KASan: out of bounds access in iwl_init_sband_channels+0x207/0x260
[iwlwifi] at addr 8800c2d0aac8
Read of size 4 by task modprobe/329
==
On Fri, 2015-08-14 at 11:00 +0200, Michal Kubecek wrote:
> > but should I have expected this?
>
> It might have something to do with the fact that is_power_of_2()
> being an inline function, perhaps with this compiler option it
> translates to something that can't be used in the context
> BUIL
On Fri, Aug 14, 2015 at 10:29:04AM +0200, Johannes Berg wrote:
> +linux-kernel
>
> > +#define DECLARE_EWMA(name, _factor, _weight)> > > >
> > > \
> > +> > struct ewma_##name {> > > > > >
> > > \
> > +> > > unsigned long interna
Hi,
Thank you for taking your time.
Please let me explain these with code samples on gist.
I can not describe and arrange it well, sorry.
normal socket nflog sample:
https://gist.github.com/chamaken/dc0f80c14862e8061c06/raw/2d6da8fff31ef61af77e68713fdb1d71978746a6/nflog.c
set iptables
>
> Am Freitag, den 14.08.2015, 13:47 +0800 schrieb Peter Chen:
> > It causes the i.mx6sx sdb board hang when using nfsroot during boots
> > up at v4.2-rc6.
> >
> > This reverts commit 8fff755e9f8d0f70a595e79f248695ce6aef5cc3.
> >
> > Cc: netdev@vger.kernel.org
> > Cc: Fugang Duan
> > Cc: shawn
Hi Andrew
Answers inline...
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Thursday, August 13, 2015 6:02 PM
> To: Philip Downey
> Cc: David Miller; kuz...@ms2.inr.ac.ru; jmor...@namei.org; yoshfuji@linux-
> ipv6.org; ka...@trash.net; linux-ker...@vger.kernel.org;
The dma_mapping_error() function returns true or false. We should
return -ENOMEM if it there is a dma mapping error.
Signed-off-by: Dan Carpenter
diff --git a/drivers/net/ethernet/micrel/ks8842.c
b/drivers/net/ethernet/micrel/ks8842.c
index f78909a..09d2e16 100644
--- a/drivers/net/ethernet/mi
Sorry for the duplication - I responded in a similar manner before seeing this.
Thanks
Philip
> -Original Message-
> From: Thadeu Lima de Souza Cascardo [mailto:casca...@redhat.com]
> Sent: Thursday, August 13, 2015 7:08 PM
> To: Andrew Lunn
> Cc: Philip Downey; David Miller; kuz...@ms2.
On Thu, Aug 13, 2015 at 09:20:04PM -0700, David Miller wrote:
> From: Guillaume Nault
> Date: Thu, 13 Aug 2015 15:28:02 +0200
>
> > This series allows PPP devices to reside in a different netns from the
> > PPP unit/channels. Packets only cross netns boundaries when they're
> > transmitted betwee
PPP devices may get automatically unregistered when their network
namespace is getting removed. This happens if the ppp control plane
daemon (e.g. pppd) exits while it is the last user of this namespace.
This leads to several races:
* ppp_exit_net() may destroy the per namespace idr (pn->units_
On Thu, Aug 13, 2015 at 12:11:57PM -0700, Stephen Hemminger wrote:
> On Thu, 13 Aug 2015 20:40:37 +0200
> Jesper Dangaard Brouer wrote:
>
> > On Thu, 13 Aug 2015 10:49:50 -0700
> > Stephen Hemminger wrote:
> >
> > > On Thu, 13 Aug 2015 19:01:05 +0200
> > > Phil Sutter wrote:
> > >
> > > > Up
+linux-kernel
> +#define DECLARE_EWMA(name, _factor, _weight)>> > >
> > \
> +>> struct ewma_##name {> > > > > >
> > \
> +>> > unsigned long internal;> > > > >
> > \
> +>> };> >
Am Freitag, den 14.08.2015, 08:25 + schrieb Peter Chen:
>
> >
> > Am Freitag, den 14.08.2015, 13:47 +0800 schrieb Peter Chen:
> > > It causes the i.mx6sx sdb board hang when using nfsroot during boots
> > > up at v4.2-rc6.
> > >
> > > This reverts commit 8fff755e9f8d0f70a595e79f248695ce6aef5
1 - 100 of 113 matches
Mail list logo