Add per-CPU variable to bpf_testmod.ko and use those from new selftest to
validate it works end-to-end.
Acked-by: Yonghong Song
Acked-by: Hao Luo
Signed-off-by: Andrii Nakryiko
---
.../selftests/bpf/bpf_testmod/bpf_testmod.c | 3 ++
.../selftests/bpf/prog_tests/ksyms_module.c | 31 +++
Add support for directly accessing kernel module variables from BPF programs
using special ldimm64 instructions. This functionality builds upon vmlinux
ksym support, but extends ldimm64 with src_reg=BPF_PSEUDO_BTF_ID to allow
specifying kernel module BTF's FD in insn[1].imm field.
During BPF progr
__bpf_free_used_maps() is always defined in kernel/bpf/core.c, while
include/linux/bpf.h is guarding it behind CONFIG_BPF_SYSCALL. Move it out of
that guard region and fix compiler warning.
Reported-by: kernel test robot
Fixes: a2ea07465c8d ("bpf: Fix missing prog untrack in release_maps")
Acked-
Add support for searching for ksym externs not just in vmlinux BTF, but across
all module BTFs, similarly to how it's done for CO-RE relocations. Kernels
that expose module BTFs through sysfs are assumed to support new ldimm64
instruction extension with BTF FD provided in insn[1].imm field, so no e
If some of the subtests use module BTFs through ksyms, they will cause
bpf_prog to take a refcount on bpf_testmod module, which will prevent it from
successfully unloading. Module's refcnt is decremented when bpf_prog is freed,
which generally happens in RCU callback. So we need to trigger
syncroni
Add support for using kernel module global variables (__ksym externs in BPF
program). BPF verifier will now support ldimm64 with src_reg=BPF_PSEUDO_BTF_ID
and non-zero insn[1].imm field, specifying module BTF's FD. In such case,
module BTF object, similarly to BPF maps referenced from ldimm64 with
BPF interpreter uses extra input argument, so re-casts __bpf_call_base into
__bpf_call_base_args. Avoid compiler warning about incompatible function
prototypes by casting to void * first.
Reported-by: kernel test robot
Fixes: 1ea47e01ad6e ("bpf: add support for bpf_call to interpreter")
Acked-by:
Add bpf_patch_call_args() prototype. This function is called from BPF verifier
and only if CONFIG_BPF_JIT_ALWAYS_ON is not defined. This fixes compiler
warning about missing prototype in some kernel configurations.
Reported-by: kernel test robot
Fixes: 1ea47e01ad6e ("bpf: add support for bpf_call
ing-v4-packets-with-UDP-GRO/20210111-205115
> base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
> 73b7a6047971aa6ce4a70fc4901964d14f077171
> config: m68k-defconfig (attached as .config)
> compiler: m68k-linux-gcc (GCC) 9.3.0
> reproduce (thi
On Tue, Jan 12, 2021 at 01:36:29PM +0800, Cindy Lu wrote:
> In vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa.
> this cb.private will finally use in vhost_vdpa_config_cb as
> vhost_vdpa. Fix this issue.
>
> Fixes: 776f395004d82 ("vhost_vdpa: Support config interrupt in vdpa")
> Ac
On Tue, Jan 12, 2021 at 01:32:27PM +0800, Cindy Lu wrote:
> In vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa.
> this cb.private will finally use in vhost_vdpa_config_cb as
> vhost_vdpa. Fix this issue.
>
> Signed-off-by: Cindy Lu
> ---
> drivers/vhost/vdpa.c | 2 +-
> 1 file ch
On Mon, Jan 11, 2021 at 9:34 AM Alan Maguire wrote:
>
> libbpf already supports a "dumper" API for dumping type information,
> but there is currently no support for dumping typed _data_ via libbpf.
> However this functionality does exist in the kernel, in part to
> facilitate the bpf_snprintf_btf(
On 1/11/21 11:14 PM, Andrii Nakryiko wrote:
On Mon, Jan 11, 2021 at 7:24 PM Yonghong Song wrote:
On 1/11/21 2:54 PM, Song Liu wrote:
On Jan 11, 2021, at 9:49 AM, Yonghong Song wrote:
On 1/8/21 3:19 PM, Song Liu wrote:
Replace hashtab with task local storage in runqslower. This im
On Mon, Jan 11, 2021 at 10:20 AM Qais Yousef wrote:
>
> Reuse module_attach infrastructure to add a new bare tracepoint to check
> we can attach to it as a raw tracepoint.
>
> Signed-off-by: Qais Yousef
> ---
>
> Andrii
>
> I was getting the error below when I was trying to run the test.
> I had
On Tue, Jan 12, 2021 at 12:26 AM Alexander Duyck
wrote:
>
> On Mon, Jan 11, 2021 at 4:45 AM Xin Long wrote:
> >
> > After commit 89319d3801d1 ("net: Add frag_list support to skb_segment"),
> > it goes to process frag_list when !hsize in skb_segment(). However, when
> > using skb frag_list, sg nor
On Mon, Jan 11, 2021 at 7:24 PM Yonghong Song wrote:
>
>
>
> On 1/11/21 2:54 PM, Song Liu wrote:
> >
> >
> >> On Jan 11, 2021, at 9:49 AM, Yonghong Song wrote:
> >>
> >>
> >>
> >> On 1/8/21 3:19 PM, Song Liu wrote:
> >>> Replace hashtab with task local storage in runqslower. This improves the
> >
From: Roi Dayan
The zone member is of type u16 so there is no reason to apply
the zone mask on it. This is also matching the call to set a
match in other places which don't need and don't apply the mask.
Signed-off-by: Roi Dayan
Reviewed-by: Paul Blakey
Signed-off-by: Saeed Mahameed
---
driv
From: Roi Dayan
miss_rule and prio_s args are not being referenced before assigned
so there is no need to init them.
Signed-off-by: Roi Dayan
Reviewed-by: Oz Shlomo
Reviewed-by: Paul Blakey
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c | 4 ++--
1
From: Tariq Toukan
Feature check functions are in the TX fast-path of all SKBs, not only
IPsec traffic.
Move the IPsec feature check function into a header and turn it inline.
Use a stub and clean the config flag condition in Eth main driver file.
Signed-off-by: Tariq Toukan
Reviewed-by: Raed S
From: Tariq Toukan
Simple code improvement, move default return operation under
the #else block.
Signed-off-by: Tariq Toukan
Reviewed-by: Huy Nguyen
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h | 4 ++--
1 file changed, 2 insertions(+), 2 dele
From: Tariq Toukan
MLX5_IPSEC_DEV() is always defined, no need to protect it under config
flag CONFIG_MLX5_EN_IPSEC, especially in slow path.
Signed-off-by: Tariq Toukan
Reviewed-by: Raed Salem
Reviewed-by: Huy Nguyen
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core
From: Tariq Toukan
All IPsec logic should be wrapped under the compile flag,
including its checksum logic.
Introduce an inline function in ipsec datapath header,
with a corresponding stub.
Signed-off-by: Tariq Toukan
Reviewed-by: Raed Salem
Reviewed-by: Huy Nguyen
Signed-off-by: Saeed Mahamee
From: Paul Blakey
Add capability bit to test whether reg_c value is preserved on
recirculation.
Signed-off-by: Paul Blakey
Signed-off-by: Maor Dickman
Reviewed-by: Roi Dayan
Signed-off-by: Saeed Mahameed
---
include/linux/mlx5/mlx5_ifc.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion
From: Jianbo Liu
Miss path handling of tc multi chain filters (i.e. filters that are
defined on chain > 0) requires the hardware to communicate to the
driver the last chain that was processed. This is possible only when
the hardware is capable of performing the combination of modify header
and fo
From: Eli Cohen
Use tunnel_stateless_mpls_over_udp instead of
MLX5_FLEX_PROTO_CW_MPLS_UDP since new devices have native support for
mpls over udp and do not rely on flex parser.
Signed-off-by: Eli Cohen
Reviewed-by: Roi Dayan
Reviewed-by: Mark Bloch
Signed-off-by: Saeed Mahameed
---
drivers
From: Eli Cohen
esw->qos.enabled will only be true if both MLX5_CAP_GEN(dev, qos) and
MLX5_CAP_QOS(dev, esw_scheduling) are true. Therefore, remove them from
the condition in and rely only on esw->qos.enabled.
Fixes: 1bd27b11c1df ("net/mlx5: Introduce E-switch QoS management")
Signed-off-by: Eli
From: Roi Dayan
No need to pass zero spec to mlx5_add_flow_rules() as the
function can handle null spec.
Signed-off-by: Roi Dayan
Reviewed-by: Oz Shlomo
Reviewed-by: Paul Blakey
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 3 +--
1 file changed, 1 i
From: Saeed Mahameed
Hi Dave, Jakub
This series provides misc updates for mlx5 driver.
v1->v2:
- Drop the +trk+new TC feature for now until we handle the module
dependency issue.
For more information please see tag log below.
Please pull and let me know if there is any problem.
Thanks,
On Fri, Jan 8, 2021 at 3:30 PM Song Liu wrote:
>
> Task local storage is enabled for tracing programs. Add a test for it
> without CONFIG_BPF_LSM.
>
> Signed-off-by: Song Liu
> ---
> .../bpf/prog_tests/test_task_local_storage.c | 34 +
> .../selftests/bpf/progs/task_local_storag
On Mon, Jan 11, 2021 at 11:30:39AM -0800, Alexander Duyck wrote:
> On Sun, Jan 10, 2021 at 7:10 AM Leon Romanovsky wrote:
> >
> > From: Leon Romanovsky
> >
> > Some SR-IOV capable devices provide an ability to configure specific
> > number of MSI-X vectors on their VF prior driver is probed on th
On Mon, Jan 11, 2021 at 5:34 PM Yonghong Song wrote:
>
>
>
> On 1/11/21 1:37 PM, Andrii Nakryiko wrote:
> > On Sun, Jan 10, 2021 at 8:15 PM Yonghong Song wrote:
> >>
> >>
> >>
> >> On 1/8/21 2:09 PM, Andrii Nakryiko wrote:
> >>> Add support for searching for ksym externs not just in vmlinux BTF,
stats_lock is no longer used. So remove it.
Signed-off-by: Lijun Pan
---
drivers/net/ethernet/ibm/ibmvnic.c | 2 --
drivers/net/ethernet/ibm/ibmvnic.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/ibm/ibmvnic.c
index f9db139f652b.
Fix the following checkpatch checks:
CHECK: Macro argument 'off' may be better as '(off)' to
avoid precedence issues
CHECK: Alignment should match open parenthesis
CHECK: multiple assignments should be avoided
CHECK: Blank lines aren't necessary before a close brace '}'
CHECK: Please use a blank li
There are several spinlock_t definitions without comments.
Add them.
Signed-off-by: Lijun Pan
---
drivers/net/ethernet/ibm/ibmvnic.h | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h
b/drivers/net/ethernet/ibm/ibmvnic.h
index c09c3
Fix the following checkpatch warnings:
WARNING: Prefer 'unsigned long' over 'unsigned long int' as the int is
unnecessary
WARNING: Prefer 'long' over 'long int' as the int is unnecessary
Signed-off-by: Lijun Pan
---
drivers/net/ethernet/ibm/ibmvnic.c | 16
1 file changed, 8 ins
Fix the following checkpatch warning:
WARNING: Avoid multiple line dereference
Signed-off-by: Lijun Pan
---
drivers/net/ethernet/ibm/ibmvnic.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/ibm/ibmv
Fix the following checkpatch warning:
WARNING: networking block comments don't use an empty /* line, use /* Comment...
Signed-off-by: Lijun Pan
---
drivers/net/ethernet/ibm/ibmvnic.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic
This series address several coding style problems.
Lijun Pan (7):
ibmvnic: prefer 'unsigned long' over 'unsigned long int'
ibmvnic: fix block comments
ibmvnic: fix braces
ibmvnic: avoid multiple line dereference
ibmvnic: fix miscellaneous checks
ibmvnic: add comments for spinlock_t def
Fix the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Lijun Pan
---
drivers/net/ethernet/ibm/ibmvnic.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/
On Mon, Jan 11, 2021 at 5:16 PM Yonghong Song wrote:
>
>
>
> On 1/11/21 12:51 PM, Andrii Nakryiko wrote:
> > On Mon, Jan 11, 2021 at 10:13 AM Yonghong Song wrote:
> >>
> >>
> >>
> >> On 1/9/21 11:03 PM, Andrii Nakryiko wrote:
> >>> Empty BTFs do come up (e.g., simple kernel modules with no new ty
On Mon, Jan 11, 2021 at 11:30:33AM -0800, Alexander Duyck wrote:
> On Sun, Jan 10, 2021 at 7:12 AM Leon Romanovsky wrote:
> >
> > From: Leon Romanovsky
> >
> > Extend PCI sysfs interface with a new callback that allows configure
> > the number of MSI-X vectors for specific SR-IO VF. This is neede
On Tue. 12 Jan 2021 at 11:14, Richard Cochran wrote:
>
> On Tue, Jan 12, 2021 at 09:00:33AM +0900, Vincent MAILHOL wrote:
> > Out of curiosity, which programs do you use? I guess wireshark
> > but please let me know if you use any other programs (I just use
> > to write a small C program to do the
On Mon, Jan 11, 2021 at 10:25:42PM -0500, Don Dutile wrote:
> On 1/11/21 2:30 PM, Alexander Duyck wrote:
> > On Sun, Jan 10, 2021 at 7:12 AM Leon Romanovsky wrote:
> > > From: Leon Romanovsky
> > >
> > > Extend PCI sysfs interface with a new callback that allows configure
> > > the number of MSI-
In vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa.
this cb.private will finally use in vhost_vdpa_config_cb as
vhost_vdpa. Fix this issue.
Fixes: 776f395004d82 ("vhost_vdpa: Support config interrupt in vdpa")
Acked-by: Jason Wang
Signed-off-by: Cindy Lu
---
drivers/vhost/vdpa.c
TID stuck is seen when there is a race in
CPL_PASS_ACCEPT_RPL/CPL_ABORT_REQ and abort is arriving
before the accept reply, which sets the queue number.
In this case HW ends up sending CPL_ABORT_RPL_RSS to an
incorrect ingress queue.
V1->V2:
- Removed the unused variable len in chtls_set_quiesce_ct
In vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa.
this cb.private will finally use in vhost_vdpa_config_cb as
vhost_vdpa. Fix this issue.
Signed-off-by: Cindy Lu
---
drivers/vhost/vdpa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/vhost/vdpa.c b/
> For T1, it seems like Master is pretty important. Do you have
> information to be able to return the current Master/slave
> configuration, or allow it to be configured? See the nxp-tja11xx.c
> for an example.
I think it's possible to return a Master/Slave configuration.
By the way, do you need
On Tue, Jan 12, 2021 at 12:48 AM Alexander Duyck
wrote:
>
> On Mon, Jan 11, 2021 at 5:22 AM Xin Long wrote:
> >
> > This patch is to let it always do CRC checksum in sctp_gso_segment()
> > by removing CRC flag from the dev features in gre_gso_segment() for
> > SCTP over GRE, just as it does in Co
s/controling/controlling/
s/oen/one/
Signed-off-by: Bhaskar Chowdhury
---
As Gustavo mentioned in reply, so included that missed one before
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvp
s/controling/controlling/p
Signed-off-by: Bhaskar Chowdhury
---
kernel/trace/trace_uprobe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c
index 3cf7128e1ad3..55c6afd8cb27 100644
--- a/kernel/trace/trace_uprobe.c
+++
s/controling/controlling/p
Signed-off-by: Bhaskar Chowdhury
---
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h
b/drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h
index 8867f25afab4..
On Tue, Jan 12, 2021 at 11:27 AM Marcelo Ricardo Leitner
wrote:
>
> On Tue, Jan 12, 2021 at 10:18:00AM +0800, 慕冬亮 wrote:
> > Dear developers,
> >
> > I find that "general protection fault in l2cap_sock_getsockopt" and
> > "general protection fault in sco_sock_getsockopt" may be duplicated
> > bugs
On Tue, Jan 12, 2021, at 14:03, Jason Wang wrote:
>
> On 2021/1/9 上午10:49, Charlie Somerville wrote:
> > This patch series introduces a new flag XDP_FLAGS_NO_TX which prevents
> > the allocation of additional send queues for XDP programs.
>
>
> This part I don't understand. Is such flag a must?
Hi All,
Any feedback on this patch.
Thank you,
Geetha.
From: Geetha sowjanya
Sent: Monday, January 4, 2021 12:50 PM
To: netdev@vger.kernel.org; linux-ker...@vger.kernel.org
Cc: Sunil Kovvuri Goutham; da...@davemloft.net; k...@kernel.org; Geethasowjanya
Hi Michael,
> From: Virtualization On
> Behalf Of Parav Pandit
> > >
> > > When we add mac address attribute in add command, at that point also
> > remove the module parameter macaddr.
> >
> > Will that be mandatory? I'm not to happy with a UAPI we intend to
> > break straight away ...
> No. Spec
> -Original Message-
> From: Alexander Duyck [mailto:alexander.du...@gmail.com]
> Sent: Tuesday, January 12, 2021 4:54 AM
> To: Li,Rongqing
> Cc: Netdev ; intel-wired-lan
> ; Björn Töpel
> Subject: Re: [PATCH] igb: avoid premature Rx buffer reuse
>
> On Wed, Jan 6, 2021 at 7:53 PM Li R
On Mon, Jan 11, 2021 at 6:39 PM Jakub Kicinski wrote:
>
> On Sun, 10 Jan 2021 21:36:24 -0800 Chris Snook wrote:
> > On Sun, Jan 10, 2021 at 9:28 PM Jakub Kicinski wrote:
> > > Jay was not active in recent years and does not have plans
> > > to return to work on ATLX drivers.
> > >
> > > Subsystem
On 1/11/21 2:30 PM, Alexander Duyck wrote:
On Sun, Jan 10, 2021 at 7:12 AM Leon Romanovsky wrote:
From: Leon Romanovsky
Extend PCI sysfs interface with a new callback that allows configure
the number of MSI-X vectors for specific SR-IO VF. This is needed
to optimize the performance of newly b
On Tue, Jan 12, 2021 at 10:18:00AM +0800, 慕冬亮 wrote:
> Dear developers,
>
> I find that "general protection fault in l2cap_sock_getsockopt" and
> "general protection fault in sco_sock_getsockopt" may be duplicated
> bugs from the same root cause.
>
> First, by comparing the PoC similarity after o
On 1/11/21 2:54 PM, Song Liu wrote:
On Jan 11, 2021, at 9:49 AM, Yonghong Song wrote:
On 1/8/21 3:19 PM, Song Liu wrote:
Replace hashtab with task local storage in runqslower. This improves the
performance of these BPF programs. The following table summarizes average
runtime of these p
On 2021/1/12 上午10:46, Cindy Lu wrote:
in vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa.
Should be "In"
this cb.private will finally use in vhost_vdpa_config_cb as
vhost_vdpa.Fix this issue
An whitespace is needed before Fix and a full stop after "issue"
Fixes: 776f39
On 2021/1/11 下午8:26, Eli Cohen wrote:
On Wed, Dec 16, 2020 at 02:48:18PM +0800, Jason Wang wrote:
This patch introduces the control virtqueue support for vDPA
simulator. This is a requirement for supporting advanced features like
multiqueue.
A requirement for control virtqueue is to isolate i
On 2021/1/9 上午10:49, Charlie Somerville wrote:
This patch series introduces a new flag XDP_FLAGS_NO_TX which prevents
the allocation of additional send queues for XDP programs.
This part I don't understand. Is such flag a must? I think the answer is
probably not.
Why not simply do:
1) if
From: Cong Wang
fl_set_enc_opt() simply checks if there are still bytes left to parse,
but this is not sufficent as syzbot seems to be able to generate
malformatted netlink messages. nla_ok() is more strict so should be
used to validate the next nlattr here.
And nla_validate_nested_deprecated()
Hi Marek,
On Mon, Jan 11, 2021 at 11:46 PM Marek Behún wrote:
>
> what modes does the LED support? Does it support blinking on rx/tx?
> What about link status?
Yes. But unfortunately they cannot be controlled individually, unless
on GPIO mode.
> I'd like to know because I am still working on pa
in vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa.
this cb.private will finally use in vhost_vdpa_config_cb as
vhost_vdpa.Fix this issue
Signed-off-by: Cindy Lu
---
drivers/vhost/vdpa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/vhost/vdpa.c b/dr
On Mon, Jan 11, 2021 at 05:32:51PM +, Alan Maguire wrote:
> The BPF Type Format (BTF) can be used in conjunction with the helper
> bpf_snprintf_btf() to display kernel data with type information.
>
> This series generalizes that support and shares it with libbpf so
> that libbpf can display ty
On Sun, 10 Jan 2021 21:36:24 -0800 Chris Snook wrote:
> On Sun, Jan 10, 2021 at 9:28 PM Jakub Kicinski wrote:
> > Jay was not active in recent years and does not have plans
> > to return to work on ATLX drivers.
> >
> > Subsystem ATLX ETHERNET DRIVERS
> > Changes 20 / 116 (17%)
> > Last activi
Hello:
This series was applied to netdev/net.git (refs/heads/master):
On Sat, 9 Jan 2021 17:18:31 -0500 you wrote:
> From: Willem de Bruijn
>
> skb frags may be backed by highmem and/or compound pages. Various
> code calls kmap_atomic to safely access highmem pages. But this
> needs additional
On Mon, 2021-01-11 at 09:22 +, YANG LI wrote:
> Fix the following coccicheck warning:
> ./drivers/net/wireless/realtek/rtw88/debug.c:800:17-23: WARNING:
> Comparison of 0/1 to bool variable
>
> Signed-off-by: YANG LI
> Reported-by: Abaci Robot---
> drivers/net/wireless/realtek/rtw88/debug.c
Dear developers,
I find that "general protection fault in l2cap_sock_getsockopt" and
"general protection fault in sco_sock_getsockopt" may be duplicated
bugs from the same root cause.
First, by comparing the PoC similarity after own minimization, we find
they share the same PoC. Second, the stack
On Sat, 9 Jan 2021 08:21:06 +0530 Ayush Sawal wrote:
> + if (skb)
> + kfree_skb(skb);
kfree_skb() handles NULL just fine
On Tue, Jan 12, 2021 at 09:00:33AM +0900, Vincent MAILHOL wrote:
> Out of curiosity, which programs do you use? I guess wireshark
> but please let me know if you use any other programs (I just use
> to write a small C program to do the stuff).
I was thinking of PTP over DeviceNET (which, in turn,
On Fri, 8 Jan 2021 16:53:40 -0800 Long Li wrote:
> From: Long Li
>
> This patch set fixes issues with packet loss on VF add/remove.
These patches are for net-next? They just optimize the amount of packet
loss on switch, not fix bugs, right?
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Fri, 8 Jan 2021 09:58:39 + you wrote:
> MSFT ActiveSync implementation requires that the size of the response for
> incoming query is to be provided in the request input length. Failure to
> set the input size proper res
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Sun, 10 Jan 2021 16:30:59 +0200 you wrote:
> From: Stefan Chulski
>
> Patch didn't fix any issue, just improve parse flow
> and align ipv4 parse flow with ipv6 parse flow.
>
> Currently ipv4 kenguru parser first check
On Mon, 2021-01-11 at 15:13 -0800, Jakub Kicinski wrote:
> On Mon, 11 Jan 2021 11:55:53 -0800 Atish Patra wrote:
> > There is no usrio config defined for default gem config leading to
> > a kernel panic devices that don't define a data. This issue can be
> > reprdouced with microchip polar fire soc
There is no usrio config defined for default gem config leading to
a kernel panic devices that don't define a data. This issue can be
reprdouced with microchip polar fire soc where compatible string
is defined as "cdns,macb".
Fixes: edac63861db7 ("net: macb: Add default usrio config to default gem
> -Original Message-
> From: Florian Fainelli
> Sent: 2021年1月12日 1:30
> To: Joakim Zhang ; peppe.cavall...@st.com;
> alexandre.tor...@st.com; joab...@synopsys.com; da...@davemloft.net;
> k...@kernel.org
> Cc: netdev@vger.kernel.org; dl-linux-imx
> Subject: Re: [PATCH 4/6] ethernet: stmma
On 1/11/21 1:37 PM, Andrii Nakryiko wrote:
On Sun, Jan 10, 2021 at 8:15 PM Yonghong Song wrote:
On 1/8/21 2:09 PM, Andrii Nakryiko wrote:
Add support for searching for ksym externs not just in vmlinux BTF, but across
all module BTFs, similarly to how it's done for CO-RE relocations. Kern
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Fri, 8 Jan 2021 22:21:04 + you wrote:
> From: Danilo Carvalho
>
> List of things fixed:
> - Two of the socket options were idented with spaces instead of tabs.
> - Trailing whitespace in some lines.
> - Impr
On 1/11/21 1:29 PM, Andrii Nakryiko wrote:
On Sun, Jan 10, 2021 at 8:13 PM Yonghong Song wrote:
On 1/8/21 2:09 PM, Andrii Nakryiko wrote:
Add support for directly accessing kernel module variables from BPF programs
using special ldimm64 instructions. This functionality builds upon vmlinu
--
Não sei se você vê minha mensagem?
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Sun, 10 Jan 2021 20:46:58 +0100 you wrote:
> This series includes improvements to handling of PLL power-down.
>
> Heiner Kallweit (3):
> r8169: enable PLL power-down for chip versions 34, 35, 36, 42
> r8169: improv
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Sun, 10 Jan 2021 21:29:22 -0800 you wrote:
> bareudp_dellink() only needs the device list to hand it to
> unregister_netdevice_queue(). We can pass NULL in, and
> unregister_netdevice_queue() will do the unregistering.
>
On 1/11/21 12:51 PM, Andrii Nakryiko wrote:
On Mon, Jan 11, 2021 at 10:13 AM Yonghong Song wrote:
On 1/9/21 11:03 PM, Andrii Nakryiko wrote:
Empty BTFs do come up (e.g., simple kernel modules with no new types and
strings, compared to the vmlinux BTF) and there is nothing technically wro
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Sat, 9 Jan 2021 23:53:26 +0100 you wrote:
> Instead of open-coding unaligned access let's use the predefined
> unaligned access helpers.
>
> Signed-off-by: Heiner Kallweit
> ---
> drivers/net/ethernet/realtek/r8169_ma
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Sat, 9 Jan 2021 22:59:08 +0100 you wrote:
> Small improvements to jumbo configuration.
>
> Heiner Kallweit (2):
> r8169: align RTL8168e jumbo pcie read request size with vendor driver
> r8169: tweak max read reques
On Tue, 12 Jan 2021 01:47:27 +0100 Andrew Lunn wrote:
> On Mon, Jan 11, 2021 at 04:36:53PM -0800, Jakub Kicinski wrote:
> > On Sun, 10 Jan 2021 21:23:02 +0200 stef...@marvell.com wrote:
> > > From: Stefan Chulski
> > >
> > > Packet Processor hardware not connected to MAC flow control unit and
>
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Fri, 8 Jan 2021 21:06:22 -0800 you wrote:
> The function was incorrectly named with a trailing 'r' at the end of
> prestera.
>
> Signed-off-by: Florian Fainelli
> ---
> Jakub, David,
>
> [...]
Here is the summary wi
From: Vladimir Oltean
Florian reported a use-after-free bug in devlink_nl_port_fill found with
KASAN:
(devlink_nl_port_fill)
(devlink_port_notify)
(devlink_port_unregister)
(dsa_switch_teardown.part.3)
(dsa_tree_teardown_switches)
(dsa_unregister_switch)
(bcm_sf2_sw_remove)
(platform_remove)
(de
On Mon, Jan 11, 2021 at 04:36:53PM -0800, Jakub Kicinski wrote:
> On Sun, 10 Jan 2021 21:23:02 +0200 stef...@marvell.com wrote:
> > From: Stefan Chulski
> >
> > Packet Processor hardware not connected to MAC flow control unit and
> > cannot support TX flow control.
> > This patch disable flow con
On Sun, 10 Jan 2021 21:23:02 +0200 stef...@marvell.com wrote:
> From: Stefan Chulski
>
> Packet Processor hardware not connected to MAC flow control unit and
> cannot support TX flow control.
> This patch disable flow control support.
>
> Fixes: 3f518509dedc ("ethernet: Add new driver for Marvel
On Sat, 2021-01-09 at 19:26 +0200, Vladimir Oltean wrote:
> From: Vladimir Oltean
>
> Some drivers need to do special tricks to comply with the new policy
> of
> ndo_get_stats64 being sleepable. For example, the bonding driver,
> which
> derives its stats from its lower interfaces, must recurse w
When calculating the window scale to use for the advertised window for a
TCP connection, adjust the size values used to extend the maximum possible
window value so that overhead is properly accounted. In other words:
convert the maximum value candidates from buffer size space into advertised
windo
> On Jan 11, 2021, at 9:30 AM, Yonghong Song wrote:
>
>
>
> On 1/8/21 3:19 PM, Song Liu wrote:
>> Task local storage is enabled for tracing programs. Add a test for it
>> without CONFIG_BPF_LSM.
>> Signed-off-by: Song Liu
>> ---
>> .../bpf/prog_tests/test_task_local_storage.c | 34 +++
On Sat, 2021-01-09 at 19:26 +0200, Vladimir Oltean wrote:
> From: Vladimir Oltean
>
> dev_get_stats can now return error codes. Convert all remaining call
> sites to look at that error code and stop processing.
>
> The effects of simulating a kernel error (returning -ENOMEM) upon
> existing prog
> On Jan 11, 2021, at 9:44 AM, KP Singh wrote:
>
> On Mon, Jan 11, 2021 at 6:31 PM Yonghong Song wrote:
>>
>>
>>
>> On 1/8/21 3:19 PM, Song Liu wrote:
>>> Task local storage is enabled for tracing programs. Add a test for it
>>> without CONFIG_BPF_LSM.
>
> Can you also explain what the te
Remove the 64KB limit imposed on the initial receive window.
The limit was added by commit a337531b942b ("tcp: up initial rmem to 128KB
and SYN rwin to around 64KB").
This change removes that limit so that the initial receive window can be
arbitrarily large (within existing limits and depending o
1 - 100 of 377 matches
Mail list logo