On Fri, Jun 21, 2019 at 03:30:20PM -0700, Shannon Nelson wrote:
> On 6/20/19 7:32 PM, Michal Kubecek wrote:
> > On Thu, Jun 20, 2019 at 01:24:19PM -0700, Shannon Nelson wrote:
> > > + if (ring->tx_pending > IONIC_MAX_TXRX_DESC ||
> > > + ring->tx_pending < IONIC_MIN_TXRX_DESC ||
> > > + rin
On Sunday, June 06/23/19, 2019 at 11:34:23 -0700, David Miller wrote:
> From: Raju Rangoju
> Date: Fri, 21 Jun 2019 20:06:33 +0530
>
> > +struct mps_entries_ref {
> > + struct list_head list;
> > + u8 addr[ETH_ALEN];
> > + u8 mask[ETH_ALEN];
> > + u16 idx;
> > + atomic_t refcnt;
> > +};
On 2019/06/23 10:59, David Miller wrote:
> From: Benjamin Poirier
> Date: Mon, 17 Jun 2019 16:48:52 +0900
>
> > Signed-off-by: Benjamin Poirier
> > ---
> > drivers/net/ethernet/qlogic/qlge/qlge.h | 6 ++
> > drivers/net/ethernet/qlogic/qlge/qlge_main.c | 18 ++
> > 2 f
This patch is to fix an uninit-value issue, reported by syzbot:
BUG: KMSAN: uninit-value in memchr+0xce/0x110 lib/string.c:981
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x191/0x1f0 lib/dump_stack.c:113
kmsan_report+0x130/0x2a0 mm/kmsan/kmsan.c:622
__msan_
tipc_nl_compat_bearer_set() is only called by tipc_nl_compat_link_set()
which already does the check for msg->req check, so remove it from
tipc_nl_compat_bearer_set(), and do the same in tipc_nl_compat_media_set().
Signed-off-by: Xin Long
---
net/tipc/netlink_compat.c | 10 --
1 file cha
On 6/24/19 12:59 AM, Xin Long wrote:
> This patch is to fix an uninit-value issue, reported by syzbot:
>
> BUG: KMSAN: uninit-value in memchr+0xce/0x110 lib/string.c:981
> Call Trace:
> __dump_stack lib/dump_stack.c:77 [inline]
> dump_stack+0x191/0x1f0 lib/dump_stack.c:113
> kms
Remove existing mps refcounting code which was
added only for encap filters and add necessary
data structures/functions to support mps reference
counting for all the mac filters. Also add wrapper
functions for allocating and freeing encap mac
filters.
Signed-off-by: Raju Rangoju
---
drivers/net/
This patch adds TCAM reference counting
support for raw mac filters.
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 16 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 46 ++
2 files changed, 62 insertions(+)
diff --git a/driv
Firmware reference counts the MPS TCAM entries by PF and VF,
but it does not do it for usage within a PF or VF. This patch
adds the support to track MPS TCAM entries within a PF.
v1->v2:
Use refcount_t type instead of atomic_t for mps reference count
Raju Rangoju (4):
cxgb4: Re-work the logic
This patch adds reference counting support for
alloc/free mac filters
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 6 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 12 +++--
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 72 +++
This patch adds TCAM reference counting
support for cxgb4 change mac path
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 7 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 14 +++---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 15 ++
On 21 Jun 2019, at 21:13, Andrii Nakryiko wrote:
On Fri, Jun 21, 2019 at 8:26 AM Eelco Chaudron
wrote:
When an AF_XDP application received X packets, it does not mean X
frames can be stuffed into the producer ring. To make it easier for
AF_XDP applications this API allows them to check how
syzbot found we can leak memory in packet_set_ring(), if user application
provides buggy parameters.
Fixes: 7f953ab2ba46 ("af_packet: TX_RING support for TPACKET_V3")
Signed-off-by: Eric Dumazet
Cc: Sowmini Varadhan
Reported-by: syzbot
---
net/packet/af_packet.c | 3 ++-
1 file changed, 2 inse
On Fri, 21 Jun 2019 at 22:55, Eric Leblond wrote:
>
> Fix documentation that mention xdpsock_kern.c which has been
> replaced by code embedded in libbpf.
>
> Signed-off-by: Eric Leblond
Thanks Eric!
Acked-by: Björn Töpel
> ---
> Documentation/networking/af_xdp.rst | 16 +++-
> 1
On Mon, Jun 24, 2019 at 11:53 AM Eelco Chaudron wrote:
>
>
>
> On 21 Jun 2019, at 21:13, Andrii Nakryiko wrote:
>
> > On Fri, Jun 21, 2019 at 8:26 AM Eelco Chaudron
> > wrote:
> >>
> >> When an AF_XDP application received X packets, it does not mean X
> >> frames can be stuffed into the producer
Several casts were required around dpi_addr parameter in qed_rdma_if.h
This is an address on the doorbell bar and should therefore be marked
with __iomem.
Reported-by: Jason Gunthorpe
Signed-off-by: Michal Kalderon
---
drivers/infiniband/hw/qedr/main.c | 2 +-
drivers/infiniband/hw/qed
This patch adds the iWARP specific doorbells to the doorbell
recovery mechanism
Signed-off-by: Ariel Elior
Signed-off-by: Michal Kalderon
---
drivers/infiniband/hw/qedr/qedr.h | 12 +++-
drivers/infiniband/hw/qedr/verbs.c | 37 -
2 files changed, 43
This patch series used the doorbell overflow recovery mechanism
introduced in
commit 36907cd5cd72 ("qed: Add doorbell overflow recovery mechanism")
for rdma ( RoCE and iWARP )
rdma-core pull request #493
Changes from V3:
- Remove casts from void to u8. Pointer arithmetic can be done on void
- reb
Use the doorbell recovery mechanism to register rdma related doorbells
that will be restored in case there is a doorbell overflow attention.
Signed-off-by: Ariel Elior
Signed-off-by: Michal Kalderon
---
drivers/infiniband/hw/qedr/qedr.h | 13 +-
drivers/infiniband/hw/qedr/verbs.c | 351 ++
From: Ido Schimmel
This patchset from Vadim includes various enhancements to thermal and
hwmon code in mlxsw.
Patch #1 adds a thermal zone for each inter-connect device (gearbox).
These devices are present in SN3800 systems and code to expose their
temperature via hwmon was added in commit 2e265
From: Vadim Pasternak
Add a dedicated thermal zone for each inter-connect device. The
current temperature is obtained from inter-connect temperature sensor
and the default trip points are set to the same values as default ASIC
trip points. These settings could be changed from the user space.
A co
From: Vadim Pasternak
Extend macros MLXSW_REG_MTMP_TEMP_TO_MC() to allow support of negative
temperature readout, since chip and others thermal components are
capable of operating within the negative temperature.
With no such support negative temperature will be consider as very high
temperature
From: Vadim Pasternak
When multiple sensors are mapped to the same cooling device, the
cooling device should be set according the worst sensor from the
sensors associated with this cooling device.
Provide the hottest thermal zone detection and enforce cooling device
to follow the temperature tre
> From: Jason Gunthorpe
> Sent: Friday, June 21, 2019 10:58 PM
>
> External Email
>
> --
> On Fri, Jun 21, 2019 at 07:49:39PM +, Michal Kalderon wrote:
> > > From: linux-rdma-ow...@vger.kernel.org > > ow...@vger.kernel.org>
>
>> Devlink has just gained something similar to ethtool -i. Maybe we
>> should get the devlink core to also report the kernel version?
>
> I don't think we have the driver version at all there, my usual
> inclination being to not duplicate information across APIs. Do we
> have non-hypothetic
>> + increase the MTU size. For example:
>> +
>> +ifconfig mtu 16000 up
>
> ifconfig has been deprecated for many years. Please document the
> iproute2 command.
Thanks for review, Andrew, yep, will update that.
>> + supports-priv-flags: no
>
> Shouldn't there be 5.2-rc5 in here some
Currently, each xdp samples are inconsistent in the use.
Most of the samples fetch the interface with it's name.
(ex. xdp1, xdp2skb, xdp_redirect, xdp_sample_pkts, etc.)
But only xdp_adjst_tail and xdp_tx_iptunnel fetch the interface with
ifindex by command argument.
This commit enables those two
Mon, Jun 24, 2019 at 12:32:01PM CEST, ido...@idosch.org wrote:
>From: Vadim Pasternak
>
>Add a dedicated thermal zone for each inter-connect device. The
>current temperature is obtained from inter-connect temperature sensor
>and the default trip points are set to the same values as default ASIC
>t
Mon, Jun 24, 2019 at 12:32:03PM CEST, ido...@idosch.org wrote:
>From: Vadim Pasternak
>
>Extend macros MLXSW_REG_MTMP_TEMP_TO_MC() to allow support of negative
>temperature readout, since chip and others thermal components are
>capable of operating within the negative temperature.
>With no such su
On Tue, Jun 18, 2019 at 08:15:36PM +0300, Leon Romanovsky wrote:
> From: Yishai Hadas
>
> Introduce MLX5_IB_OBJECT_DEVX_ASYNC_EVENT_FD and its initial
> implementation.
>
> This object is from type class FD and will be used to read DEVX
> async events.
>
> Signed-off-by: Yishai Hadas
> Signed-
On Tue, Jun 18, 2019 at 08:15:37PM +0300, Leon Romanovsky wrote:
> void __mlx5_ib_remove(struct mlx5_ib_dev *dev,
> diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h
> b/drivers/infiniband/hw/mlx5/mlx5_ib.h
> index 9cf23ae6324e..556af34b788b 100644
> +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h
> @
On Tue, Jun 18, 2019 at 08:15:38PM +0300, Leon Romanovsky wrote:
> From: Yishai Hadas
>
> Enable subscription for device events over DEVX.
>
> Each subscription is added to the two level XA data structure according
> to its event number and the DEVX object information in case was given
> with th
On Tue, Jun 18, 2019 at 08:15:39PM +0300, Leon Romanovsky wrote:
> From: Yishai Hadas
>
> Implement DEVX dispatching event by looking up for the applicable
> subscriptions for the reported event and using their target fd to
> signal/set the event.
>
> Signed-off-by: Yishai Hadas
> Signed-off-by
On Tue, Jun 18, 2019 at 08:15:40PM +0300, Leon Romanovsky wrote:
> From: Yishai Hadas
>
> Add DEVX support for CQ events by creating and destroying the CQ via
> mlx5_core and set an handler to manage its completions.
>
> Signed-off-by: Yishai Hadas
> Signed-off-by: Leon Romanovsky
> drivers/i
On 6/24/2019 2:51 PM, Jason Gunthorpe wrote:
On Tue, Jun 18, 2019 at 08:15:36PM +0300, Leon Romanovsky wrote:
From: Yishai Hadas
Introduce MLX5_IB_OBJECT_DEVX_ASYNC_EVENT_FD and its initial
implementation.
This object is from type class FD and will be used to read DEVX
async events.
Signed-o
On 6/24/2019 2:52 PM, Jason Gunthorpe wrote:
On Tue, Jun 18, 2019 at 08:15:37PM +0300, Leon Romanovsky wrote:
void __mlx5_ib_remove(struct mlx5_ib_dev *dev,
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h
b/drivers/infiniband/hw/mlx5/mlx5_ib.h
index 9cf23ae6324e..556af34b788b 100644
+++ b/d
On 06/19/2019 09:01 PM, Stanislav Fomichev wrote:
> Commit 1dc92851849c ("bpf: kernel side support for BTF Var and DataSec")
> added invocations of btf_type_is_resolve_source_only before
> btf_type_nosize_or_null which checks for the NULL pointer.
> Swap the order of btf_type_nosize_or_null and
> b
The first patch prepares the fix, it constify rt6_nexthop().
The detail of the bug is explained in the second patch.
v1 -> v2:
- fix compilation warnings
- split the initial patch
drivers/net/vrf.c| 2 +-
include/net/ip6_route.h | 4 ++--
net/bluetooth/6lowpan.c
There is no functional change in this patch, it only prepares the next one.
rt6_nexthop() will be used by ip6_dst_lookup_neigh(), which uses const
variables.
Signed-off-by: Nicolas Dichtel
---
drivers/net/vrf.c| 2 +-
include/net/ip6_route.h | 4 ++--
net/bluetooth/6low
The scenario is the following: the user uses a raw socket to send an ipv6
packet, destinated to a not-connected network, and specify a connected nh.
Here is the corresponding python script to reproduce this scenario:
import socket
IPPROTO_RAW = 255
send_s = socket.socket(socket.AF_INET6, socket
On 06/20/2019 08:58 AM, Prashant Bhole wrote:
> When we terminate xdp_redirect, it ends up with following message:
> "Program on iface OUT changed, not removing"
> This results in dummy prog still attached to OUT interface.
> It is because signal handler checks if the programs are the same that
> w
From: Jakub Kicinski
Date: Sun, 23 Jun 2019 21:26:58 -0700
> From: Dirk van der Merwe
>
> With commit 94850257cf0f ("tls: Fix tls_device handling of partial records")
> a new path was introduced to cleanup partial records during sk_proto_close.
> This path does not handle the SW KTLS tx_list cl
On 06/22/2019 12:33 AM, Takshak Chahande wrote:
> 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.
>
> U
From: john.rutherf...@dektech.com.au
Date: Mon, 24 Jun 2019 16:44:35 +1000
> Since node internal messages are passed directly to socket it is not
> possible to observe this message exchange via tcpdump or wireshark.
>
> We now remedy this by making it possible to clone such messages and send
> th
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> Currently, the dma, addr and handle are modified when we reuse Rx buffers
> in zero-copy mode. However, this is not required as the inputs to the
> function are copies, not the original values themselves. As we use the
> copies within the functi
From: John Rutherford
Date: Mon, 24 Jun 2019 14:01:23 +1000
> Fix misalignment of policy statement in netlink.c due to automatic
> spatch code transformation.
>
> Fixes: 3b0f31f2b8c9 ("genetlink: make policy common to family")
> Acked-by: Jon Maloy
> Signed-off-by: John Rutherford
Applied.
On Mon, Jun 24, 2019 at 04:25:37PM +0300, Yishai Hadas wrote:
> On 6/24/2019 2:51 PM, Jason Gunthorpe wrote:
> > On Tue, Jun 18, 2019 at 08:15:36PM +0300, Leon Romanovsky wrote:
> > > From: Yishai Hadas
> > >
> > > Introduce MLX5_IB_OBJECT_DEVX_ASYNC_EVENT_FD and its initial
> > > implementation.
On Mon, Jun 24, 2019 at 04:36:44PM +0300, Yishai Hadas wrote:
> On 6/24/2019 2:52 PM, Jason Gunthorpe wrote:
> > On Tue, Jun 18, 2019 at 08:15:37PM +0300, Leon Romanovsky wrote:
> > > void __mlx5_ib_remove(struct mlx5_ib_dev *dev,
> > > diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h
> > > b/d
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> Currently, the dma, addr and handle are modified when we reuse Rx buffers
> in zero-copy mode. However, this is not required as the inputs to the
> function are copies, not the original values themselves. As we use the
> copies within the functi
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> This patch adds an offset parameter for zero_copy_allocator.
>
> This change is required for the unaligned chunk mode which will come later
> in this patch set. The offset parameter is required for calculating the
> original handle in unaligned
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> This patch adds the offset param to for zero_copy_allocator to
> i40e_zca_free. This change is required to calculate the handle, otherwise,
> this function will not work in unaligned chunk mode since we can't easily mask
> back to the original h
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> This patch adds the offset param to for zero_copy_allocator to
> ixgbe_zca_free. This change is required to calculate the handle, otherwise,
> this function will not work in unaligned chunk mode since we can't easily mask
> back to the original
From: Xin Long
Date: Mon, 24 Jun 2019 16:02:42 +0800
> tipc_nl_compat_bearer_set() is only called by tipc_nl_compat_link_set()
> which already does the check for msg->req check, so remove it from
> tipc_nl_compat_bearer_set(), and do the same in tipc_nl_compat_media_set().
>
> Signed-off-by: Xin
On 2019-06-21 1:58 p.m., Joe Stringer wrote:
Hi folks, picking this up again..
[..]
During LSFMM, it seemed like no-one knew quite why the skb_orphan() is
necessary in that path in the current version of the code, and that we
may be able to remove it. Florian, I know you weren't in the room for
On 06/20/2019 11:13 AM, Björn Töpel wrote:
> On Tue, 18 Jun 2019 at 14:00, Maxim Mikityanskiy wrote:
>>
>> This series contains improvements to the AF_XDP kernel infrastructure
>> and AF_XDP support in mlx5e. The infrastructure improvements are
>> required for mlx5e, but also some of them benefit
From: Raju Rangoju
Date: Mon, 24 Jun 2019 14:20:33 +0530
> Firmware reference counts the MPS TCAM entries by PF and VF,
> but it does not do it for usage within a PF or VF. This patch
> adds the support to track MPS TCAM entries within a PF.
>
> v1->v2:
> Use refcount_t type instead of atomic_t
Here by I am sending my current patches for review.
I want to know if I am on the right track.
1. 0001-net-dsa-mt7530-Convert-to-PHYLINK-API.patch
This patch converts mt7530 to PHYLINK API.
2. 0002-dt-bindings-net-dsa-mt7530-Add-support-for-port-5.patch
3. 0003-net-dsa-mt7530-Add-support-for-po
On some platforum the external phy can only interface to the port 5 of the
switch because the RGMII TX and RX lines are swapped. But it still can be
useful to use the internal phy of the switch to act as a WAN port which
connectes to the 2nd GMAC. This gives WAN port dedicated bandwidth to
the SOC.
On some platforms the external phy can only interface with the port 5 of
the switch because the xMII TX and RX lines are swapped. But it still can
be useful to use the internal phy of the switch to act as a WAN port which
connectes to the 2nd GMAC. This gives the SOC a double the bandwidth
between
From: David Miller
Date: Mon, 24 Jun 2019 07:51:32 -0700 (PDT)
> From: Raju Rangoju
> Date: Mon, 24 Jun 2019 14:20:33 +0530
>
>> Firmware reference counts the MPS TCAM entries by PF and VF,
>> but it does not do it for usage within a PF or VF. This patch
>> adds the support to track MPS TCAM en
MT7530 port 5 has many modes/configurations.
Update the documentation how to use port 5.
Signed-off-by: René van Dorst
CC: devicet...@vger.kernel.org
---
.../devicetree/bindings/net/dsa/mt7530.txt| 215 ++
1 file changed, 215 insertions(+)
diff --git a/Documentation/devicetr
Adding support for port 5.
Port 5 ca muxed/interface to:
- internal 5th GMAC of the switch; can be used as 2nd CPU port or as
extra port with an external phy for a 6th ethernet port.
- internal PHY of port 0 or 4; Used in most applications so that port 0
or 4 is the WAN port and interfaces wit
Convert mt7530 to PHYLINK API
Signed-off-by: René van Dorst
---
drivers/net/dsa/mt7530.c | 237 +--
drivers/net/dsa/mt7530.h | 9 ++
2 files changed, 187 insertions(+), 59 deletions(-)
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c
index 3
From: David Miller
Date: Mon, 24 Jun 2019 07:53:23 -0700 (PDT)
> You just changed it to a refcount_t and didn't try compiling the
> result?
You also need to fix this, which I tried to take care of this time:
Applying: cxgb4: Re-work the logic for mps refcounting
.git/rebase-apply/patch:291: new
On 06/21/2019 10:13 PM, Eric Leblond wrote:
> Fix documentation that mention xdpsock_kern.c which has been
> replaced by code embedded in libbpf.
>
> Signed-off-by: Eric Leblond
Applied, thanks!
From: Eric Dumazet
Date: Mon, 24 Jun 2019 02:38:20 -0700
> syzbot found we can leak memory in packet_set_ring(), if user application
> provides buggy parameters.
>
> Fixes: 7f953ab2ba46 ("af_packet: TX_RING support for TPACKET_V3")
> Signed-off-by: Eric Dumazet
> Cc: Sowmini Varadhan
> Reporte
From: Igor Russkikh
Date: Mon, 24 Jun 2019 11:02:54 +
>
>>
>>> Devlink has just gained something similar to ethtool -i. Maybe we
>>> should get the devlink core to also report the kernel version?
>>
>> I don't think we have the driver version at all there, my usual
>> inclination being to
Document contains configuration options description,
details and examples of driver various settings.
Signed-off-by: Igor Russkikh
---
.../device_drivers/aquantia/atlantic.txt | 437 ++
1 file changed, 437 insertions(+)
create mode 100644
Documentation/networking/device_dr
It was noticed some files had -or-later, however overall driver has
-only license. Clean this up.
Signed-off-by: Igor Russkikh
---
drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c | 2 +-
drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.h | 2 +-
drivers/net/ethernet/aquantia/atlantic/aq_fil
Aquantia is resposible now for all new features and bugfixes.
Reflect that in MAINTAINERS.
Signed-off-by: Igor Russkikh
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 606d1f80bc49..82f762ddbe7a 100644
--- a/MAINTAINERS
+++ b/MAINTAINE
Updating features and vlan_features with vlan HW offload.
Added vlan_tag fields to rx/tx ring_buff to track vlan related data.
Tested-by: Nikita Danilov
Signed-off-by: Igor Russkikh
---
drivers/net/ethernet/aquantia/atlantic/aq_nic.c| 9 ++---
drivers/net/ethernet/aquantia/atlantic
Register declaration macros required to work with vlan offload mode.
Tested-by: Nikita Danilov
Signed-off-by: Igor Russkikh
---
.../atlantic/hw_atl/hw_atl_b0_internal.h | 7 +++
.../aquantia/atlantic/hw_atl/hw_atl_llh.c | 16
.../aquantia/atlantic/hw_atl/hw_atl_
As it was discussed some time previously, driver is better to
report kernel version string, as it in a best way identifies
the codebase.
Signed-off-by: Igor Russkikh
---
drivers/net/ethernet/aquantia/atlantic/aq_cfg.h | 7 +++
drivers/net/ethernet/aquantia/atlantic/ver.h| 5 -
2 file
This patchset introduces hardware VLAN offload support and also does some
maintenance: we replace driver version with uts version string, add
documentation file for atlantic driver, and update maintainers
adding Igor as a maintainer.
v2: updates in doc, gpl spdx tag cleanup
Igor Russkikh (8):
n
Update datapath by adding logic related to hardware assisted
vlan strip/insert behaviour.
Tested-by: Nikita Danilov
Signed-off-by: Igor Russkikh
---
.../net/ethernet/aquantia/atlantic/aq_nic.c | 23 +---
.../net/ethernet/aquantia/atlantic/aq_ring.c | 4 ++
.../aquantia/atlantic/hw_atl/h
set_features should update flags and reinit hardware if
vlan offload settings were changed.
Signed-off-by: Igor Russkikh
Tested-by: Nikita Danilov
---
.../net/ethernet/aquantia/atlantic/aq_main.c | 34 +++
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/drivers/n
iptables commit 933400b37d09 ("nft: xtables: add the infrastructure to
translate from iptables to nft")
added an additional member to struct xtables_match and struct xtables_target.
This change is available for libxtables12 and up.
Add these members conditionally to support both newer and older v
From: Ido Schimmel
Date: Mon, 24 Jun 2019 13:32:00 +0300
> From: Ido Schimmel
>
> This patchset from Vadim includes various enhancements to thermal and
> hwmon code in mlxsw.
>
> Patch #1 adds a thermal zone for each inter-connect device (gearbox).
> These devices are present in SN3800 systems
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> Currently, addresses are chunk size aligned. This means, we are very
> restricted in terms of where we can place chunk within the umem. For
> example, if we have a chunk size of 2k, then our chunks can only be placed
> at 0,2k,4k,6k,8k... and so
On Thu, 20 Jun 2019 at 19:26, Kevin Laatz wrote:
>
> This patch adds a 'flags' field to the umem_config and umem_reg structs.
> This will allow for more options to be added for configuring umems.
>
> The first use for the flags field is to add a flag for unaligned chunks
> mode. These flags can ei
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> This patch adds support for the unaligned chunks mode. The addition of the
> unaligned chunks option will allow users to run the application with more
> relaxed chunk placement in the XDP umem.
>
> Unaligned chunks mode can be used with the '-u'
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> The addition of unaligned chunks mode, the documentation needs to be
> updated to indicate that the incoming addr to the fill ring will only be
> masked if the user application is run in the aligned chunk mode. This patch
> also adds a line to e
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> This patch adds buffer recycling support for unaligned buffers. Since we
> don't mask the addr to 2k at umem_teg in unaligned mode, we need to make
> sure we give back the correct, original addr to the fill queue. To do this,
> we need to mask t
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote:
>
> This patch modifies xdpsock to use mmap instead of posix_memalign. With
> this change, we can use hugepages when running the application in unaligned
> chunks mode. Using hugepages makes it more likely that we have physically
> contiguous memory
On Thu, 20 Jun 2019 at 18:55, Kevin Laatz wrote:
>
> This patchset adds the ability to use unaligned chunks in the XDP umem.
>
> Currently, all chunk addresses passed to the umem are masked to be chunk
> size aligned (default is 2k, max is PAGE_SIZE). This limits where we can
> place chunks within
Hi,
On Mon, Jun 24, 2019 at 04:52:47PM +0200, René van Dorst wrote:
> Convert mt7530 to PHYLINK API
>
> Signed-off-by: René van Dorst
> ---
> drivers/net/dsa/mt7530.c | 237 +--
> drivers/net/dsa/mt7530.h | 9 ++
> 2 files changed, 187 insertions(+), 59 del
Hi Raju,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Raju-Rangoju/cxgb4-Reference-count-MPS-TCAM-entries-within-a-PF/20190624-230630
config: ia64-allmodconfig (attached as .config)
compiler: ia64
On Mon, Jun 24, 2019 at 10:35 PM David Miller wrote:
>
> From: Xin Long
> Date: Mon, 24 Jun 2019 16:02:42 +0800
>
> > tipc_nl_compat_bearer_set() is only called by tipc_nl_compat_link_set()
> > which already does the check for msg->req check, so remove it from
> > tipc_nl_compat_bearer_set(), and
From: Xin Long
Date: Mon, 24 Jun 2019 23:54:02 +0800
> On Mon, Jun 24, 2019 at 10:35 PM David Miller wrote:
>>
>> From: Xin Long
>> Date: Mon, 24 Jun 2019 16:02:42 +0800
>>
>> > tipc_nl_compat_bearer_set() is only called by tipc_nl_compat_link_set()
>> > which already does the check for msg->re
On Mon, Jun 24, 2019 at 4:33 PM Eric Dumazet wrote:
>
>
>
> On 6/24/19 12:59 AM, Xin Long wrote:
> > This patch is to fix an uninit-value issue, reported by syzbot:
> >
> > BUG: KMSAN: uninit-value in memchr+0xce/0x110 lib/string.c:981
> > Call Trace:
> > __dump_stack lib/dump_stack.c:77 [
From: luoshijie
Date: Tue, 18 Jun 2019 15:14:02 +
> From: Shijie Luo
>
> When enable route_localnet, route of the 127/8 address is enabled.
> But in some situations like arp_announce=2, ARP requests or reply
> work abnormally.
>
> This patchset fix some bugs when enable route_localnet.
>
On 6/24/2019 2:57 PM, Jason Gunthorpe wrote:
On Tue, Jun 18, 2019 at 08:15:38PM +0300, Leon Romanovsky wrote:
From: Yishai Hadas
Enable subscription for device events over DEVX.
Each subscription is added to the two level XA data structure according
to its event number and the DEVX object inf
From: Xin Long
Date: Tue, 25 Jun 2019 00:00:39 +0800
> Sorry, David, do I need to resend this one?
Yes, please, that helps me a lot.
Now in sctp_endpoint_init(), it holds the sk then creates auth
shkey. But when the creation fails, it doesn't release the sk,
which causes a sk defcnf leak,
Here to fix it by only holding the sk when auth shkey is created
successfully.
Fixes: a29a5bd4f5c3 ("[SCTP]: Implement SCTP-AUTH initializat
On 6/18/19 2:14 PM, Johannes Berg wrote:
> On Tue, 2019-06-18 at 08:16 -0500, Alex Elder wrote:
>> On 6/17/19 6:28 AM, Johannes Berg wrote:
>>> On Tue, 2019-06-11 at 13:56 +0200, Arnd Bergmann wrote:
On Tue, Jun 11, 2019 at 10:12 AM Johannes Berg
wrote:
>> As I've made clear bef
This series implements two new per-cgroup hooks: getsockopt and
setsockopt along with a new sockopt program type. The idea is pretty
similar to recently introduced cgroup sysctl hooks, but
implementation is simpler (no need to convert to/from strings).
What this can be applied to:
* move business
Implement new BPF_PROG_TYPE_CGROUP_SOCKOPT program type and
BPF_CGROUP_{G,S}ETSOCKOPT cgroup hooks.
BPF_CGROUP_SETSOCKOPT get a read-only view of the setsockopt arguments.
BPF_CGROUP_GETSOCKOPT can modify the supplied buffer.
Both of them reuse existing PTR_TO_PACKET{,_END} infrastructure.
The bu
Export new prog type and hook points to the libbpf.
Cc: Martin Lau
Signed-off-by: Stanislav Fomichev
---
tools/include/uapi/linux/bpf.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index b077507efa3f..a396b51
On Mon, Jun 24, 2019 at 05:23:45PM +0200, Allan W. Nielsen wrote:
> Hi Andrew,
>
> The 06/24/2019 16:26, Andrew Lunn wrote:
> > > > Yeah, there are 2 ethernet controller ports (managed by the enetc
> > > > driver)
> > > > connected inside the SoC via SGMII links to 2 of the switch ports, one
>
Add tests that make sure libbpf section detection works.
Cc: Martin Lau
Signed-off-by: Stanislav Fomichev
---
tools/testing/selftests/bpf/test_section_names.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/tools/testing/selftests/bpf/test_section_names.c
b/tools/testing/selfte
1 - 100 of 260 matches
Mail list logo