Introduce a ingress frame gate control flow action.
Tc gate action does the work like this:
Assume there is a gate allow specified ingress frames can pass at
specific time slot, and also drop at specific time slot. Tc filter
chooses the ingress frames, and tc gate action would specify what slot
doe
This patch is to add the man page for the tc gate action.
Signed-off-by: Po Liu
---
man/man8/tc-gate.8 | 123 +
1 file changed, 123 insertions(+)
create mode 100644 man/man8/tc-gate.8
diff --git a/man/man8/tc-gate.8 b/man/man8/tc-gate.8
new file mode
Hi David, Stephen,
> -Original Message-
> From: David Miller
> Sent: 2020年5月2日 7:09
> To: Po Liu
> Cc: linux-ker...@vger.kernel.org; netdev@vger.kernel.org;
> vinicius.go...@intel.com; v...@buslov.dev; Claudiu Manoil
> ; Vladimir Oltean ;
> Alexandru Marginean ;
> michael.c...@broadcom.c
Hello,
syzbot found the following crash on:
HEAD commit:8999dc89 net/x25: Fix null-ptr-deref in x25_disconnect
git tree: net
console output: https://syzkaller.appspot.com/x/log.txt?x=1600444010
kernel config: https://syzkaller.appspot.com/x/.config?x=b7a70e992f2f9b68
dashboard link
On Thu, Apr 30, 2020 at 04:37:14PM +0200, Arnd Bergmann wrote:
> On Thu, Apr 30, 2020 at 7:22 AM Leon Romanovsky wrote:
> > On Tue, Apr 28, 2020 at 11:23:47PM +0200, Arnd Bergmann wrote:
> > > Moving the mlx5_ifc_query_qp_out_bits structure on the stack was a bit
> > > excessive and now causes the
This patch reverts the folowing commits:
commit 064ff66e2bef84f1153087612032b5b9eab005bd
"bonding: add missing netdev_update_lockdep_key()"
commit 53d374979ef147ab51f5d632dfe20b14aebeccd0
"net: avoid updating qdisc_xmit_lock_key in netdev_update_lockdep_key()"
commit 1f26c0d3d24125992ab0026b0dab
After commit b3e80d44f5b1
("bonding: fix lockdep warning in bond_get_stats()") the dynamic
key is no longer necessary, as we compute nest level at run-time.
So, we can just remove it to save some lockdep key entries.
Test commands:
ip link add bond0 type bond
ip link add bond1 type bond
ip link
syzbot has been complaining about low MAX_LOCKDEP_KEYS for a
long time, it is mostly because we register 4 dynamic keys per
network device.
This patchset reduces the number of dynamic lockdep keys from
4 to 1 per netdev, by reverting to the previous static keys,
except for addr_list_lock which sti
On Fri, May 01, 2020 at 12:48:36PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> Today's linux-next merge of the net-next tree got a conflict in:
>
> drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c
>
> between commit:
>
> 8075411d93b6 ("net/mlx5: DR, On creation set CQ's arm_db member
On Sat, May 2, 2020 at 12:36 AM Taehee Yoo wrote:
>
> On Fri, 1 May 2020 at 15:02, Cong Wang wrote:
> >
>
> Hi Cong,
>
> > On Thu, Apr 30, 2020 at 12:40 AM Taehee Yoo wrote:
> > > > +static void vlan_dev_set_lockdep_one(struct net_device *dev,
> > > > +struct
Hi,
On 3.5.2020 4.34, Lauri Jakku wrote:
Hi,
On 3.5.2020 3.11, Lauri Jakku wrote:
On 3.5.2020 2.15, Heiner Kallweit wrote:
On 03.05.2020 00:42, Lauri Jakku wrote:
Hi,
On 2.5.2020 20.56, Lauri Jakku wrote:
Hi,
On 1.5.2020 22.12, Lauri Jakku wrote:
Hi,
On 19.4.2020 19.00, Heiner Kall
On Sat, May 2, 2020 at 2:19 AM Jamal Hadi Salim wrote:
>
> On 2020-05-02 4:48 a.m., Jamal Hadi Salim wrote:
> > On 2020-04-30 11:53 p.m., Cong Wang wrote:
>
> [..]
> >> Steps to reproduce this:
> >> ip li set dev dummy0 up
> >> tc qd add dev dummy0 ingress
> >> tc filter add dev dummy0 paren
Hi,
On 3.5.2020 3.11, Lauri Jakku wrote:
On 3.5.2020 2.15, Heiner Kallweit wrote:
On 03.05.2020 00:42, Lauri Jakku wrote:
Hi,
On 2.5.2020 20.56, Lauri Jakku wrote:
Hi,
On 1.5.2020 22.12, Lauri Jakku wrote:
Hi,
On 19.4.2020 19.00, Heiner Kallweit wrote:
On 19.04.2020 18:49, Lauri Jak
On 3.5.2020 2.15, Heiner Kallweit wrote:
On 03.05.2020 00:42, Lauri Jakku wrote:
Hi,
On 2.5.2020 20.56, Lauri Jakku wrote:
Hi,
On 1.5.2020 22.12, Lauri Jakku wrote:
Hi,
On 19.4.2020 19.00, Heiner Kallweit wrote:
On 19.04.2020 18:49, Lauri Jakku wrote:
Hi,
On 19.4.2020 18.09, Lauri J
From: Eric Dumazet
Date: Sat, 2 May 2020 09:24:19 -0700
> Doing the unmap stuff can be costly in IOMMU world, and freeing skb
> can be also expensive. Add to this that TCP stack might be called
> back (via skb->destructor()) to add more packets to the
> qdisc/device.
>
> So using effectively th
From: Matt Jolly
Date: Sun, 3 May 2020 01:52:28 +1000
> Add support for Dell Wireless 5816e to drivers/net/usb/qmi_wwan.c
>
> Signed-off-by: Matt Jolly
Bjørn, please review.
From: Andrew Lunn
Date: Sat, 2 May 2020 17:25:04 +0200
> Measurements of the MDIO bus have shown that driving the MDIO bus
> using interrupts is slow. Back to back MDIO transactions take about
> 90us, with 25us spent performing the transaction, and the remainder of
> the time the bus is idle.
>
From: Dmitry Yakunin
Date: Sat, 2 May 2020 18:34:42 +0300
> Fix bug introduced by commit b1f3e43dbfac ("inet_diag: add support for
> cgroup filter").
>
> Signed-off-by: Dmitry Yakunin
> Reported-by: syzbot+ee80f840d9bf68932...@syzkaller.appspotmail.com
> Reported-by: syzbot+13bef047dbfffa5cd..
My recent commit b6d49cab44b5 ("net: Make PTP-specific drivers depend on
PTP_1588_CLOCK")
exposes a missing dependency in defconfigs that select TI_CPTS without
selecting PTP_1588_CLOCK, leading to linker errors of the form:
drivers/net/ethernet/ti/cpsw.o: in function `cpsw_ndo_stop':
cpsw.c:(.te
From: Karsten Graul
Date: Sat, 2 May 2020 14:35:40 +0200
> +static void smc_llc_process_cli_add_link(struct smc_link_group *lgr)
> +{
> + struct smc_llc_qentry *qentry;
> +
> + qentry = smc_llc_flow_qentry_clr(&lgr->llc_flow_lcl);
> +
> + mutex_lock(&lgr->llc_conf_mutex);
> + smc
From: Maxim Petrov
Date: Sat, 2 May 2020 12:29:08 +0300
> The paranoidal pointer check in IRQ handler looks very strange - it
> really protects us only against bogus drivers which request IRQ line
> with null pointer dev_id. However, the code fragment is incorrect
> because the dev pointer is use
On Fri, May 01, 2020 at 07:28:14PM +, Saeed Mahameed wrote:
> On Fri, 2020-05-01 at 11:44 -0300, Jason Gunthorpe wrote:
> > On Thu, Apr 30, 2020 at 10:21:30PM +0300, Maor Gottlieb wrote:
> > > Hi Dave,
> > >
> > > This series is a combination of netdev and RDMA, so in order to
> > > avoid
> >
From:
Date: Fri, 1 May 2020 23:35:35 -0400
> From: Vincent Cheng
>
> This series adds adjust phase to the PTP Hardware Clock device interface.
>
> Some PTP hardware clocks have a write phase mode that has
> a built-in hardware filtering capability. The write phase mode
> utilizes a phase offs
On 03.05.2020 00:42, Lauri Jakku wrote:
> Hi,
>
>
>
> On 2.5.2020 20.56, Lauri Jakku wrote:
>> Hi,
>>
>> On 1.5.2020 22.12, Lauri Jakku wrote:
>>> Hi,
>>>
>>>
>>> On 19.4.2020 19.00, Heiner Kallweit wrote:
On 19.04.2020 18:49, Lauri Jakku wrote:
> Hi,
>
> On 19.4.2020 18.09, Lau
Update uapi headers.
Signed-off-by: Alexander Aring
---
include/uapi/linux/rpl.h | 48 +++
include/uapi/linux/rpl_iptunnel.h | 21 ++
2 files changed, 69 insertions(+)
create mode 100644 include/uapi/linux/rpl.h
create mode 100644 include/uapi/l
This patch adds support for rpl segment routing settings.
Example:
ip -n ns0 -6 route add 2001::3 encap rpl segs \
fe80::c8fe:beef:cafe:cafe,fe80::c8fe:beef:cafe:beef dev lowpan0
Signed-off-by: Alexander Aring
---
ip/iproute.c | 2 +-
ip/iproute_lwtunnel.c | 111 +
From: Qiushi Wu
In function nfp_abm_vnic_set_mac, pointer nsp is allocated by nfp_nsp_open.
But when nfp_nsp_has_hwinfo_lookup fail, the pointer is not released,
which can lead to a memory leak bug. Fix this issue by adding
nfp_nsp_close(nsp) in the error path.
Signed-off-by: Qiushi Wu
---
dri
Hi,
On 2.5.2020 20.56, Lauri Jakku wrote:
Hi,
On 1.5.2020 22.12, Lauri Jakku wrote:
Hi,
On 19.4.2020 19.00, Heiner Kallweit wrote:
On 19.04.2020 18:49, Lauri Jakku wrote:
Hi,
On 19.4.2020 18.09, Lauri Jakku wrote:
Hi,
On 18.4.2020 21.46, Lauri Jakku wrote:
Hi,
On 18.4.2020 14.06, L
On Fri, May 01, 2020 at 11:35:38PM -0400, vincent.cheng...@renesas.com wrote:
> From: Vincent Cheng
>
> Add idtcm_adjphase() to support PHC write phase mode.
>
> Signed-off-by: Vincent Cheng
Acked-by: Richard Cochran
On Fri, May 01, 2020 at 11:35:36PM -0400, vincent.cheng...@renesas.com wrote:
> From: Vincent Cheng
>
> Adds adjust phase function to take advantage of a PHC
> clock's hardware filtering capability that uses phase offset
> control word instead of frequency offset control word.
>
> Signed-off-by:
On Thu, Apr 30, 2020 at 12:15 AM Song Liu wrote:
>
> bpf_enable_stats() is added to enable given stats.
>
> Signed-off-by: Song Liu
...
> diff --git a/tools/lib/bpf/bpf.h b/tools/lib/bpf/bpf.h
> index 335b457b3a25..1901b2777854 100644
> --- a/tools/lib/bpf/bpf.h
> +++ b/tools/lib/bpf/bpf.h
> @@ -
Hello Uwe,
+Maxime Chevallier and Antoine Ténart, who have also worked on mvneta.
On Sat, 2 May 2020 16:14:08 +0200
Uwe Kleine-König wrote:
> I own a ReadyNAS 104 (CPU: Armada 370, mvneta driver) and since some
> time its network driver isn't reliable any more. I see things like:
>
> $ r
On Fri, May 01, 2020 at 08:06:22PM -0700, Alexei Starovoitov wrote:
> On Fri, May 01, 2020 at 02:56:17PM -0500, Josh Poimboeuf wrote:
> > On Fri, May 01, 2020 at 12:40:53PM -0700, Alexei Starovoitov wrote:
> > > On Fri, May 01, 2020 at 02:22:04PM -0500, Josh Poimboeuf wrote:
> > > > On Fri, May 01,
Hi,
On 1.5.2020 22.12, Lauri Jakku wrote:
Hi,
On 19.4.2020 19.00, Heiner Kallweit wrote:
On 19.04.2020 18:49, Lauri Jakku wrote:
Hi,
On 19.4.2020 18.09, Lauri Jakku wrote:
Hi,
On 18.4.2020 21.46, Lauri Jakku wrote:
Hi,
On 18.4.2020 14.06, Lauri Jakku wrote:
Hi,
On 17.4.2020 10.30, La
On 5/2/20 9:10 AM, Julian Wiedmann wrote:
> On 02.05.20 17:40, Eric Dumazet wrote:
>> On Sat, May 2, 2020 at 7:56 AM Julian Wiedmann wrote:
>>>
>>> On 22.04.20 18:13, Eric Dumazet wrote:
Back in commit 3b47d30396ba ("net: gro: add a per device gro flush timer")
we added the ability to
On 02.05.20 17:40, Eric Dumazet wrote:
> On Sat, May 2, 2020 at 7:56 AM Julian Wiedmann wrote:
>>
>> On 22.04.20 18:13, Eric Dumazet wrote:
>>> Back in commit 3b47d30396ba ("net: gro: add a per device gro flush timer")
>>> we added the ability to arm one high resolution timer, that we used
>>> to
Add support for Dell Wireless 5816e to drivers/net/usb/qmi_wwan.c
Signed-off-by: Matt Jolly
---
drivers/net/usb/qmi_wwan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index 6c738a271257..4bb8552a00d3 100644
--- a/drivers/net/usb/qmi
Fix bug introduced by commit b1f3e43dbfac ("inet_diag: add support for
cgroup filter").
Signed-off-by: Dmitry Yakunin
Reported-by: syzbot+ee80f840d9bf68932...@syzkaller.appspotmail.com
Reported-by: syzbot+13bef047dbfffa5cd...@syzkaller.appspotmail.com
Fixes: b1f3e43dbfac ("inet_diag: add support
Measurements of the MDIO bus have shown that driving the MDIO bus
using interrupts is slow. Back to back MDIO transactions take about
90us, with 25us spent performing the transaction, and the remainder of
the time the bus is idle.
Replacing the completion interrupt with polled IO results in back t
Hi Ido,
On Thu, Mar 05, 2020 at 04:49:37PM +0200, Ido Schimmel wrote:
> On Tue, Feb 25, 2020 at 04:30:54PM +, Vadym Kochan wrote:
> > +int mvsw_pr_port_learning_set(struct mvsw_pr_port *port, bool learn)
> > +{
> > + return mvsw_pr_hw_port_learning_set(port, learn);
> > +}
> > +
> > +int mvs
On Thu, Apr 30, 2020 at 04:41:05PM -0700, Saeed Mahameed wrote:
> From: Meir Lichtinger
>
> Define 100G, 200G and 400G link modes using 100Gbps per lane
>
> Signed-off-by: Meir Lichtinger
> CC: Andrew Lunn
> Reviewed-by: Aya Levin
> Signed-off-by: Saeed Mahameed
> ---
> drivers/net/phy/phy-
On 22.04.20 18:13, Eric Dumazet wrote:
> Back in commit 3b47d30396ba ("net: gro: add a per device gro flush timer")
> we added the ability to arm one high resolution timer, that we used
> to keep not-complete packets in GRO engine a bit longer, hoping that further
> frames might be added to them.
>
The 'pengutronix' address is defunct for years. Use the proper contact
address.
Signed-off-by: Wolfram Sang
---
drivers/net/can/mscan/mpc5xxx_can.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/can/mscan/mpc5xxx_can.c
b/drivers/net/can/mscan/mpc5xxx_can.c
index
Hello Arnaud, hello Thomas,
I own a ReadyNAS 104 (CPU: Armada 370, mvneta driver) and since some
time its network driver isn't reliable any more. I see things like:
$ rsync -a remotehost:dir /srv/dir
ssh_dispatch_run_fatal: Connection to $remoteaddress port 22: message
authentica
Part of the SMC client new link establishment process is the exchange of
rkeys for all used buffers.
Add new LLC message type ADD_LINK_CONTINUE which is used to exchange
rkeys of all current RMB buffers. Add functions to iterate over all
used RMB buffers of the link group, and implement the ADD_LIN
As SMC server, when a second link was deleted, trigger the setup of an
asymmetric link. Do this by enqueueing a local ADD_LINK message which
is processed by the LLC layer as if it were received from peer. Do the
same when a new IB port became active and a new link could be created.
smc_llc_srv_add_
First set of functions to process an ADD_LINK LLC request as an SMC
server. Find an alternate IB device, determine the new link group type
and get the index for the new link. Then initialize the link and send
the ADD_LINK LLC message to the peer. Save the contents of the response,
ready the link, m
Add smc_llc_process_cli_delete_link() to process a DELETE_LINK request
as SMC client. When the request is to delete ALL links then terminate
the whole link group. If not, find the link to delete by its link_id,
send the DELETE_LINK response LLC message and then clear the deleted
link. Finally deter
First set of functions to process an ADD_LINK LLC request as an SMC
client. Find an alternate IB device, determine the new link group type
and get the index for the new link. Then ready the link, map the buffers
and send an ADD_LINK LLC response. If any error occurs, send a reject
LLC message and t
Part of SMC server new link establishment is the exchange of rkeys for
used buffers.
Loop over all used RMB buffers and send ADD_LINK_CONTINUE LLC messages
to the peer.
Signed-off-by: Karsten Graul
Reviewed-by: Ursula Braun
---
net/smc/smc_llc.c | 43 ++-
These patches add the 'add link' and 'delete link' processing as
SMC server and client. This processing allows to establish and
remove links of a link group dynamically.
They are based on the patches I sent yesterday, I cannot see yesterdays
patches in the net-next git tree yet.
Karsten Graul (1
Introduce a work that is scheduled when a new DELETE_LINK LLC request is
received. The work will call either the SMC client or SMC server
DELETE_LINK processing.
And use the LLC flow framework to process incoming DELETE_LINK LLC
messages, scheduling the llc_del_link_work for those events.
With thes
This patch finalizes the ADD_LINK processing of new links. Send the
CONFIRM_LINK request to the peer, receive the response and set link
state to ACTIVE.
Signed-off-by: Karsten Graul
Reviewed-by: Ursula Braun
---
net/smc/smc_llc.c | 29 -
1 file changed, 28 insertions
Activate smc_llc_srv_add_link() in af_smc.c to start second link
establishment after the initial link of a link group was created. And
activate it in smc_llc.c to process an incoming ADD_LINK request from
an SMC client.
Signed-off-by: Karsten Graul
Reviewed-by: Ursula Braun
---
net/smc/af_smc.c
When a link group moved from asymmetric to symmetric state then the
dangling asymmetric link can be deleted. Add smc_llc_find_asym_link() to
find the respective link and add smc_llc_delete_asym_link() to delete
it.
Signed-off-by: Karsten Graul
Reviewed-by: Ursula Braun
---
net/smc/smc_llc.c | 8
Add smc_llc_process_srv_delete_link() to process a DELETE_LINK request
as SMC server. When the request is to delete ALL links then terminate
the whole link group. If not, find the link to delete by its link_id,
send the DELETE_LINK request LLC message and wait for the response.
No matter if a respo
This patch finalizes the ADD_LINK processing of new links. Receive the
CONFIRM_LINK request from peer, complete the link initialization,
register all used buffers with the IB device and finally send the
CONFIRM_LINK response, which completes the ADD_LINK processing.
And activate smc_llc_cli_add_lin
When a link goes down and all connections of this link need to be
switched to an other link then the producer cursor and the sequence of
the last successfully sent CDC message must be known. Add the two fields
to the SMC connection and update it in the tx completion handler.
And to allow matching o
Hello!
On 01.05.2020 16:43, Colin King wrote:
From: Colin Ian King
The current logic for speed checking will never set the speed to 10 MBPS
because bmcr & BMCR_SPEED10 is always 0 since BMCR_SPEED10 is 0. Also
the erroneous setting where BMCR_SPEED1000 and BMCR_SPEED100 are both
set causes th
On Sat, May 02, 2020 at 12:16:41PM +0200, Mauro Carvalho Chehab wrote:
> Em Sat, 2 May 2020 10:41:33 +0300
> Mike Rapoport escreveu:
>
> > Hello Mauro,
> >
> > On Fri, May 01, 2020 at 05:37:51PM +0200, Mauro Carvalho Chehab wrote:
> > > There are 4 IRQ documentation files under Documentation/*.t
Hi David,
The following pull-request contains BPF updates for your *net-next* tree.
We've added 60 non-merge commits during the last 6 day(s) which contain
a total of 154 files changed, 6740 insertions(+), 3367 deletions(-).
The main changes are:
1) pulled work.sysctl from vfs tree with sysctl
Hi,
I got an oom panic because cgroup is leaked.
Here is the steps :
- run a docker with --cap-add sys_admin parameter and the systemd
process in the docker uses both cgroupv1 and cgroupv2
- ssh/exit from host to docker repeately
I find the number nr_dying_descendants is increasing:
linux
Em Sat, 2 May 2020 10:41:33 +0300
Mike Rapoport escreveu:
> Hello Mauro,
>
> On Fri, May 01, 2020 at 05:37:51PM +0200, Mauro Carvalho Chehab wrote:
> > There are 4 IRQ documentation files under Documentation/*.txt.
> >
> > Move them into a new directory (core-api/irq) and add a new
> > index fi
The paranoidal pointer check in IRQ handler looks very strange - it
really protects us only against bogus drivers which request IRQ line
with null pointer dev_id. However, the code fragment is incorrect
because the dev pointer is used before the actual check. That leads
to undefined behavior thus c
On 2020-05-02 4:48 a.m., Jamal Hadi Salim wrote:
On 2020-04-30 11:53 p.m., Cong Wang wrote:
[..]
Steps to reproduce this:
ip li set dev dummy0 up
tc qd add dev dummy0 ingress
tc filter add dev dummy0 parent : protocol arp basic action pass
tc filter show dev dummy0 root
Before thi
On 2020/4/30 6:36 PM, Mark Rutland wrote:
> On Tue, Apr 28, 2020 at 07:14:52AM +0100, Jianyong Wu wrote:
>> On 2020/4/24 6:39 PM, Mark Rutland wrote:
>>> On Fri, Apr 24, 2020 at 03:50:22AM +0100, Jianyong Wu wrote:
On 2020/4/21 5:57 PM, Mark Rutland wrote:
> On Tue, Apr 21, 2020 at 11:23:0
Hello,
syzbot found the following crash on:
HEAD commit:4b4976a6 Merge branch 'net-ReST-part-three'
git tree: net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=13e3824c10
kernel config: https://syzkaller.appspot.com/x/.config?x=b1494ce3fbc02154
dashboard link: http
On 2020-04-30 11:53 p.m., Cong Wang wrote:
When we tell kernel to dump filters from root (:),
those filters on ingress (:) are matched, but their
true parents must be dumped as they are. However, kernel
dumps just whatever we tell it, that is either :
or ::
$ nl
In this year's edition of GSoC, there is a project idea for CRIU to add support
for checkpoint/restore of cork-ed UDP sockets. But to add it, the kernel API
needs
to be extended.
This is what this patch does. It adds a new command, called SIOUDPPENDGET, to
the
ioctl syscall regarding UDP sockets
Hello Mauro,
On Fri, May 01, 2020 at 05:37:51PM +0200, Mauro Carvalho Chehab wrote:
> There are 4 IRQ documentation files under Documentation/*.txt.
>
> Move them into a new directory (core-api/irq) and add a new
> index file for it.
Just curious, why IRQ docs got their subdirectory and DMA didn
On Fri, 1 May 2020 at 15:02, Cong Wang wrote:
>
Hi Cong,
> On Thu, Apr 30, 2020 at 12:40 AM Taehee Yoo wrote:
> > > +static void vlan_dev_set_lockdep_one(struct net_device *dev,
> > > +struct netdev_queue *txq,
> > > +void
On 4/29/20 6:41 PM, Andrii Nakryiko wrote:
On Mon, Apr 27, 2020 at 1:17 PM Yonghong Song wrote:
Three new libbpf APIs are added to support bpf_iter:
- bpf_program__attach_iter
Given a bpf program and additional parameters, which is
none now, returns a bpf_link.
- bpf_link__c
72 matches
Mail list logo