On Tue, 2020-06-23 at 14:31 -0700, Jakub Kicinski wrote:
> On Tue, 23 Jun 2020 12:52:29 -0700 Saeed Mahameed wrote:
> > From: Aya Levin
> >
> > The concept of Relaxed Ordering in the PCI Express environment
> > allows
> > switches in the path between the Requester and Completer to reorder
> > som
On Tue, Jun 23, 2020 at 11:04 PM John Fastabend
wrote:
>
> Andrii Nakryiko wrote:
> > On Tue, Jun 23, 2020 at 5:25 PM Yonghong Song wrote:
> > >
> > >
> > >
> > > On 6/23/20 4:25 PM, Alexei Starovoitov wrote:
> > > > On Tue, Jun 23, 2020 at 11:15:58PM +0200, Daniel Borkmann wrote:
> > > >> On 6/2
On Tue, Jun 23, 2020 at 5:34 PM Andrii Nakryiko wrote:
>
> Similar message for map creation is extremely useful, so add similar for BPF
> programs.
'extremely useful' is quite subjective.
If we land this patch then everyone will be allowed to add pr_debug()
everywhere in libbpf with the same reas
On Tue, 2020-06-23 at 21:46 -0700, Saeed Mahameed wrote:
> Hi Dave, Jakub
>
> This series adds misc updates and one small feature, Relaxed
> ordering,
> to mlx5 driver.
>
> v1->v2:
> - Removed unnecessary Fixes Tags
>
> v2->v3:
> - Drop "macro undefine" patch, it has no value
>
> For more i
On 23. 06. 20 23:27, Brendan Higgins wrote:
> On Sat, Jun 20, 2020 at 1:59 AM kernel test robot wrote:
>>
>> Hi Brendan,
>>
>> It's probably a bug fix that unveils the link errors.
>>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> master
>> head: 4333a9b0b67
> -Original Message-
> From: netdev-ow...@vger.kernel.org
> On Behalf Of Kaige Li
> Sent: Tuesday, June 23, 2020 8:41 PM
> To: David Miller
> Cc: Christian Benvenuti (benve) ; _gov...@gmx.com;
> netdev@vger.kernel.org; linux-ker...@vger.kernel.org;
> lixuef...@loongson.cn; yangtie...@loon
Hello,
syzbot found the following crash on:
HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=12c27f7910
kernel config: https://syzkaller.appspot.com/x/.config?x=d195fe572fb15312
das
Andrii Nakryiko wrote:
> On Tue, Jun 23, 2020 at 5:25 PM Yonghong Song wrote:
> >
> >
> >
> > On 6/23/20 4:25 PM, Alexei Starovoitov wrote:
> > > On Tue, Jun 23, 2020 at 11:15:58PM +0200, Daniel Borkmann wrote:
> > >> On 6/23/20 10:52 PM, Andrii Nakryiko wrote:
> > >>> On Tue, Jun 23, 2020 at 1:39
On Tue, Jun 23, 2020 at 2:40 PM Lorenzo Bianconi wrote:
>
> Similar to what have been done for DEVMAP, introduce tests to verify
> ability to add a XDP program to an entry in a CPUMAP.
> Verify CPUMAP programs can not be attached to devices as a normal
> XDP program, and only programs with BPF_XDP
On Tue, Jun 23, 2020 at 2:40 PM Lorenzo Bianconi wrote:
>
> As for DEVMAP, support SEC("xdp_cpumap*") as a short cut for loading
> the program with type BPF_PROG_TYPE_XDP and expected attach type
> BPF_XDP_CPUMAP.
>
> Signed-off-by: Lorenzo Bianconi
> ---
Thanks!
Acked-by: Andrii Nakryiko
>
struct mlx5_vxlan_port is not exposed to the outside callers, it is
redundant to return a pointer to it from mlx5_vxlan_port_lookup(), to be
only used as a boolean, so just return a boolean.
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c | 9 +
driv
Remove the spinlock protecting the vxlan table and use RCU instead.
This will improve performance as it will eliminate contention on data
path cores.
Fixes: b3f63c3d5e2c ("net/mlx5e: Add netdev support for VXLAN tunneling")
Signed-off-by: Saeed Mahameed
Reviewed-by: Maxim Mikityanskiy
---
.../e
From: Aya Levin
The concept of Relaxed Ordering in the PCI Express environment allows
switches in the path between the Requester and Completer to reorder some
transactions just received before others that were previously enqueued.
In ETH driver, there is no question of write integrity since each
From: Parav Pandit
Flow steering core layer is independent of the eswitch layer.
Hence avoid fs_core dependency on eswitch.
Signed-off-by: Parav Pandit
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 10 --
drivers/net/ethernet/mellanox/mlx5/core/
From: Alaa Hleihel
After the cited commit, the header net/arp.h is no longer used in en_rep.c.
So, move it to the new file rep/neigh.c that uses it now.
Signed-off-by: Alaa Hleihel
Reviewed-by: Vlad Buslov
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh
From: Maxim Mikityanskiy
mlx5e_xsk_first_unused_channel is a leftover from old versions of the
first XSK commit, and it was never used. Remove it.
Fixes: db05815b36cb ("net/mlx5e: Add XSK zero-copy support")
Signed-off-by: Maxim Mikityanskiy
Signed-off-by: Saeed Mahameed
---
.../net/ethernet/
From: Hu Haowen
Missing space at the end of a comment line, add it.
Signed-off-by: Hu Haowen
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/d
From: Vlad Buslov
en_tc.h header file declares several TC-specific functions in
CONFIG_MLX5_ESWITCH block even though those functions are only compiled
when CONFIG_MLX5_CLS_ACT is set, which is a recent change. Move them to
proper block.
Signed-off-by: Vlad Buslov
Reviewed-by: Roi Dayan
Review
From: Denis Efremov
Use kfree() instead of kvfree() on ft->g in arfs_create_groups() because
the memory is allocated with kcalloc().
Signed-off-by: Denis Efremov
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c | 2 +-
1 file changed, 1 insertion(+), 1 delet
Hi Dave, Jakub
This series adds misc updates and one small feature, Relaxed ordering,
to mlx5 driver.
v1->v2:
- Removed unnecessary Fixes Tags
v2->v3:
- Drop "macro undefine" patch, it has no value
For more information please see tag log below.
Please pull and let me know if there is any p
On Wed, Jun 24, 2020 at 2:26 AM Michal Kubecek wrote:
>
> On Tue, Jun 23, 2020 at 05:02:49PM +0530, Vasundhara Volam wrote:
> > Advanced NICs support live reset of some of the hardware
> > components, that resets the device immediately with all the
> > host drivers loaded.
> >
> > Add devlink rese
Prevent loading/parsing vmlinux BTF twice in some cases: for CO-RE relocations
and for BTF-aware hooks (tp_btf, fentry/fexit, etc).
Fixes: a6ed02cac690 ("libbpf: Load btf_vmlinux only once per object.")
Signed-off-by: Andrii Nakryiko
---
tools/lib/bpf/libbpf.c | 33 ++
From: Rahul Lakkireddy
Date: Wed, 24 Jun 2020 02:03:21 +0530
> Patch 1 ensures all callers take on-chip memory lock when flashing
> PHY firmware to fix lock context imbalance warnings.
>
> Patch 2 moves all static arrays in header file to respective C file
> in device dump collection path.
Seri
From: Russell King - ARM Linux admin
Date: Tue, 23 Jun 2020 17:46:42 +0100
> While testing, I discovered two issues with ethtool -A with phylink.
> First, if there is a PHY bound to the network device, we hit a
> deadlock when phylib tries to notify us of the link changing as a
> result of trigge
From: Tariq Toukan
Date: Mon, 22 Jun 2020 23:26:04 +0300
> Clearing the sock TX queue in sk_set_socket() might cause unexpected
> out-of-order transmit when called from sock_orphan(), as outstanding
> packets can pick a different TX queue and bypass the ones already queued.
>
> This is undesired
On 06/24/2020 11:23 AM, David Miller wrote:
From: Kaige Li
Date: Wed, 24 Jun 2020 09:56:47 +0800
On 06/24/2020 06:26 AM, David Miller wrote:
From: David Miller
Date: Tue, 23 Jun 2020 14:33:11 -0700 (PDT)
Calling a NIC driver open function from a context holding a spinlock
is very much th
From: Tanner Love
Date: Mon, 22 Jun 2020 13:43:24 -0400
> From: tannerlove
>
> Run rxtimestamp as part of TEST_PROGS. Analogous to other tests, add
> new rxtimestamp.sh wrapper script, so that the test runs isolated
> from background traffic in a private network namespace.
>
> Also ignore fail
Le 2020-06-23 à 20:26, Jisheng Zhang a écrit :
> Call phy_disable_interrupts() in phy_init_hw() to "have a defined init
> state as we don't know in which state the PHY is if the PHY driver is
> loaded. We shouldn't assume that it's the chip power-on defaults, BIOS
> or boot loader could have change
From: Mika Westerberg
Date: Mon, 22 Jun 2020 19:30:22 +0300
> ThunderboltIP protocol currently has two flags from which we only
> support and set match frags ID. The first flag is reserved for full E2E
> flow control. Add a comment that clarifies them.
>
> Suggested-by: Yehezkel Bernat
> Signed
From: Calvin Johnson
Date: Mon, 22 Jun 2020 20:35:31 +0530
> This patch series provides ACPI support for xgmac_mdio driver.
>
> Changes in v3:
> - handle case MDIOBUS_NO_CAP
>
> Changes in v2:
> - Reserve "0" to mean that no mdiobus capabilities have been declared.
> - bus->id: change to approp
From: Vaibhav Gupta
Date: Mon, 22 Jun 2020 17:12:23 +0530
> Linux Kernel Mentee: Remove Legacy Power Management.
>
> The purpose of this patch series is to remove legacy power management
> callbacks and invocation of PCI helper functions, from tulip ethernet drivers.
>
> With legacy PM, drivers
From: Vaibhav Gupta
Date: Mon, 22 Jun 2020 16:43:57 +0530
> Linux Kernel Mentee: Remove Legacy Power Management.
>
> The purpose of this patch series is to remove legacy power management
> callbacks
> from amd ethernet drivers.
>
> The callbacks performing suspend() and resume() operations are
From: "Gustavo A. R. Silva"
Date: Mon, 22 Jun 2020 18:07:41 -0500
> Make use of the struct_size() helper instead of an open-coded version
> in order to avoid any potential type mistakes. Also, remove unnecessary
> function ipv6_rpl_srh_alloc_size() and replace kzalloc() with kcalloc(),
> which ha
From: Gaurav Singh
Date: Mon, 22 Jun 2020 22:50:39 -0400
> skb cannot be NULL here since its already being accessed
> before: sock_net(skb->sk). Remove the redundant null check.
>
> Signed-off-by: Gaurav Singh
Applied.
From: Gaurav Singh
Date: Mon, 22 Jun 2020 23:41:19 -0400
> dev cannot be NULL here since its already being accessed
> before. Remove the redundant null check.
>
> Signed-off-by: Gaurav Singh
Applied.
We face an issue with rtl8211f, a pin is shared between INTB and PMEB,
and the PHY Register Accessible Interrupt is enabled by default, so
the INTB/PMEB pin is always active in polling mode case.
As Heiner pointed out "I was thinking about calling
phy_disable_interrupts() in phy_init_hw(), to have
We face an issue with rtl8211f, a pin is shared between INTB and PMEB,
and the PHY Register Accessible Interrupt is enabled by default, so
the INTB/PMEB pin is always active in polling mode case.
As Heiner pointed out "I was thinking about calling
phy_disable_interrupts() in phy_init_hw(), to have
Call phy_disable_interrupts() in phy_init_hw() to "have a defined init
state as we don't know in which state the PHY is if the PHY driver is
loaded. We shouldn't assume that it's the chip power-on defaults, BIOS
or boot loader could have changed this. Or in case of dual-boot
systems the other OS co
From: Carl Huang
Date: Tue, 23 Jun 2020 11:22:03 +0800
> @@ -168,6 +168,7 @@ static void __qrtr_node_release(struct kref *kref)
> struct radix_tree_iter iter;
> unsigned long flags;
> void __rcu **slot;
> + struct qrtr_tx_flow *flow;
Please retain the reverse christmas tree
From: Kaige Li
Date: Wed, 24 Jun 2020 10:07:16 +0800
> You are right. Should I do spin_unlock before the enic_open, or remove
> spin_lock in enic_reset?
You need to learn how this driver's locking works and design a correct
adjustment.
From: Kaige Li
Date: Wed, 24 Jun 2020 09:56:47 +0800
>
> On 06/24/2020 06:26 AM, David Miller wrote:
>> From: David Miller
>> Date: Tue, 23 Jun 2020 14:33:11 -0700 (PDT)
>>
>>> Calling a NIC driver open function from a context holding a spinlock
>>> is very much the real problem, so many operat
From: Andrew Lunn
Date: Wed, 24 Jun 2020 03:25:45 +0200
> A last minute change put the TDR cable test parameters into a nest.
> The validation is not sufficient, resulting in an oops if the nest is
> missing. Set default values first, then update them if the nest is
> provided.
>
> Fixes: f2bc8a
From: Gaurav Singh
Date: Tue, 23 Jun 2020 21:04:49 -0400
> Check i < io bounds before accessing io[i].
>
> Signed-off-by: Gaurav Singh
The io[] array is intentionally zero terminated, there is no problem.
From: Gaurav Singh
Date: Tue, 23 Jun 2020 20:55:45 -0400
> dev cannot be NULL here since its already being accessed
> before. Remove the redundant null check.
>
> Signed-off-by: Gaurav Singh
I changed your Subject to be:
[PATCH net-next] xirc2ps_cs: remove dev null check from do_reset().
Sin
From: Michael Chan
Date: Tue, 23 Jun 2020 19:01:34 -0400
> The first patch stores the firmware version code which is needed by the
> next 2 patches to determine some worarounds based on the firmware version.
> The workarounds are to disable legacy TX push mode and to clear the
> hardware statisti
From: Eric Dumazet
Date: Tue, 23 Jun 2020 15:31:10 -0700
> This series adds missing declarations and move others to
> address W=1 C=1 warnings in tcp and udp.
I fixed up 's/adress/address/' for you.
Applied and queued up for -stable.
On Tue, 2020-06-23 at 19:18 -0700, Saeed Mahameed wrote:
> From: Hu Haowen
>
> The macro ODP_CAP_SET_MAX is only used in function
> handle_hca_cap_odp()
> in file main.c, so it should be undefined when there are no more uses
> of it.
>
> Signed-off-by: Hu Haowen
> Reviewed-by: Leon Romanovsky
Hi Florian,
I love your patch! Perhaps something to improve:
[auto build test WARNING on ipsec-next/master]
url:
https://github.com/0day-ci/linux/commits/Florian-Westphal/xfrm-remove-xfrm-replay-indirections/20200624-035102
base: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ips
From: Maxim Mikityanskiy
mlx5e_xsk_first_unused_channel is a leftover from old versions of the
first XSK commit, and it was never used. Remove it.
Fixes: db05815b36cb ("net/mlx5e: Add XSK zero-copy support")
Signed-off-by: Maxim Mikityanskiy
Signed-off-by: Saeed Mahameed
---
.../net/ethernet/
Remove the spinlock protecting the vxlan table and use RCU instead.
This will improve performance as it will eliminate contention on data
path cores.
Fixes: b3f63c3d5e2c ("net/mlx5e: Add netdev support for VXLAN tunneling")
Signed-off-by: Saeed Mahameed
Reviewed-by: Maxim Mikityanskiy
---
.../e
From: Aya Levin
The concept of Relaxed Ordering in the PCI Express environment allows
switches in the path between the Requester and Completer to reorder some
transactions just received before others that were previously enqueued.
In ETH driver, there is no question of write integrity since each
From: Hu Haowen
The macro ODP_CAP_SET_MAX is only used in function handle_hca_cap_odp()
in file main.c, so it should be undefined when there are no more uses
of it.
Signed-off-by: Hu Haowen
Reviewed-by: Leon Romanovsky
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core
struct mlx5_vxlan_port is not exposed to the outside callers, it is
redundant to return a pointer to it from mlx5_vxlan_port_lookup(), to be
only used as a boolean, so just return a boolean.
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c | 9 +
driv
From: Denis Efremov
Use kfree() instead of kvfree() on ft->g in arfs_create_groups() because
the memory is allocated with kcalloc().
Signed-off-by: Denis Efremov
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c | 2 +-
1 file changed, 1 insertion(+), 1 delet
From: Hu Haowen
Missing space at the end of a comment line, add it.
Signed-off-by: Hu Haowen
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/d
From: Vlad Buslov
en_tc.h header file declares several TC-specific functions in
CONFIG_MLX5_ESWITCH block even though those functions are only compiled
when CONFIG_MLX5_CLS_ACT is set, which is a recent change. Move them to
proper block.
Signed-off-by: Vlad Buslov
Reviewed-by: Roi Dayan
Review
Hi Dave, Jakub
This series adds misc updates and one small feature, Relaxed ordering,
to mlx5 driver.
v1->v2:
- Removed unnecessary Fixes Tags
For more information please see tag log below.
Please pull and let me know if there is any problem.
Thanks,
Saeed.
---
The following changes since
From: Parav Pandit
Flow steering core layer is independent of the eswitch layer.
Hence avoid fs_core dependency on eswitch.
Signed-off-by: Parav Pandit
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 10 --
drivers/net/ethernet/mellanox/mlx5/core/
From: Alaa Hleihel
After the cited commit, the header net/arp.h is no longer used in en_rep.c.
So, move it to the new file rep/neigh.c that uses it now.
Signed-off-by: Alaa Hleihel
Reviewed-by: Vlad Buslov
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh
On 6/23/20 11:38 AM, Ido Schimmel wrote:
>>
>> My questions are:
>> 1. is fib_lookup supposed to work with multicast daddr? If so, has
>> multicast routing been working for the wrong reason?
yes; it is a quirk with Linux routing. see the code after fib_lookup in
ip_route_output_key_hash_rcu. perf
On 06/24/2020 04:50 AM, Jakub Kicinski wrote:
On Tue, 23 Jun 2020 16:13:09 +0800 Kaige Li wrote:
The kernel module may sleep with holding a spinlock.
The function call paths (from bottom to top) are:
[FUNC] zalloc_cpumask_var(GFP_KERNEL)
drivers/net/ethernet/cisco/enic/enic_main.c, 125: zall
On 06/24/2020 06:26 AM, David Miller wrote:
From: David Miller
Date: Tue, 23 Jun 2020 14:33:11 -0700 (PDT)
Calling a NIC driver open function from a context holding a spinlock
is very much the real problem, so many operations have to sleep and
in face that ->ndo_open() method is defined as b
A last minute change put the TDR cable test parameters into a nest.
The validation is not sufficient, resulting in an oops if the nest is
missing. Set default values first, then update them if the nest is
provided.
Fixes: f2bc8ad31a7f ("net: ethtool: Allow PHY cable test TDR data to
configured")
On 6/23/20 5:40 PM, Alexei Starovoitov wrote:
On Sat, Jun 20, 2020 at 12:06 AM Yonghong Song wrote:
On 6/19/20 4:04 PM, Andrii Nakryiko wrote:
bpf_object__find_program_by_title(), used by CO-RE relocation code, doesn't
return .text "BPF program", if it is a function storage for sub-progr
On 6/23/2020 2:44 AM, Magnus Karlsson wrote:
Improve the performance of the AF_XDP zero-copy Tx completion
path. When there are no XDP buffers being sent using XDP_TX or
XDP_REDIRECT, we do not have go through the SW ring to clean up any
entries since the AF_XDP path does not use these. In the
Check i < io bounds before accessing io[i].
Signed-off-by: Gaurav Singh
---
drivers/net/wan/cosa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c
index 5d6532ad6b78..8797adfa0ab0 100644
--- a/drivers/net/wan/cosa.c
+++ b/driver
On Tue, Jun 23, 2020 at 8:39 AM Quentin Monnet wrote:
>
> When producing the bpf-helpers.7 man page from the documentation from
> the BPF user space header file, rst2man complains:
>
> :2636: (ERROR/3) Unexpected indentation.
> :2640: (WARNING/2) Block quote ends without a blank line;
> u
In general, Linux network tools use JSON for machine readable output.
See for example -json for iproute2 and devlink. In order to support
JSON output from ethtool, import the iproute2 helper code.
Maybe some time in the future it would make sense to either have a
shared library, or to merge ethtoo
Add support for starting a cable test, and report the results.
This code does not follow the usual patterns because of the way the
kernel reports the results of the cable test. It can take a number of
seconds for cable testing to occur. So the action request messages is
immediately acknowledges, a
Allow --json to be passed as an option to select JSON output. The
option is handled in the same way as --debug, setting a variable in
the command context, which can then later be used per option to select
JSON outputters.
Signed-off-by: Andrew Lunn
---
ethtool.c| 33 ++---
inter
Document the --json option, which the --cable-test and
--cable-test-tdr options support.
Signed-off-by: Andrew Lunn
---
ethtool.8.in | 8
1 file changed, 8 insertions(+)
diff --git a/ethtool.8.in b/ethtool.8.in
index 9e2017d..267eb3b 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -137
Add the user space side of the ethtool cable test.
The TDR output is most useful when fed to some other tool which can
visualize the data. So add JSON support, by borrowing code from
iproute2.
Andrew Lunn (6):
Add cable test support
Add cable test TDR support
json_writer: Import the iproute
Add support for accessing the cable test time domain reflectromatry
data. Add a new command --cable-test-tdr, and support for dumping the
data which is returned.
signed-off-by: Andrew Lunn
---
ethtool.c| 8 ++
netlink/cable_test.c | 289 +++
Extend the man page with --cable-test and --cable-test-tdr commands.
Signed-off-by: Andrew Lunn
---
ethtool.8.in | 45 +
1 file changed, 45 insertions(+)
diff --git a/ethtool.8.in b/ethtool.8.in
index 9c5f45c..9e2017d 100644
--- a/ethtool.8.in
+++ b/e
On Tue, 23 Jun 2020 17:22:52 -0700 Jeff Kirsher wrote:
> From: Aleksandr Loktionov
>
> In some occasions task held spinlock,
Which spin lock?
> while being rescheduled due to mutex_lock.
Which mutex?
> Moved function call outside of atomic context.
What function?
> Without this patch ther
dev cannot be NULL here since its already being accessed
before. Remove the redundant null check.
Signed-off-by: Gaurav Singh
---
drivers/net/ethernet/xircom/xirc2ps_cs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/xircom/xirc2ps_cs.c
b/drivers/net/e
On Mon, Jun 22, 2020 at 12:44 PM John Stultz wrote:
>
> On Sat, Jun 20, 2020 at 2:26 PM Maciej Żenczykowski
> wrote:
> >
> > From: Maciej Żenczykowski
> >
> > This is a fix for a regression introduced in 5.8-rc1 by:
> > commit 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366
> > 'bpf: Implement CAP_
On Tue, Jun 23, 2020 at 5:25 PM Yonghong Song wrote:
>
>
>
> On 6/23/20 4:25 PM, Alexei Starovoitov wrote:
> > On Tue, Jun 23, 2020 at 11:15:58PM +0200, Daniel Borkmann wrote:
> >> On 6/23/20 10:52 PM, Andrii Nakryiko wrote:
> >>> On Tue, Jun 23, 2020 at 1:39 PM Daniel Borkmann
> >>> wrote:
> >>
On Tue, 23 Jun 2020 19:01:37 -0400 Michael Chan wrote:
> On older firmware, the hardware statistics are not cleared when the
> driver frees the hardware stats contexts during ifdown. The driver
> expects these stats to be cleared and saves a copy before freeing
> the stats contexts. During the ne
On Sat, Jun 20, 2020 at 12:06 AM Yonghong Song wrote:
>
>
>
> On 6/19/20 4:04 PM, Andrii Nakryiko wrote:
> > bpf_object__find_program_by_title(), used by CO-RE relocation code, doesn't
> > return .text "BPF program", if it is a function storage for sub-programs.
> > Because of that, any CO-RE relo
Similar message for map creation is extremely useful, so add similar for BPF
programs.
Signed-off-by: Andrii Nakryiko
---
tools/lib/bpf/libbpf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
index 18461deb1b19..f24a90c86c58
On 6/23/20 4:25 PM, Alexei Starovoitov wrote:
On Tue, Jun 23, 2020 at 11:15:58PM +0200, Daniel Borkmann wrote:
On 6/23/20 10:52 PM, Andrii Nakryiko wrote:
On Tue, Jun 23, 2020 at 1:39 PM Daniel Borkmann wrote:
On 6/23/20 5:22 AM, Andrii Nakryiko wrote:
Add selftest that validates variable
From: Aleksandr Loktionov
In some occasions task held spinlock, while being rescheduled due to
mutex_lock. Moved function call outside of atomic context. Without
this patch there is a race condition, which might result in scheduling
while atomic.
Signed-off-by: Arkadiusz Kubalewski
Signed-off
From: Aleksandr Loktionov
Make possible for the i40e driver to bind to the new v710 for 5GBASE-T
NICs.
Signed-off-by: Aleksandr Loktionov
Signed-off-by: Arkadiusz Kubalewski
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/i40e/i40e_common.c | 3 +++
drive
From: Todd Fujinaka
A customer was chain-booting to provision his systems and one of the
steps was setting MFS. MFS isn't cleared by normal warm reboots
(clearing requires a GLOBR) and there was no indication of why Jumbo
Frame receives were failing.
Add a warning if MFS is set to anything lower
As with other networking drivers, remove the unnecessary driver version
from the Intel drivers. The ethtool driver information and module version
will then report the kernel version instead.
For ixgbe, i40e and ice drivers, the driver passes the driver version to
the firmware to confirm that we ar
From: Piotr Kwapulinski
Use jiffies to limit max waiting time for PF reset to succeed.
Previous wait loop was unreliable. It required unreasonably long time
to wait for PF reset after reboot when NIC was about to enter
recovery mode
Reviewed-by: Aleksandr Loktionov
Signed-off-by: Piotr Kwapulin
From: Piotr Kwapulinski
Detect and log information about pre-recovery mode when firmware
transitions to a recovery mode.
When a firmware transitions to a recovery mode it stores a number
of unexpected EMP resets in one of its registers. The number of EMP
resets ranging from 0x21 to 0x2A indicates
From: Shiraz Saleem
Move i40e_client.h to include/linux/net/intel/*
since its shared between i40iw and i40e.
Signed-off-by: Shiraz Saleem
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/infiniband/hw/i40iw/Makefile| 1 -
drivers/infiniband/hw/i40i
This series contains updates to i40e driver and removes the individual
driver versions from all of the Intel wired LAN drivers.
Shiraz moves the client header so that it can easily be shared between
the i40e LAN driver and i40iw RDMA driver.
Jesse cleans up the unused defines, since they are just
> -Original Message-
> From: Jakub Kicinski
> Sent: Tuesday, June 23, 2020 4:39 PM
> To: Kirsher, Jeffrey T
> Cc: da...@davemloft.net; Brady, Alan ;
> netdev@vger.kernel.org; nhor...@redhat.com; sassm...@redhat.com;
> Michael, Alice ; Burra, Phani R
> ; Hay, Joshua A ; Chittim,
> Madhu ;
On Tue, 23 Jun 2020 16:53:02 -0700 Stephen Hemminger wrote:
> These patches remove the term slave from the iproute2 visible
> command line, documentation, and variable naming.
>
> This needs doing despite the fact it will cause cosmetic
> changes to visible outputs.
And non-cosmetic changes in ma
Hi Florian,
I love your patch! Perhaps something to improve:
[auto build test WARNING on ipsec-next/master]
url:
https://github.com/0day-ci/linux/commits/Florian-Westphal/xfrm-remove-xfrm-replay-indirections/20200624-035102
base: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ips
Replace use of slave by subport in bridge/bond/team/vrf and hsr.
The word slave is unnecessarily hostile and is not used in
any of the relevant standards from IETF or IEEE.
Use the term subport across the iproute2 command set instead.
Patches to keep old term on input with nag warnings are
underc
No need for slave in comment and message.
Can't change API (yet) since part of Linux uapi.
Signed-off-by: Stephen Hemminger
---
bridge/vlan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bridge/vlan.c b/bridge/vlan.c
index 0d142bc9055d..9128769eaf3d 100644
--- a/bridge
These patches remove the term slave from the iproute2 visible
command line, documentation, and variable naming.
This needs doing despite the fact it will cause cosmetic
changes to visible outputs.
Stephen Hemminger (5):
bpf: replace slave with sub
bridge: remove slave from comments and messag
Use the term insert instead of enslave because it is
more descriptive and less offensive.
Signed-off-by: Stephen Hemminger
---
testsuite/tests/bridge/vlan/show.t | 4 ++--
testsuite/tests/bridge/vlan/tunnelshow.t | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/testsu
Instead of slave_kind, rename variable to sub_kind
to describe the kind of sub-device that is being looked for
when filtering messages.
Signed-off-by: Stephen Hemminger
---
ip/ip_common.h | 2 +-
ip/ipaddress.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ip/ip_common
The term sub interface is more appropriate for bpf devices.
Signed-off-by: Stephen Hemminger
---
lib/bpf.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/bpf.c b/lib/bpf.c
index c7d45077c14e..9271e169a992 100644
--- a/lib/bpf.c
+++ b/lib/bpf.c
@@ -666,7 +666,7 @@
Hi Jamal,
> -Original Message-
> From: Jamal Hadi Salim
> Sent: 2020年6月23日 20:18
> To: Po Liu ; da...@davemloft.net; linux-
> ker...@vger.kernel.org; netdev@vger.kernel.org; ido...@idosch.org
> Cc: j...@resnulli.us; vinicius.go...@intel.com; v...@buslov.dev; Claudiu
> Manoil ; Vladimir O
1 - 100 of 491 matches
Mail list logo