According to Marc the original patch has already been applied by Dave.
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=473d924d7d46cb57aa4c1863261d18366af345af
Thanks for the support & sorry for the noise!
Best regards,
Oliver
On 30/07/2019 08.43, Oliver Hartkopp
Commit 60649d4e0af6c26b ("can: remove obsolete empty ioctl() handler") replaced
the almost empty can_ioctl() function with sock_no_ioctl() which always returns
-EOPNOTSUPP.
Even though we don't have any ioctl() functions on socket/network layer we need
to return -ENOIOCTLCMD to be able to forward
On 7/29/19 10:40 PM, Oliver Hartkopp wrote:
> Commit 60649d4e0af ("can: remove obsolete empty ioctl() handler") replaced the
> almost empty can_ioctl() function with sock_no_ioctl() which always returns
> -EOPNOTSUPP.
>
> Even though we don't have any ioctl() functions on socket/network layer we
Mon, Jul 29, 2019 at 10:17:25PM CEST, dsah...@gmail.com wrote:
>On 7/27/19 3:44 AM, Jiri Pirko wrote:
>> From: Jiri Pirko
>>
>> Devlink from the beginning counts with network namespaces, but the
>> instances has been fixed to init_net. The first patch allows user
>> to move existing devlink insta
Mon, Jul 29, 2019 at 10:21:11PM CEST, dsah...@gmail.com wrote:
>On 7/27/19 4:21 AM, Jiri Pirko wrote:
diff --git a/devlink/devlink.c b/devlink/devlink.c
index d8197ea3a478..9242cc05ad0c 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -32,6 +32,7 @@
#include
Mon, Jul 29, 2019 at 08:59:06PM CEST, jakub.kicin...@netronome.com wrote:
>On Sat, 27 Jul 2019 11:44:59 +0200, Jiri Pirko wrote:
>> From: Jiri Pirko
>>
>> When user does create new netdevsim instance using sysfs bus file,
>> create the devlink instance and related netdev instance in the namespace
Mon, Jul 29, 2019 at 07:52:16PM CEST, da...@davemloft.net wrote:
>From: Jiri Pirko
>Date: Sat, 27 Jul 2019 11:44:57 +0200
>
>> +if ((netns_pid_attr && (netns_fd_attr || netns_id_attr)) ||
>> +(netns_fd_attr && (netns_pid_attr || netns_id_attr)) ||
>> +(netns_id_attr && (netns_p
> On Jul 29, 2019, at 4:09 PM, Andrii Nakryiko
> wrote:
>
> On Mon, Jul 29, 2019 at 1:37 PM Song Liu wrote:
>>
>> On Mon, Jul 29, 2019 at 1:20 PM Song Liu wrote:
>>>
>>> On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote:
This patch set implements central part of CO-RE (Com
Hi Andy,
> On Jul 27, 2019, at 11:20 AM, Song Liu wrote:
>
> Hi Andy,
>
>
Well, yes. sys_bpf() is pretty powerful.
The goal of /dev/bpf is to enable special users to call sys_bpf(). In
the meanwhile, such users should not take down the whole system easily
>>>
On Thu, Jun 27, 2019 at 11:32 PM Maxime Ripard
wrote:
>
> The phy device tree property has been deprecated in favor of phy-handle,
> let's replace it.
>
> Signed-off-by: Maxime Ripard
This patch breaks Ethernet on all my dwmac-sunxi, i.e. old GMAC, boards, with
the following error messages:
> -Original Message-
> From: David Miller
> Sent: Monday, July 29, 2019 11:34 PM
> To: Sudarsana Reddy Kalluru
> Cc: netdev@vger.kernel.org; Michal Kalderon ;
> Ariel Elior
> Subject: Re: [PATCH net-next v3 2/2] qed: Add driver API for flashing the
> config attributes.
>
> From: Sudarsa
On 2019-07-29 21:23, Andrew Lunn wrote:
But our qca8k HW can auto sync the pause status to MAC from phy with
the
auto-negotiated result.
So no need to set in qca8k_adjust_link, since there is one setting in
qca8k_port_set_status: mask |= QCA8K_PORT_STATUS_LINK_AUTO;
How does the auto-sync actu
As reproted by Sean Nyekjaer below:
When suspending, when there is still can traffic on the interfaces the
flexcan immediately wakes the platform again. As it should :-). But it
throws this error msg:
[ 3169.378661] PM: noirq suspend of devices failed
On the way down to suspend the interface that
tree:
https://kernel.googlesource.com/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 85fd8011475e86265beff7b7617c493c247f5356
commit: 171a9bae68c72f2d1260c3825203760856e6793b [57/61] staging/octeon: Allow
test build on !MIPS
config: mips-allmodconfig (attached as .config)
compiler:
在 2019/7/30 0:55, Jakub Kicinski 写道:
> On Mon, 29 Jul 2019 15:18:03 +0800, wenxu wrote:
>> On 7/29/2019 12:42 PM, Jakub Kicinski wrote:
>>> On Mon, 29 Jul 2019 10:43:56 +0800, wenxu wrote:
On 7/29/2019 4:16 AM, Jakub Kicinski wrote:
> I don't know the nft code, but it seems unlikely
From: Vlad Buslov
TC flow table is created when first flow is added, and destroyed when last
flow is removed. This assumes that all accesses to the table are externally
synchronized with rtnl lock. To remove dependency on rtnl lock, add new
mutex mlx5e_tc_table->t_lock and use it to protect the f
From: Vlad Buslov
esw->state_lock is already used to protect vlan vport configuration change.
However, all preparation and correctness checks, and code that sets vport
data are not protected by this lock and assume external synchronization by
rtnl lock. In order to remove dependency on rtnl lock,
From: Vlad Buslov
To remove dependency on rtnl lock and allow concurrent modification of
'flags' field of tc flow structure, change flow flag type to unsigned long
and use atomic bit ops for reading and changing the flags. Implement
auxiliary functions for setting, resetting and getting specific
From: Vlad Buslov
Function netdev_master_upper_dev_get() generates warning if caller doesn't
hold rtnl lock. Modify rules update path to use rcu version of that
function.
Signed-off-by: Vlad Buslov
Reviewed-by: Jianbo Liu
Reviewed-by: Roi Dayan
Signed-off-by: Saeed Mahameed
---
.../net/ethe
From: Vlad Buslov
With new classifier type that doesn't require rtnl lock, following
invariant holds:
- Filter with specified cookie created only once.
- Filter with specified cookie deleted only once.
- Stats updates can be performed in parallel to each other.
Extend tc flow with rcu and ref
From: Vlad Buslov
In order to remove dependency on rtnl lock for protecting unready_flows
list when reoffloading unready flows on workqueue, extend representor
uplink private structure with dedicated 'unready_flows_lock' mutex. Take
the lock in all users of unready_flows list before accessing it.
From: Huy Nguyen
When user enables LRO via ethtool and if the RQ mode is legacy,
mlx5e_fix_features drops the request without any explanation.
Add netdev_warn to cover this case.
Fixes: 6c3a823e1e9c ("net/mlx5e: RX, Remove HW LRO support in legacy RQ")
Signed-off-by: Huy Nguyen
Signed-off-by: S
Don't choose who implements the rxnfc "get/set" callbacks according to
CONFIG_MLX5_EN_RXNFC, instead have the callbacks always available and
delegate to a function of a different driver module when needed
(en_fs_ethtool.c), have stubs in en/fs.h to fallback to when
en_fs_ethtool.c is compiled out,
Hi Dave,
This series, mostly from Vlad, is the first part of ongoing work to
improve mlx5 tc flow handling by removing dependency on rtnl_lock and
providing a more fine-grained locking and rcu safe data structures.
For more information please see tag log below.
Please pull and let me know if the
From: Vlad Buslov
In order to remove dependency on rtnl lock, access to tc flows hashtable
must be explicitly protected from concurrent flows removal.
Extend tc flow structure with rcu to allow concurrent parallel access. Use
rcu read lock to safely lookup flow in tc flows hash table, and take
r
When disabling CQE compression in favor of time-stamping, don't show a
warning when CQE compression is already disabled.
Reviewed-by: Tariq Toukan
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --
From: Vlad Buslov
Eswitch implements its own locking by means of state_lock mutex and
multiple fine-grained lock in containing data structures, and is supposed
to not rely on rtnl lock. However, eswitch offloads num_flows type is a
regular long long integer and cannot be modified concurrently. Th
From: Eli Britstein
The helper function has "if" branches that do the same. Merge them to
simplify the code.
Signed-off-by: Eli Britstein
Reviewed-by: Roi Dayan
Signed-off-by: Saeed Mahameed
---
.../ethernet/mellanox/mlx5/core/en/tc_tun.c | 19 +++
1 file changed, 7 inserti
From: wenxu
When call flow_block_cb_is_busy. The indr_priv is guaranteed to
NULL ptr. So there is no need to call flow_bock_cb_is_busy.
Fixes: 0d4fd02e7199 ("net: flow_offload: add flow_block_cb_is_busy() and use
it")
Signed-off-by: wenxu
Signed-off-by: Saeed Mahameed
---
drivers/net/etherne
On Mon, Jul 29, 2019 at 1:48 PM Alexei Starovoitov
wrote:
>
> On Mon, Jul 29, 2019 at 09:59:12AM -0700, Petar Penkov wrote:
> > From: Petar Penkov
> >
> > This patch series introduces a BPF helper function that allows generating
> > SYN
> > cookies from BPF. Currently, this helper is enabled at
Hi Arseny,
Nice project!
On Wed, 24 Jul 2019 at 03:38, Arseny Solokha wrote:
>
> Convert gianfar to use the phylink API for better SFP modules support.
>
> The driver still uses phylib for serdes configuration over the TBI
> interface, as there seems to be no functionally equivalent API present
The -d command line argument to tdc requires the name of a physical device
on the system where the tests will be run. If -d has not been used, tdc
will skip tests that require a physical device.
This patch is intended to better document what the -d option does and how
it is used.
Signed-off-by: L
On Mon, Jul 29, 2019 at 1:37 PM Song Liu wrote:
>
> On Mon, Jul 29, 2019 at 1:20 PM Song Liu wrote:
> >
> > On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote:
> > >
> > > This patch set implements central part of CO-RE (Compile Once - Run
> > > Everywhere, see [0] and [1] for slides and vide
Build bot reports some recent TLS tests are failing
with CONFIG_TLS=n. Correct the expected return code
and skip TLS installation if not supported.
Tested with CONFIG_TLS=n and CONFIG_TLS=m.
Reported-by: kernel test robot
Fixes: cf32526c8842 ("selftests/tls: add a test for ULP but no keys")
Fixe
On 7/29/19 3:17 PM, David Miller wrote:
> David, can you take a quick look at this?
will do. I'll get back to you by tomorrow.
On Mon, 29 Jul 2019 14:53:45 -0700, Jonathan Lemon wrote:
> On 29 Jul 2019, at 14:25, Jakub Kicinski wrote:
>
> > On Mon, 29 Jul 2019 14:22:11 -0700, Jakub Kicinski wrote:
> I realize you're following the existing code, but should we perhaps
> use
> the latest kdoc syntax? '()' af
On Mon, Jul 29, 2019 at 2:24 PM David Miller wrote:
>
> From: Michael Chan
> Date: Mon, 29 Jul 2019 06:10:17 -0400
>
> > This patchset adds TPA v2 support on the 57500 chips. TPA v2 is
> > different from the legacy TPA scheme on older chips and requires major
> > refactoring and restructuring of
On 29 Jul 2019, at 14:25, Jakub Kicinski wrote:
> On Mon, 29 Jul 2019 14:22:11 -0700, Jakub Kicinski wrote:
I realize you're following the existing code, but should we perhaps
use
the latest kdoc syntax? '()' after function name, and args should have
'@' prefix, '%' would be
Ignore SOL_TCP:TCP_CONGESTION in getsockopt and always override
SOL_TCP:TCP_CONGESTION with "cubic" in setsockopt hook.
Call setsockopt(SOL_TCP, TCP_CONGESTION) with short optval ("nv")
to make sure BPF program has enough buffer space to replace it
with "cubic".
Signed-off-by: Stanislav Fomichev
Current setsockopt hook is limited to the size of the buffer that
user had supplied. Since we always allocate memory and copy the value
into kernel space, allocate just a little bit more in case BPF
program needs to override input data with a larger value.
The canonical example is TCP_CONGESTION s
Since we always allocate memory, allocate just a little bit more
for the BPF program in case it need to override user input with
bigger value. The canonical example is TCP_CONGESTION where
input string might be too small to override (nv -> bbr or cubic).
16 bytes are chosen to match the size of TC
tree:
https://kernel.googlesource.com/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 1cb9dfca39eb406960f8f84864ddd6ba329ec321
commit: 171a9bae68c72f2d1260c3825203760856e6793b [57/59] staging/octeon: Allow
test build on !MIPS
config: c6x-allyesconfig (attached as .config)
compiler:
On 29 Jul 2019, at 14:22, Jakub Kicinski wrote:
On Mon, 29 Jul 2019 14:02:21 -0700, Jonathan Lemon wrote:
On 29 Jul 2019, at 13:50, Jakub Kicinski wrote:
On Mon, 29 Jul 2019 10:19:39 -0700, Jonathan Lemon wrote:
Add skb_frag_off(), skb_frag_off_add(), skb_frag_off_set(),
and skb_frag_off_s
tree:
https://kernel.googlesource.com/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 1cb9dfca39eb406960f8f84864ddd6ba329ec321
commit: 171a9bae68c72f2d1260c3825203760856e6793b [57/59] staging/octeon: Allow
test build on !MIPS
config: sh-allmodconfig (attached as .config)
compiler: s
Takshak said in the original submission:
With different bpf attach_flags available to attach bpf programs specially
with BPF_F_ALLOW_OVERRIDE and BPF_F_ALLOW_MULTI, the list of effective
bpf-programs available to any sub-cgroups really needs to be available for
easy debugging.
Using BPF_F_QUERY_E
On Sat, 2019-07-27 at 22:59 +0800, we...@ucloud.cn wrote:
> From: wenxu
>
> When call flow_block_cb_is_busy. The indr_priv is guaranteed to
> NULL ptr. So there is no need to call flow_bock_cb_is_busy.
>
> Fixes: 0d4fd02e7199 ("net: flow_offload: add flow_block_cb_is_busy()
> and use it")
> Sign
On Mon, 29 Jul 2019 14:22:11 -0700, Jakub Kicinski wrote:
> > > I realize you're following the existing code, but should we perhaps
> > > use
> > > the latest kdoc syntax? '()' after function name, and args should have
> > > '@' prefix, '%' would be for constants.
> >
> > That would be a task
From: Jakub Kicinski
Date: Mon, 29 Jul 2019 14:22:11 -0700
> There is no need to ponder the connotations of verbs. Please just
> look at other function names in skbuff.h, especially those which
> copy fields :)
>
> static inline void skb_copy_hash(struct sk_buff *to, const struct sk_buff
> *f
From: Michael Chan
Date: Mon, 29 Jul 2019 06:10:17 -0400
> This patchset adds TPA v2 support on the 57500 chips. TPA v2 is
> different from the legacy TPA scheme on older chips and requires major
> refactoring and restructuring of the existing TPA logic. The main
> difference is that the new TP
On Mon, 29 Jul 2019 14:02:21 -0700, Jonathan Lemon wrote:
> On 29 Jul 2019, at 13:50, Jakub Kicinski wrote:
> > On Mon, 29 Jul 2019 10:19:39 -0700, Jonathan Lemon wrote:
> >> Add skb_frag_off(), skb_frag_off_add(), skb_frag_off_set(),
> >> and skb_frag_off_set_from() accessors for page_offset.
>
On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote:
>
> Add various tests validating handling compatible/incompatible integer
> types.
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
From: Su Yanjun
Date: Mon, 29 Jul 2019 10:49:51 +0800
> When we send mpls packets and the interface only has a
> manual global ipv6 address, then the two hosts cant communicate.
> I find that in ndisc_send_ns it only tries to get a ll address.
> In my case, the executive path is as below.
> ip6_o
On 7/28/19 5:09 AM, Michael Ziegler wrote:
> Hi,
>
> I created a couple "unreachable" routes on one of my systems, like such:
>
>> ip route add unreachable 10.0.0.0/8 metric 255
>> ip route add unreachable 192.168.0.0/16 metric 255
>
> Unfortunately this results in unparseable JSON output fr
On Wed, Jul 24, 2019 at 12:31 PM Andrii Nakryiko wrote:
>
> Add test validating correct relocation handling for cases where pointer
> to something is used as an array. E.g.:
>
> int *ptr = ...;
> int x = ptr[42];
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
From: Eli Cohen
Check if firmware supports the requested element type before
attempting to create the element type.
In addition, explicitly specify the request element type and tsar type.
Signed-off-by: Eli Cohen
Reviewed-by: Paul Blakey
Signed-off-by: Saeed Mahameed
---
.../net/ethernet/mel
From: Parav Pandit
Except bit toggling code, rest of the code is same to enable/disable
metadata passing functionality.
Hence, combine them to single function and control using enable flag.
Also instead of checking metadata supported at multiple places,
fold into the helper function.
Signed-off
From: Parav Pandit
First enable TSAR Qos hardware block in device before enabling its
user vports.
This refactor is needed so that vports can be enabled before their
representor netdevice can be created.
While at it, esw_create_tsar() returns error code which was used only to
print error. Howev
We don't need to handle error flow of esw_create_legacy_table() in the
same branch, it is already being handled directly after the if statement,
for both legacy and switchdev modes in one place.
Signed-off-by: Saeed Mahameed
Reviewed-by: Roi Dayan
---
drivers/net/ethernet/mellanox/mlx5/core/esw
From: Parav Pandit
Currently for PF and ECPF vports, representors are created before
their eswitch hardware ports are initialized in below flow.
mlx5_eswitch_enable()
esw_offloads_init()
esw_offloads_load_all_reps()
[..]
esw_enable_vport()
However for VFs, vports are initialized before cr
From: Parav Pandit
mc_promisc pointer points to an instance of struct esw_mc_addr allocated
as part of the esw structure.
Hence it cannot be NULL.
Removed such redundant check and assign where it is actually used.
While at it, add comment around legacy mode fields and move mc_promisc
close to ot
From: Parav Pandit
vports needs to be enabled in switchdev and legacy mode.
In switchdev mode, vports should be enabled after initializing
the FDB tables and before creating their represntors so that
representor works on an initialized vport object.
Prepare a helper function which can be called
From: Parav Pandit
Currently mlx5_load_one() perform device registration using
mlx5_register_device(). But mlx5_unload_one() doesn't unregister.
Make them symmetric by doing device unregistration in
mlx5_unload_one().
Signed-off-by: Parav Pandit
Signed-off-by: Saeed Mahameed
---
drivers/net/
From: Gavi Teitz
Add a handle to invoke the new FW capability of allocating a bulk of
flow counters.
Signed-off-by: Gavi Teitz
Reviewed-by: Vlad Buslov
Signed-off-by: Saeed Mahameed
---
.../net/ethernet/mellanox/mlx5/core/fs_cmd.c | 10 -
.../net/ethernet/mellanox/mlx5/core/fs_cmd.h
Hi All,
This series include misc updates form mlx5 core driver.
1) Eli improves the handling of the support for QoS element type
2) Gavi refactors and prepares mlx5 flow counters for bluk allocation
support
3) Parav, refactors and improves eswitch load/unload flows
4) Saeed, two misc cleanups
In
First reserved field is off by one instead of reserved_at_1 it should be
reserved_at_2, fix that.
Fixes: a12ff35e0fb7 ("net/mlx5: Introduce TLS TX offload hardware bits and
structures")
Signed-off-by: Saeed Mahameed
Reviewed-by: Leon Romanovsky
---
include/linux/mlx5/mlx5_ifc.h | 2 +-
1 file
From: Gavi Teitz
Towards introducing the ability to allocate bulks of flow counters,
refactor the flow counter bulk query process, removing functions and
structs whose names indicated being used for flow counter bulk
allocation FW commands, despite them actually only being used to
support bulk qu
On Wed, Jul 24, 2019 at 12:30 PM Andrii Nakryiko wrote:
>
> Add tests validating correct handling of various combinations of
> typedefs and const/volatile/restrict modifiers.
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
On Wed, Jul 24, 2019 at 12:31 PM Andrii Nakryiko wrote:
>
> Test CO-RE relocation handling of ints, enums, pointers, func protos, etc.
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
On Wed, Jul 24, 2019 at 1:33 PM Andrii Nakryiko wrote:
>
> Add a bunch of test validating correct handling of nested
> structs/unions.
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
On 29 Jul 2019, at 13:50, Jakub Kicinski wrote:
On Mon, 29 Jul 2019 10:19:39 -0700, Jonathan Lemon wrote:
Add skb_frag_off(), skb_frag_off_add(), skb_frag_off_set(),
and skb_frag_off_set_from() accessors for page_offset.
Signed-off-by: Jonathan Lemon
---
include/linux/skbuff.h | 61
+
On 7/28/19 5:09 AM, Michael Ziegler wrote:
> Hi,
>
> I created a couple "unreachable" routes on one of my systems, like such:
>
>> ip route add unreachable 10.0.0.0/8 metric 255
>> ip route add unreachable 192.168.0.0/16 metric 255
>
> Unfortunately this results in unparseable JSON output fr
On Fri, Jul 26, 2019 at 7:26 PM Alexei Starovoitov
wrote:
>
> On Fri, Jul 26, 2019 at 9:06 AM Toke Høiland-Jørgensen
> wrote:
> >
> > This series adds a new map type, devmap_hash, that works like the existing
> > devmap type, but using a hash-based indexing scheme. This is useful for the
> > us
From: Petr Machata
Date: Mon, 29 Jul 2019 18:26:14 +
> Spectrum systems have a configurable limit on how far into the packet they
> parse. By default, the limit is 96 bytes.
>
> An IPv6 PTP packet is layered as Ethernet/IPv6/UDP (14+40+8 bytes), and
> sequence ID of a PTP event is only avail
From: Saeed Mahameed
Date: Mon, 29 Jul 2019 18:25:26 +
> Dave let me know if you want me to take it to my branch.
Please do, thanks Saeed.
On Mon, 29 Jul 2019 10:19:39 -0700, Jonathan Lemon wrote:
> Add skb_frag_off(), skb_frag_off_add(), skb_frag_off_set(),
> and skb_frag_off_set_from() accessors for page_offset.
>
> Signed-off-by: Jonathan Lemon
> ---
> include/linux/skbuff.h | 61 ++
> 1 f
On Mon, Jul 29, 2019 at 09:59:12AM -0700, Petar Penkov wrote:
> From: Petar Penkov
>
> This patch series introduces a BPF helper function that allows generating SYN
> cookies from BPF. Currently, this helper is enabled at both the TC hook and
> the
> XDP hook.
>
> The first two patches in the s
Commit 60649d4e0af ("can: remove obsolete empty ioctl() handler") replaced the
almost empty can_ioctl() function with sock_no_ioctl() which always returns
-EOPNOTSUPP.
Even though we don't have any ioctl() functions on socket/network layer we need
to return -ENOIOCTLCMD to be able to forward ioctl
On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote:
>
> Add tests verifying that BPF program can use various struct/union
> "flavors" to extract data from the same target struct/union.
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
On Mon, Jul 29, 2019 at 1:20 PM Song Liu wrote:
>
> On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote:
> >
> > This patch set implements central part of CO-RE (Compile Once - Run
> > Everywhere, see [0] and [1] for slides and video): relocating field offsets.
> > Most of the details are writt
On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote:
>
> Add CO-RE relocation test runner. Add one simple test validating that
> libbpf's logic for searching for kernel image and loading BTF out of it
> works.
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
On 7/27/19 4:21 AM, Jiri Pirko wrote:
>>> diff --git a/devlink/devlink.c b/devlink/devlink.c
>>> index d8197ea3a478..9242cc05ad0c 100644
>>> --- a/devlink/devlink.c
>>> +++ b/devlink/devlink.c
>>> @@ -32,6 +32,7 @@
>>> #include "mnlg.h"
>>> #include "json_writer.h"
>>> #include "utils.h"
>>> +#i
On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote:
>
> This patch set implements central part of CO-RE (Compile Once - Run
> Everywhere, see [0] and [1] for slides and video): relocating field offsets.
> Most of the details are written down as comments to corresponding parts of the
> code.
>
>
subject line should have iproute2-next
On 7/27/19 3:44 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Devlink from the beginning counts with network namespaces, but the
> instances has been fixed to init_net. The first patch allows user
> to move existing devlink instances into namespaces:
>
so you intend for an asic, for example, to
> On Jul 26, 2019, at 10:11 PM, Andrii Nakryiko
> wrote:
>
> On Wed, Jul 24, 2019 at 10:20 PM Song Liu wrote:
>>
>>
>>
>>> On Jul 24, 2019, at 5:37 PM, Andrii Nakryiko
>>> wrote:
>>>
>>> On Wed, Jul 24, 2019 at 5:00 PM Song Liu wrote:
> On Jul 24, 2019, at 12:27
> On Jul 24, 2019, at 12:27 PM, Andrii Nakryiko wrote:
>
> This patch implements the core logic for BPF CO-RE offsets relocations.
> All the details are described in code comments.
>
> Signed-off-by: Andrii Nakryiko
> ---
> tools/lib/bpf/libbpf.c | 866 +++
On Mon, Jul 29, 2019 at 06:26:14PM +, Petr Machata wrote:
> Spectrum systems have a configurable limit on how far into the packet they
> parse. By default, the limit is 96 bytes.
>
> An IPv6 PTP packet is layered as Ethernet/IPv6/UDP (14+40+8 bytes), and
> sequence ID of a PTP event is only av
On Sat, 27 Jul 2019 11:44:59 +0200, Jiri Pirko wrote:
> From: Jiri Pirko
>
> When user does create new netdevsim instance using sysfs bus file,
> create the devlink instance and related netdev instance in the namespace
> of the caller.
>
> Signed-off-by: Jiri Pirko
> diff --git a/drivers/net/n
On 7/29/19 6:12 AM, Neal Cardwell wrote:
On Sun, Jul 28, 2019 at 5:14 PM Josh Hunt wrote:
On 7/28/19 6:54 AM, Eric Dumazet wrote:
On Sun, Jul 28, 2019 at 1:21 AM Josh Hunt wrote:
On 7/27/19 12:05 AM, Eric Dumazet wrote:
On Sat, Jul 27, 2019 at 4:23 AM Josh Hunt wrote:
The current imple
Spectrum systems have a configurable limit on how far into the packet they
parse. By default, the limit is 96 bytes.
An IPv6 PTP packet is layered as Ethernet/IPv6/UDP (14+40+8 bytes), and
sequence ID of a PTP event is only available 32 bytes into payload, for a
total of 94 bytes. When an addition
On Sat, 2019-07-27 at 22:59 +0800, we...@ucloud.cn wrote:
> From: wenxu
>
> When call flow_block_cb_is_busy. The indr_priv is guaranteed to
> NULL ptr. So there is no need to call flow_bock_cb_is_busy.
>
> Fixes: 0d4fd02e7199 ("net: flow_offload: add flow_block_cb_is_busy()
> and use it")
> Sign
David Miller writes:
> From: Ido Schimmel
> Date: Sat, 27 Jul 2019 20:35:32 +0300
>
>> @@ -979,19 +979,36 @@ static int mlxsw_sp1_ptp_mtpppc_update(struct
>> mlxsw_sp_port *mlxsw_sp_port,
>> {
>> struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp;
>> struct mlxsw_sp_port *tmp;
>>
From: Jiri Pirko
Date: Sun, 28 Jul 2019 14:56:36 +0200
> From: Jiri Pirko
>
> Commit aca51397d014 ("netns: Fix arbitrary net_device-s corruptions
> on net_ns stop.") introduced a possibility to hit a BUG in case device
> is returning back to init_net and two following conditions are met:
> 1) d
Konstantin
On 7/29/19 6:19 AM, FIXED-TERM Buecheler Konstantin (ETAS-SEC/ECT-Mu) wrote:
Hi all,
I am currently working on a project where I am trying to use the tcan4550 chip
with a Raspberry PI 3B.
I am struggling to create a working device tree overlay file for the Raspberry
Pi.
Has anyone
From: Heiner Kallweit
Date: Sun, 28 Jul 2019 11:25:19 +0200
> There was a previous attempt to use xmit_more, but the change had to be
> reverted because under load sometimes a transmit timeout occurred [0].
> Maybe this was caused by a missing memory barrier, the new attempt
> keeps the memory ba
From: Sudarsana Reddy Kalluru
Date: Sat, 27 Jul 2019 18:55:49 -0700
> @@ -2268,6 +2330,9 @@ static int qed_nvm_flash(struct qed_dev *cdev, const
> char *name)
> rc = qed_nvm_flash_image_access(cdev, &data,
> &check_resp)
From: we...@ucloud.cn
Date: Sat, 27 Jul 2019 22:59:55 +0800
> From: wenxu
>
> When call flow_block_cb_is_busy. The indr_priv is guaranteed to
> NULL ptr. So there is no need to call flow_bock_cb_is_busy.
>
> Fixes: 0d4fd02e7199 ("net: flow_offload: add flow_block_cb_is_busy() and use
> it")
>
From: Ido Schimmel
Date: Sat, 27 Jul 2019 20:35:32 +0300
> @@ -979,19 +979,36 @@ static int mlxsw_sp1_ptp_mtpppc_update(struct
> mlxsw_sp_port *mlxsw_sp_port,
> {
> struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp;
> struct mlxsw_sp_port *tmp;
> + u16 orig_ing_types = 0;
> +
This series adds support for Microchip KSZ87xx switches, which are
slightly simpler compared to KSZ9xxx .
Signed-off-by: Marek Vasut
Cc: Andrew Lunn
Cc: David S. Miller
Cc: Florian Fainelli
Cc: Tristram Ha
Cc: Vivien Didelot
Cc: Woojung Huh
Marek Vasut (1):
dt-bindings: net: dsa: ksz: do
From: Tristram Ha
Add Microchip KSZ8795 DSA driver.
Signed-off-by: Tristram Ha
Signed-off-by: Marek Vasut
Cc: Andrew Lunn
Cc: David S. Miller
Cc: Florian Fainelli
Cc: Tristram Ha
Cc: Vivien Didelot
Cc: Woojung Huh
---
V2: - Use reverse xmas tree for variable declaration
- Use BIT() m
1 - 100 of 197 matches
Mail list logo