When cross-compiling the bpf sample map_perf_test for aarch64, I find that
__NR_getpgrp is undefined. This causes build errors. Fix it by allowing the
deprecated syscall in the sample.
Signed-off-by: Joel Fernandes
---
samples/bpf/map_perf_test_user.c | 2 ++
1 file changed, 2 insertions(+)
dif
On Thu, 2017-08-03 at 21:33 -0700, Florian Fainelli wrote:
> During testing with a background iperf pushing 1Gbit/sec worth of
> traffic and having both ifconfig and ethtool collect statistics, we
> could see quite frequent deadlocks. Convert the often accessed DSA slave
> network devices statistic
Fri, Aug 04, 2017 at 12:39:02AM CEST, arka...@mellanox.com wrote:
>
>[...]
>
>>> Now we have the "offload" read only flag, which is good to inform about
>>> a successfully programmed hardware, but adds another level of complexity
>>> to understand the interaction with the hardware.
>>>
>>> I think
Update BPF comments to accurately reflect XDP usage.
Fixes: 97f91a7cf04ff ("bpf: add bpf_redirect_map helper routine")
Reported-by: Alexei Starovoitov
Signed-off-by: John Fastabend
---
include/uapi/linux/bpf.h | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git
On 08/03/2017 09:22 PM, Tom Herbert wrote:
> On Thu, Aug 3, 2017 at 4:37 PM, John Fastabend
> wrote:
>> Recently we added a new map type called dev map used to forward XDP
>> packets between ports (6093ec2dc313). This patches introduces a
>> similar notion for sockets.
>>
>> A sockmap allows user
On 08/03/2017 09:22 PM, Tom Herbert wrote:
> On Thu, Aug 3, 2017 at 4:37 PM, John Fastabend
> wrote:
>> Recently we added a new map type called dev map used to forward XDP
>> packets between ports (6093ec2dc313). This patches introduces a
>> similar notion for sockets.
>>
>> A sockmap allows user
From: Willem de Bruijn
Date: Thu, 3 Aug 2017 16:29:36 -0400
> Introduce zerocopy socket send flag MSG_ZEROCOPY. This extends the
> shared page support (SKBTX_SHARED_FRAG) from sendpage to sendmsg.
> Implement the feature for TCP initially, as large writes benefit
> most.
Looks great, series app
During testing with a background iperf pushing 1Gbit/sec worth of
traffic and having both ifconfig and ethtool collect statistics, we
could see quite frequent deadlocks. Convert the often accessed DSA slave
network devices statistics to per-cpu 64-bit statistics to remove these
deadlocks and provid
On Thu, Aug 3, 2017 at 4:37 PM, John Fastabend wrote:
> Recently we added a new map type called dev map used to forward XDP
> packets between ports (6093ec2dc313). This patches introduces a
> similar notion for sockets.
>
> A sockmap allows users to add participating sockets to a map. When
> socke
Thanks a ton, Dave!
> -Original Message-
> From: David Miller [mailto:da...@davemloft.net]
> Sent: Thursday, August 03, 2017 11:10 PM
> To: Salil Mehta
> Cc: Zhuangyuzeng (Yisen); huangdaode; lipeng (Y);
> mehta.salil@gmail.com; netdev@vger.kernel.org; linux-
> ker...@vger.kernel.org;
Most TCP congestion controls are using identical logic to undo
cwnd except BBR. This patch consolidates these similar functions
to the one used currently by Reno and others.
Suggested-by: Neal Cardwell
Signed-off-by: Yuchung Cheng
Signed-off-by: Neal Cardwell
---
net/ipv4/tcp_bic.c | 14
Using ssthresh to revert cwnd is less reliable when ssthresh is
bounded to 2 packets. This patch uses an existing variable in TCP
"prior_cwnd" that snapshots the cwnd right before entering fast
recovery and RTO recovery in Reno. This fixes the issue discussed
in netdev thread: "A buggy behavior fo
This patch series consolidate similar cwnd undo functions
implemented by various congestion control by using existing
tcp socket state variable. The first patch fixes a corner
case in of cwnd undo in Reno and HTCP. Since the bug has
existed for many years and is very minor, we consider this
patch s
On Thu, Aug 3, 2017 at 7:08 PM, Alexei Starovoitov wrote:
> On 8/3/17 6:29 AM, Yonghong Song wrote:
>>
>> @@ -578,8 +596,9 @@ static void perf_syscall_enter(void *ignore, struct
>> pt_regs *regs, long id)
>> if (!sys_data)
>> return;
>>
>> + prog = READ_ONCE(sys_data-
Good Day,
My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from
part of our Jackpot Lottery of 50 Million Dollars, respond with your details
for claims.
We await your earliest response and God Bless you.
Friedrich And Annand Mayrhofer.
---
This email has been checked f
On 8/3/17 6:29 AM, Yonghong Song wrote:
@@ -578,8 +596,9 @@ static void perf_syscall_enter(void *ignore, struct pt_regs
*regs, long id)
if (!sys_data)
return;
+ prog = READ_ONCE(sys_data->enter_event->prog);
head = this_cpu_ptr(sys_data->enter_event->perf_e
Hi Yuchung,
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Yuchung-Cheng/tcp-fix-cwnd-undo-in-Reno-and-HTCP-congestion-controls/20170804-085255
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
Using ssthresh to revert cwnd is less reliable when ssthresh is
bounded to 2 packets. This patch uses an existing variable in TCP
"prior_cwnd" that snapshots the cwnd right before entering fast
recovery and RTO recovery in Reno. This fixes the issue discussed
in netdev thread: "A buggy behavior fo
Most TCP congestion controls are using identical logic to undo
cwnd except BBR. This patch consolidates these similar functions
to the one used currently by Reno and others.
Suggested-by: Neal Cardwell
Signed-off-by: Yuchung Cheng
Signed-off-by: Neal Cardwell
---
net/ipv4/tcp_bic.c | 14
Found this while testing mtu, queue and buffer size changes
in 4.13, but the problem goes back much further. The addition
of NAPI makes the race into a crash. Before that there was just
a risk of sending on an uninitialized channel.
Stephen Hemminger (1):
netvsc: fix race on sub channel creation
The existing sub channel code did not wait for all the sub-channels
to completely initialize. This could lead to race causing crash
in napi_netif_del() from bad list. The existing code would send
an init message, then wait only for the initial response that
the init message was received. It thought
Inexplicably, commit f381bf6d82f0 ("MIPS: Add support for eBPF JIT.")
lost a file somewhere on its path to Linus' tree. Add back the
missing ebpf_jit.c so that we can build with CONFIG_BPF_JIT selected.
This version of ebpf_jit.c is identical to the original except for two
minor change need to re
From: Florian Fainelli
Date: Thu, 3 Aug 2017 16:20:04 -0700
> On 08/03/2017 04:16 PM, Stephen Hemminger wrote:
>> On Fri, 4 Aug 2017 00:07:45 +0100
>> "Jianming.qiao" wrote:
>>
>>> static const struct bcm_sysport_stats bcm_sysport_gstrings_stats[] = {
>>> /* general stats */
>>> - STAT_
On Thu, 3 Aug 2017, Tom Herbert wrote:
Add a doc in Documentation/networking
Signed-off-by: Tom Herbert
---
Documentation/networking/ulp.txt | 82
1 file changed, 82 insertions(+)
create mode 100644 Documentation/networking/ulp.txt
diff --git a/Document
Good Day,
My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from
part of our Jackpot Lottery of 50 Million Dollars, respond with your details
for claims.
We await your earliest response and God Bless you.
Friedrich And Annand Mayrhofer.
---
This email has been checked f
This program binds a program to a cgroup and then matches hard
coded IP addresses and adds these to a sockmap.
This will receive messages from the backend and send them to
the client.
client:X <---> frontend:1 client:X <---> backend:80
To keep things simple this is only designed for 1:1
A couple fixes to new skb_send_sock infrastructure. However, no users
currently exist for this code (adding user in next handful of patches)
so it should not be possible to trigger a panic with in-kernel code.
Fixes: 306b13eb3cf9 ("proto_ops: Add locked held versions of sendmsg and
sendpage")
Sig
Add some useful skb to sk routines to fine ports on a connected
socket.
This is for testing, we may prefer to put sk in bpf sk_buff
representation and access these fields directly. Similar to
sock ops ctx access.
Signed-off-by: John Fastabend
---
include/uapi/linux/bpf.h |2 ++
net/core/fil
Recently we added a new map type called dev map used to forward XDP
packets between ports (6093ec2dc313). This patches introduces a
similar notion for sockets.
A sockmap allows users to add participating sockets to a map. When
sockets are added to the map enough context is stored with the
map entr
To complete the sendmsg_locked and sendpage_locked implementation add
the hooks for af_inet6 as well.
Signed-off-by: John Fastabend
---
net/ipv6/af_inet6.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 0a7c740..3b58ee7 100644
--- a/net/i
It is useful to allow strparser to init sockets before the read_sock
callback has been established.
Signed-off-by: John Fastabend
---
net/strparser/strparser.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c
i
This series implements socket redirect for BPF using XDP redirect
as a model. The user flow and internals are similar in many ways.
First we add a new map type called, sockmap. A sockmap holds
references to sock structs. Next a bpf helper call is added to
support redirect between sockets,
bp
On Fri, Jul 28, 2017 at 03:07:03PM -0700, Alexandru Gagniuc wrote:
> Before the GMAC on the Anarion chip can be used, the PHY interface
> selection must be configured with the DWMAC block in reset.
>
> This layer covers a block containing only two registers. Although it
> is possible to model this
On Thu, 3 Aug 2017, Tom Herbert wrote:
Generalize the TCP ULP infrastructure recently introduced to support
kTLS. This adds a SO_ULP socket option and creates new fields in
sock structure for ULP ops and ULP data. Also, the interface allows
additional per ULP parameters to be set so that a ULP
On Mon, Jul 31, 2017 at 08:11:00AM -0700, Alex wrote:
> Hi David,
>
> On 07/28/2017 07:01 PM, David Miller wrote:
> > From: Alexandru Gagniuc
> > Date: Fri, 28 Jul 2017 15:07:03 -0700
> >
> > > Before the GMAC on the Anarion chip can be used, the PHY interface
> > > selection must be configured
On 08/03/2017 04:16 PM, Stephen Hemminger wrote:
> On Fri, 4 Aug 2017 00:07:45 +0100
> "Jianming.qiao" wrote:
>
>> static const struct bcm_sysport_stats bcm_sysport_gstrings_stats[] = {
>> /* general stats */
>> -STAT_NETDEV(rx_packets),
>> -STAT_NETDEV(tx_packets),
>> -STAT_NE
On Fri, 4 Aug 2017 00:07:45 +0100
"Jianming.qiao" wrote:
> static const struct bcm_sysport_stats bcm_sysport_gstrings_stats[] = {
> /* general stats */
> - STAT_NETDEV(rx_packets),
> - STAT_NETDEV(tx_packets),
> - STAT_NETDEV(rx_bytes),
> - STAT_NETDEV(tx_bytes),
> + S
When using Broadcom Systemport device in 32bit Platform, ifconfig can
only report up to 4G tx,rx status, which will be wrapped to 0 when the
number of incoming or outgoing packets exceeds 4G, only taking
around 2 hours in busy network environment (such as streaming).
Therefore, it makes hard for ne
On Tue, 1 Aug 2017 17:46:09 +0200
Casey Callendrello wrote:
> When ip netns {add|delete} is first run, it bind-mounts /var/run/netns
> on top of itself, then marks it as shared. However, if there are already
> bind-mounts in the directory from other tools, these would not be
> propagated. Fix th
On Thu, 3 Aug 2017 17:00:51 +0200
Phil Sutter wrote:
> - CONTROL has to come last, otherwise 'index' applies to gact and not
> simple itself.
> - Man page wasn't updated to reflect syntax changes.
>
> Signed-off-by: Phil Sutter
Applid, thanks Phil
On Tue, 1 Aug 2017 18:36:11 +0200
Phil Sutter wrote:
> Both functions take the desired address family as a parameter. So using
> that to notify the user what address family was expected is correct,
> unlike using dst->family which will tell the user only what address
> family was specified.
>
>
On Wed, 2 Aug 2017 14:57:56 +0200
Phil Sutter wrote:
> bpf_parse_string() will now correctly handle:
>
> - Extraneous whitespace,
> - OPs on multiple lines and
> - overlong file names.
>
> The added feature of allowing to have OPs on multiple lines (like e.g.
> tcpdump prints them) is rather a
On 8/3/17 4:41 PM, David Miller wrote:
> But unlike the percpu flag, don't we want to somehow propagate offload
> state to the user?
It's a per nexthop flag. For IPv4 it is tracked in fib_nh.nh_flags.
Perhaps it is time for rt6_info to have nh_flags as well.
>
> I'm sure whatever we decide Jiri
On Tue, 1 Aug 2017 18:54:33 +0200
Florian Lehner wrote:
> - if (a->family == AF_INET) {
> - if (a->data[0] == 0) {
> + if (a->data[0] == 0) {
> buf[0] = '*';
> buf[1] = 0;
This won't work right with IPv6 you need to look at the whol
On Tue, 1 Aug 2017 19:27:47 +0200
Phil Sutter wrote:
> Back in the days when RTM_NEWLINK wasn't yet implemented, people had to
> rely upon kernel modules to create (virtual) interfaces for them. The
> number of those was usually defined via module parameter, and a sane
> default value was chosen
From: David Ahern
Date: Thu, 3 Aug 2017 16:39:54 -0600
> On 8/3/17 4:36 PM, David Miller wrote:
>> From: Jiri Pirko
>> Date: Thu, 3 Aug 2017 13:28:10 +0200
>>
>>> This set adds support for IPv6 unicast routes offload.
>>
>> Series applied, thanks.
>>
>
> I take it you disagree with my comme
On 8/3/17 4:36 PM, David Miller wrote:
> From: Jiri Pirko
> Date: Thu, 3 Aug 2017 13:28:10 +0200
>
>> This set adds support for IPv6 unicast routes offload.
>
> Series applied, thanks.
>
I take it you disagree with my comment on patch 10 about the RTF_OFFLOAD
flag? that is a nexthop flag and
[...]
>> Now we have the "offload" read only flag, which is good to inform about
>> a successfully programmed hardware, but adds another level of complexity
>> to understand the interaction with the hardware.
>>
>> I think iproute2 is getting more and more confusing. From what I
>> understood, re
From: Neal Cardwell
Date: Thu, 3 Aug 2017 09:19:51 -0400
> This patch series is a bug fix for a TCP loss recovery performance bug
> reported independently in recent netdev threads:
>
> (i) July 26, 2017: netdev thread "TCP fast retransmit issues"
> (ii) July 26, 2017: netdev thread:
>
From: Jiri Pirko
Date: Thu, 3 Aug 2017 13:28:10 +0200
> This set adds support for IPv6 unicast routes offload.
Series applied, thanks.
From: Aviad Krawczyk
Date: Thu, 3 Aug 2017 17:54:09 +0800
> +static int alloc_cmd_buf(struct hinic_api_cmd_chain *chain,
> + struct hinic_api_cmd_cell *cell, int cell_idx)
> +{
> + struct hinic_hwif *hwif = chain->hwif;
> + struct pci_dev *pdev = hwif->pdev;
> + s
From: Aviad Krawczyk
Date: Thu, 3 Aug 2017 17:54:08 +0800
> +static int get_capability(struct hinic_hwdev *hwdev,
> + struct hinic_dev_cap *dev_cap)
> +{
> + struct hinic_hwif *hwif = hwdev->hwif;
> + struct hinic_cap *nic_cap = &hwdev->nic_cap;
> + int num_aeqs,
From: Thomas Petazzoni
Date: Thu, 3 Aug 2017 10:41:54 +0200
> So far, the mvpp2 driver was using an hrtimer to handle TX
> completion. This patch series adds support for using TX interrupts
> (for each CPU) on PPv2.2, the variant of the IP used on Marvell Armada
> 7K/8K.
>
> Dave: this version
On Thu, 3 Aug 2017 16:49:11 -0500
Bjorn Helgaas wrote:
> On Thu, Jul 20, 2017 at 02:41:01PM -0700, Roland Dreier wrote:
> > From: Roland Dreier
> >
> > Add one more variant of the 82599 plus the device IDs for X540 and X550
> > variants. Intel has confirmed that none of these devices does peer
From: Romain Perier
Date: Thu, 3 Aug 2017 09:49:03 +0200
> This operation is required for handling ioctl commands like SIOCGMIIREG,
> when debugging MDIO registers from userspace.
>
> This commit adds support for this operation.
>
> Signed-off-by: Romain Perier
Applied, thanks.
From: Xin Long
Date: Thu, 3 Aug 2017 14:13:46 +0800
> After commit c2ed1880fd61 ("net: ipv6: check route protocol when
> deleting routes"), ipv6 route checks rt protocol when trying to
> remove a rt entry.
>
> It introduced a side effect causing 'ip -6 route flush cache' not
> to work well. Whe
From: Salil Mehta
Date: Wed, 2 Aug 2017 16:59:44 +0100
> This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem
> 3)
> Ethernet driver for hip08 family of SoCs and future upcoming SoCs.
...
Series applied, thanks.
From: Intiyaz Basha
Moving PF module param console_bitmask to lio_main.c for consistency.
Signed-off-by: Intiyaz Basha
Signed-off-by: Felix Manlunas
---
drivers/net/ethernet/cavium/liquidio/lio_main.c | 15 +++
drivers/net/ethernet/cavium/liquidio/octeon_console.c | 14 -
On Thu, Jul 20, 2017 at 02:41:01PM -0700, Roland Dreier wrote:
> From: Roland Dreier
>
> Add one more variant of the 82599 plus the device IDs for X540 and X550
> variants. Intel has confirmed that none of these devices does peer-to-peer
> between functions. The X540 and X550 have added ACS cap
On Thu, Aug 3, 2017 at 1:21 PM, John Fastabend wrote:
> On 07/28/2017 04:22 PM, Tom Herbert wrote:
>> Add new proto_ops sendmsg_locked and sendpage_locked that can be
>> called when the socket lock is already held. Correspondingly, add
>> kernel_sendmsg_locked and kernel_sendpage_locked as front e
if the NIC fails to validate the checksum on TCP/UDP, and validation of IP
checksum is successful, the driver subtracts the pseudo-header checksum
from the value obtained by the hardware and sets CHECKSUM_COMPLETE. Don't
do that if protocol is IPPROTO_SCTP, otherwise CRC32c validation fails.
V2: d
From: Willem de Bruijn
Introduce zerocopy socket send flag MSG_ZEROCOPY. This extends the
shared page support (SKBTX_SHARED_FRAG) from sendpage to sendmsg.
Implement the feature for TCP initially, as large writes benefit
most.
On a send call with MSG_ZEROCOPY, the kernel pins user pages and
link
From: Willem de Bruijn
The kernel supports zerocopy sendmsg in virtio and tap. Expand the
infrastructure to support other socket types. Introduce a completion
notification channel over the socket error queue. Notifications are
returned with ee_origin SO_EE_ORIGIN_ZEROCOPY. ee_errno is 0 to avoid
From: Willem de Bruijn
The send call ignores unknown flags. Legacy applications may already
unwittingly pass MSG_ZEROCOPY. Continue to ignore this flag unless a
socket opts in to zerocopy.
Introduce socket option SO_ZEROCOPY to enable MSG_ZEROCOPY processing.
Processes can also query this socket
From: Willem de Bruijn
Add sock_omalloc and sock_ofree to be able to allocate control skbs,
for instance for looping errors onto sk_error_queue.
The transmit budget (sk_wmem_alloc) is involved in transmit skb
shaping, most notably in TCP Small Queues. Using this budget for
control packets would
From: Willem de Bruijn
Enable support for MSG_ZEROCOPY to the TCP stack. TSO and GSO are
both supported. Only data sent to remote destinations is sent without
copying. Packets looped onto a local destination have their payload
copied to avoid unbounded latency.
Tested:
A 10x TCP_STREAM between
From: Willem de Bruijn
Introduce regression test for msg_zerocopy feature. Send traffic from
one process to another with and without zerocopy.
Evaluate tcp, udp, raw and packet sockets, including variants
- udp: corking and corking with mixed copy/zerocopy calls
- raw: with and without hdrincl
-
From: Willem de Bruijn
Refine skb_copy_ubufs to support compound pages. With upcoming TCP
zerocopy sendmsg, such fragments may appear.
The existing code replaces each page one for one. Splitting each
compound page into an independent number of regular pages can result
in exceeding limit MAX_SKB_
From: Willem de Bruijn
Bound the number of pages that a user may pin.
Follow the lead of perf tools to maintain a per-user bound on memory
locked pages commit 789f90fcf6b0 ("perf_counter: per user mlock gift")
Signed-off-by: Willem de Bruijn
---
include/linux/sched/user.h | 3 ++-
include/li
From: Willem de Bruijn
Prepare the datapath for refcounted ubuf_info. Clone ubuf_info with
skb_zerocopy_clone() wherever needed due to skb split, merge, resize
or clone.
Split skb_orphan_frags into two variants. The split, merge, .. paths
support reference counted zerocopy buffers, so do not do
From: Willem de Bruijn
In the simple case, each sendmsg() call generates data and eventually
a zerocopy ready notification N, where N indicates the Nth successful
invocation of sendmsg() with the MSG_ZEROCOPY flag on this socket.
TCP and corked sockets can cause send() calls to append new data t
On 5/18/17 10:24 PM, David Ahern wrote:
> On 5/18/17 3:02 AM, Daniel Borkmann wrote:
>> So effectively this means libmnl has to be used for new stuff, noone
>> has time to do the work to convert the existing tooling over (which
>> by itself might be a challenge in testing everything to make sure
>>
Den 03. aug. 2017 20:04, skrev Florian Fainelli:
On 08/03/2017 02:45 AM, Egil Hjelmeland wrote:
In lan9303_get_ethtool_stats: Get rid of 0x400 constant magic
by using new lan9303_read_switch_reg() inside loop.
Reduced scope of two variables.
Signed-off-by: Egil Hjelmeland
---
drivers/net/dsa
On 07/28/2017 04:22 PM, Tom Herbert wrote:
> Add new proto_ops sendmsg_locked and sendpage_locked that can be
> called when the socket lock is already held. Correspondingly, add
> kernel_sendmsg_locked and kernel_sendpage_locked as front end
> functions.
>
> These functions will be used in zero pr
Den 03. aug. 2017 20:06, skrev Florian Fainelli:
On 08/03/2017 02:45 AM, Egil Hjelmeland wrote:
Simplify usage of lan9303_enable_packet_processing,
lan9303_disable_packet_processing()
Signed-off-by: Egil Hjelmeland
Reviewed-by: Florian Fainelli
took a little while to figure out that we are
From: Intiyaz Basha
There's supposed to be a one-to-one correspondence between the 18 macros
that #define the OCT_DEV states (in octeon_device.h) and the strings in the
oct_dev_state_str array, but there are only 14 strings in the array.
Add the missing strings (so they become 18 in total), and
On 07/28/2017 04:22 PM, Tom Herbert wrote:
> Add skb_send_sock to send an skbuff on a socket within the kernel.
> Arguments include an offset so that an skbuf might be sent in mulitple
> calls (e.g. send buffer limit is hit).
>
> Signed-off-by: Tom Herbert
> ---
[...]
> +/* Send skb data on a s
On 07/28/2017 04:22 PM, Tom Herbert wrote:
> Add new proto_ops sendmsg_locked and sendpage_locked that can be
> called when the socket lock is already held. Correspondingly, add
> kernel_sendmsg_locked and kernel_sendpage_locked as front end
> functions.
>
> These functions will be used in zero pr
On 08/03/2017 11:11 AM, Andrew Lunn wrote:
> On Thu, Aug 03, 2017 at 10:30:56AM -0700, Florian Fainelli wrote:
>> On 08/02/2017 04:49 PM, David Miller wrote:
>>> From: Florian Fainelli
>>> Date: Tue, 1 Aug 2017 15:00:36 -0700
>>>
DSA slave network devices maintain a pair of bytes and packets
Generalize the TCP ULP infrastructure recently introduced to support
kTLS. This adds a SO_ULP socket option and creates new fields in
sock structure for ULP ops and ULP data. Also, the interface allows
additional per ULP parameters to be set so that a ULP can be pushed
and operations started in one
Add a doc in Documentation/networking
Signed-off-by: Tom Herbert
---
Documentation/networking/ulp.txt | 82
1 file changed, 82 insertions(+)
create mode 100644 Documentation/networking/ulp.txt
diff --git a/Documentation/networking/ulp.txt b/Documentatio
inet_common.h has a dependency on sock.h so it should include that.
Signed-off-by: Tom Herbert
---
include/net/inet_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/net/inet_common.h b/include/net/inet_common.h
index f39ae697347f..df0119a317aa 100644
--- a/include/net/inet_
Fix TCP and TLS to use the newer ULP infrastructure in sockets.
Tested-by: Dave Watson
Signed-off-by: Tom Herbert
---
Documentation/networking/tls.txt | 6 +-
include/net/inet_connection_sock.h | 4 --
include/net/tcp.h | 25 ---
include/net/tls.h |
Generalize the ULP infrastructure that was recently introduced to
support kTLS. This adds a SO_ULP socket option and creates new fields in
sock structure for ULP ops and ULP data. Also, the interface allows
additional per ULP parameters to be set so that a ULP can be pushed
and operations started i
On Thu, Aug 3, 2017 at 7:08 PM, Oliver Hartkopp wrote:
> Hi Julien,
>
> On 08/03/2017 05:54 PM, Julien Fortin wrote:
>>
>> From: Julien Fortin
>
>
> what about
>
> link_veth.c
> iplink_vcan.c
> iplink_vxcan.c
>
> ??
Hello Oliver,
None of these files print any link info data, see struct link_uti
On Thu, Aug 03, 2017 at 10:30:56AM -0700, Florian Fainelli wrote:
> On 08/02/2017 04:49 PM, David Miller wrote:
> > From: Florian Fainelli
> > Date: Tue, 1 Aug 2017 15:00:36 -0700
> >
> >> DSA slave network devices maintain a pair of bytes and packets counters
> >> for each directions, but these
On 08/01/2017 07:39 AM, Andrew Lunn wrote:
> On Tue, Jul 25, 2017 at 03:01:39PM +0100, Russell King - ARM Linux wrote:
>> Hi,
>>
>> This patch series introduces generic support for SFP sockets found on
>> various Marvell based platforms. The idea here is to provide common
>> SFP socket support whi
On 08/03/2017 02:45 AM, Egil Hjelmeland wrote:
> lan9303_enable_packet_processing, lan9303_disable_packet_processing()
> Pass port number (0,1,2) as parameter instead of port offset.
> Because other functions in the module pass port numbers.
> And to enable simplifications in following patch.
>
>
On 08/03/2017 02:45 AM, Egil Hjelmeland wrote:
> The lan9303_enable_packet_processing, lan9303_disable_packet_processing
> functions operate on port, so the names should reflect that.
> And to align with lan9303_disable_processing(), rename:
>
> lan9303_enable_packet_processing -> lan9303_enable_p
Please backport the upstream patch to the stable trees 4.4.x and 4.9.y:
a68491f895a937778bb25b0795830797239de31f net: cdc_mbim: apply "NDP to
end" quirk to HP lt4132
Without this patch HP lt4132 LTE/HSPA+ 4G Module (03f0:a31d) is useless.
Ubuntu bug report:
https://bugs.launchpad.net/ubuntu/+
On 08/03/2017 02:45 AM, Egil Hjelmeland wrote:
> Simplify usage of lan9303_enable_packet_processing,
> lan9303_disable_packet_processing()
>
> Signed-off-by: Egil Hjelmeland
Reviewed-by: Florian Fainelli
took a little while to figure out that we are utilizing fall through of
the switch/case st
On 08/03/2017 02:45 AM, Egil Hjelmeland wrote:
> In lan9303_get_ethtool_stats: Get rid of 0x400 constant magic
> by using new lan9303_read_switch_reg() inside loop.
> Reduced scope of two variables.
>
> Signed-off-by: Egil Hjelmeland
> ---
> drivers/net/dsa/lan9303-core.c | 26 --
On 08/03/2017 02:45 AM, Egil Hjelmeland wrote:
> Will be used instead of '3' in upcomming patches.
>
> Signed-off-by: Egil Hjelmeland
Reviewed-by: Florian Fainelli
--
Florian
On 08/02/2017 04:49 PM, David Miller wrote:
> From: Florian Fainelli
> Date: Tue, 1 Aug 2017 15:00:36 -0700
>
>> DSA slave network devices maintain a pair of bytes and packets counters
>> for each directions, but these are not 64-bit capable. Re-use
>> pcpu_sw_netstats which contains exactly wha
On 08/03/2017 06:29 PM, Yonghong Song wrote:
Signed-off-by: Yonghong Song
Acked-by: Daniel Borkmann
Hi Julien,
On 08/03/2017 05:54 PM, Julien Fortin wrote:
From: Julien Fortin
what about
link_veth.c
iplink_vcan.c
iplink_vxcan.c
??
Regards,
Oliver
This patch series adds json support to 'ip [-details] link show [dev DEV]'
Each patch describes the json schema it adds and provides some ex
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 transceivers are capable of.
>
> Signed-off-by: Franklin
From: Xin Long
Date: Thu, 3 Aug 2017 15:42:08 +0800
> As we know, typedef is suggested not to use in kernel, even checkpatch.pl
> also gives warnings about it. Now sctp is using it for many structures.
>
> All this kind of typedef's using should be removed. This patchset is the
> part 4 to remo
On 8/3/17 5:28 AM, Jiri Pirko wrote:
> diff --git a/include/uapi/linux/ipv6_route.h b/include/uapi/linux/ipv6_route.h
> index d496c02..33e2a57 100644
> --- a/include/uapi/linux/ipv6_route.h
> +++ b/include/uapi/linux/ipv6_route.h
> @@ -35,6 +35,7 @@
> #define RTF_PREF(pref) ((pref) << 27)
>
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 for any CAN device therefore it
exists as
its own document.
>>>
1 - 100 of 300 matches
Mail list logo