On Fri, May 3, 2019 at 2:09 PM Y Song wrote:
>
> On Fri, May 3, 2019 at 12:54 PM William Tu wrote:
> >
> > On Thu, May 2, 2019 at 1:18 PM Y Song wrote:
> > >
> > > On Thu, May 2, 2019 at 11:34 AM William Tu wrote:
> > > >
> > > > The libbpf_util.h is used by xsk.h, so add it to
> > > > the inst
On Thu, May 2, 2019 at 5:08 PM Yonghong Song wrote:
>
> This patch tries to solve the following specific use case.
>
> Currently, bpf program can already collect stack traces
> when certain events happens (e.g., cache miss counter or
> cpu clock counter overflows). These stack traces can be
> used
FYI, we noticed the following commit (built with gcc-7):
commit: 7d172b8be57c2150fa5ce9642b677859aba7aec0 ("devlink: add warning in case
driver does not set port type")
bash: warning:
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux sys
From: Tom Herbert
Date: Mon, 29 Apr 2019 16:15:11 -0700
> Extension headers are the mechanism of extensibility for the IPv6
> protocol, however to date they have only seen limited deployment.
> The reasons for that are because intermediate devices don't handle
> them well, and there haven't reall
From: David Ahern
Date: Tue, 30 Apr 2019 07:45:47 -0700
> This series moves IPv4 pcpu cached routes from fib_nh to fib_nh_common
> to make the caches available for IPv6 nexthops (fib6_nh) with IPv4
> routes. This allows a fib6_nh struct to be used with both IPv4 and
> and IPv6 routes.
...
Serie
From: Heiner Kallweit
Date: Wed, 1 May 2019 21:54:28 +0200
> We have valid scenarios where ETHTOOL_LINK_MODE_Pause_BIT doesn't
> need to be supported. Therefore extend the first check to check
> for rx_pause being set.
>
> See also phy_set_asym_pause:
> rx=0 and tx=1: advertise asym pause only
>
This patch set is a continuation of the "NXP SJA1105 DSA driver" v3
series, which was split in multiple pieces for easier review.
Supporting a fully-featured (traffic-capable) driver for this switch
requires some rework in DSA and also leaves behind a more generic
infrastructure for other dumb swi
This allows the driver to perform some manipulations of its own during
setup, using generic switchdev calls. Having the notifiers registered at
setup time is important because otherwise any switchdev transaction
emitted during this time would be ignored (dispatched to an empty call
chain).
One cur
This patch provides generic DSA code for using VLAN (802.1Q) tags for
the same purpose as a dedicated switch tag for injection/extraction.
It is based on the discussions and interest that has been so far
expressed in https://www.spinics.net/lists/netdev/msg556125.html.
Unlike all other DSA-support
This is needed so that the newly introduced tag_8021q may access these
core DSA functions when built as a module.
Reported-by: kbuild test robot
Signed-off-by: Vladimir Oltean
---
Changes in v3:
- Patch is new.
net/dsa/port.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/dsa/port
While not explicitly documented as supported in UM10944, compliance with
the STP states can be obtained by manipulating 3 settings at the
(per-port) MAC config level: dynamic learning, inhibiting reception of
regular traffic, and inhibiting transmission of regular traffic.
In all these modes, tran
This adds a table which illustrates what combinations of management /
regular traffic work depending on the state the switch ports are in.
Signed-off-by: Vladimir Oltean
---
Changes in v3:
- Added a commit description.
Changes in v2:
- Added clarification about bridging other netdevices with
Frames get processed by DSA and redirected to switch port net devices
based on the ETH_P_XDSA multiplexed packet_type handler found by the
network stack when calling eth_type_trans().
The running assumption is that once the DSA .rcv function is called, DSA
is always able to decode the switch tag i
This is supposed to share information between the driver and the tagger,
or used by the tagger to keep some state. Its use is optional.
Signed-off-by: Vladimir Oltean
Reviewed-by: Florian Fainelli
Reviewed-by: Vivien Didelot
---
Changes in v3:
- None.
Changes in v2:
- None.
include/net/d
Map a DSA structure over the 48-byte control block that will hold
skb info on transmit and receive. This is only for use within the DSA
processing layer (e.g. communicating between DSA core and tagger) and
not for passing info around with other layers such as the master net
device.
Also add a DSA_
Some hardware needs to take work to get convinced to receive frames on
the CPU port (such as the sja1105 which takes temporary L2 forwarding
rules over SPI that last for a single frame). Such work needs a
sleepable context, and because the regular .ndo_start_xmit is atomic,
this cannot be done in t
In order to support this, we are creating a make-shift switch tag out of
a VLAN trunk configured on the CPU port. Termination of normal traffic
on switch ports only works when not under a vlan_filtering bridge.
Termination of management (PTP, BPDU) traffic works under all
circumstances because it u
Based on info from Realtek replace some magic with speaking functions
even though the exact meaning of certain values isn't known.
Heiner Kallweit (2):
r8169: add rtl_set_fifo_size
r8169: add rtl8168g_set_pause_thresholds
drivers/net/ethernet/realtek/r8169.c | 45 +---
Based on info from Realtek add a function for defining the thresholds
controlling ethernet flow control.
Signed-off-by: Heiner Kallweit
---
drivers/net/ethernet/realtek/r8169.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r81
Based on info from Realtek replace FIFO size config magic with
a function.
Signed-off-by: Heiner Kallweit
---
drivers/net/ethernet/realtek/r8169.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/ne
Hi Dave,
In this series, I first take the repeated code structure from
net device drivers into a function. Then, I call it from mlx5e driver.
Series generated against net-next commit:
ca96534630e2 openvswitch: check for null pointer return from
nla_nest_start_noflag
Thanks,
Tariq
Tariq Toukan
A single cacheline might not contain the packet header for
small L1_CACHE_BYTES values.
Issue an additional prefetch in this case.
Signed-off-by: Tariq Toukan
Reviewed-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c | 4 ++--
drivers/net/ethernet/mellanox/mlx5/core
Many device drivers use the same prefetch code structure to
deal with small L1 cacheline size.
Take this code into a function and call it from the drivers.
Suggested-by: Jakub Kicinski
Signed-off-by: Tariq Toukan
Reviewed-by: Saeed Mahameed
Cc: Jesper Dangaard Brouer
---
drivers/net/ethernet/
From: Vasundhara Volam
Reverse the condition of the large "if" block and return early. This
will simplify the follow up patch to add PCIe statistics.
Signed-off-by: Vasundhara Volam
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 75 +++
PTP API updates for 57500 chips, new RX port stats counters and other
miscellaneous updates.
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 4 +
drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 263 +-
2 files changed, 214 insertions(
bnxt_need_reserve_rings() determines if any resources have changed and
requires new reservation with firmware. The NQ checking is currently
just an approximation. Improve the NQ checking logic to make it
accurate. NQ reservation is only needed on 57500 PFs. This fix will
eliminate unnecessary r
0x1806 and 0x1752 are VF variant and PF variant of the 57500 chip
family.
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c
b/drivers/net/ethernet/broadcom/bnxt/bnxt.c
index
From: Vasundhara Volam
Gather periodic PCIe statistics for ethtool -S.
Signed-off-by: Vasundhara Volam
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 37 -
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 7
drivers/net/etherne
This patch series adds some extended statistics available with the new
firmware interface, package version from firmware, aRFS support on
57500 chips, new PCI IDs, and some miscellaneous fixes and improvements.
Devesh Sharma (1):
bnxt_en: Separate RDMA MR/AH context allocation.
Michael Chan (5)
From: Devesh Sharma
In newer firmware, the context memory for MR (Memory Region)
and AH (Address Handle) to support RDMA are specified separately.
Modify driver to specify and allocate the 2 context memory types
separately when supported by the firmware.
Signed-off-by: Devesh Sharma
Signed-off-
Set RSS ring table index of the RFS destination ring for the NTUPLE
filters on 57500 chips.
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c
b
From: Vasundhara Volam
Newer firmware now advertises the capability for extended stats
support. Check the new capability in addition to the existing
version check.
Signed-off-by: Vasundhara Volam
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 8 ++--
drivers/
Query support for the aRFS ring table index in the firmware.
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 43 ++-
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 2 ++
2 files changed, 44 insertions(+), 1 deletion(-)
diff --git a/drivers/n
From: Vasundhara Volam
HWRM_VER_GET firmware command returns package name that is running
actively on the adapter. Use this version instead of parsing from
the package log in NVRAM.
Signed-off-by: Vasundhara Volam
Signed-off-by: Michael Chan
diff --git a/main/Cumulus/drivers/linux/v3/bnxt.c
From: Vasundhara Volam
Currently driver hard code Clause 45 based on speed supported by the
PHY. Instead read the clause type from the PHY ID provided as input
to the mdio ioctl.
Fixes: 0ca12be99667 ("bnxt_en: Add support for mdio read/write to external PHY")
Signed-off-by: Vasundhara Volam
Sig
From: Ido Schimmel
The command is supposed to allow users to filter events related to
certain objects, but returns an error when an object is specified:
# devlink mon dev
Command "dev" not found
Fix this by allowing the command to process the specified objects.
Example:
# devlink/devlink mon
Sun, May 05, 2019 at 02:33:00AM CEST, sae...@mellanox.com wrote:
>From: Alex Vesker
>
>Crdump allows the driver to create a snapshot of the FW PCI crspace.
>This is useful in case of catastrophic issues which may require FW
>reset. The snapshot can be used for later debug.
>
>The snapshot is expos
Sun, May 05, 2019 at 02:33:18AM CEST, sae...@mellanox.com wrote:
>From: Feras Daoud
>
>If a FW assert is considered fatal, indicated by a new bit in the health
>buffer, reset the FW. After the reset go through the normal recovery
>flow. Only one PF needs to issue the reset, so an attempt is made t
Sun, May 05, 2019 at 02:33:21AM CEST, sae...@mellanox.com wrote:
>From: Moshe Shemesh
>
>Refactor print health info code, split to two functions:
> 1. mlx5_get_health_info() - writes the health info into a buffer.
> 2. mlx5_print_health_info() - prints the health info to kernel log.
>This refactor
On Sun, May 5, 2019 at 12:45 AM David Miller wrote:
>
> From: Tom Herbert
> Date: Mon, 29 Apr 2019 16:15:11 -0700
>
> > Extension headers are the mechanism of extensibility for the IPv6
> > protocol, however to date they have only seen limited deployment.
> > The reasons for that are because inte
Sun, May 05, 2019 at 02:33:23AM CEST, sae...@mellanox.com wrote:
>From: Moshe Shemesh
>
>Create mlx5_devlink_health_reporter for FW reporter. The FW reporter
>implements devlink_health_reporter diagnose callback.
>
>The fw reporter diagnose command can be triggered any time by the user
>to check c
Sun, May 05, 2019 at 02:33:27AM CEST, sae...@mellanox.com wrote:
>From: Moshe Shemesh
>
>Add support of dump callback for mlx5 FW reporter.
>Once we trigger FW dump, the FW will write the core dump to its raw data
>buffer. The tracer translates the raw data to traces and save it to a
>buffer. Once
Sun, May 05, 2019 at 02:33:33AM CEST, sae...@mellanox.com wrote:
>From: Moshe Shemesh
>
>Add support of dump callback for mlx5 FW fatal reporter.
>The FW fatal dump use cr-dump functionality to gather cr-space data for
>debug. The cr-dump uses vsc interface which is valid even if the FW
>command i
Sun, May 05, 2019 at 04:12:43PM CEST, ido...@idosch.org wrote:
>From: Ido Schimmel
>
>The command is supposed to allow users to filter events related to
>certain objects, but returns an error when an object is specified:
>
># devlink mon dev
>Command "dev" not found
>
>Fix this by allowing the com
Sun, May 05, 2019 at 09:38:56AM CEST, l...@intel.com wrote:
>FYI, we noticed the following commit (built with gcc-7):
>
>commit: 7d172b8be57c2150fa5ce9642b677859aba7aec0 ("devlink: add warning in
>case driver does not set port type")
>bash: warning:
>
>in testcase: trinity
>with following paramete
From: David Ahern
Add fib_info_notify_update to walk the fib and send RTM_NEWROUTE
notifications with NLM_F_REPLACE set for entries linked to a fib_info
that have nh_updated flag set. This helper will be used by the nexthop
code to notify userspace of routes that are impacted when a nexthop
confi
From: David Ahern
Add scope as input argument versus relying on fib_info reference in
fib_nh, and export fib_info_update_nh_saddr.
Signed-off-by: David Ahern
---
include/net/ip_fib.h | 3 ++-
net/ipv4/fib_semantics.c | 11 +--
2 files changed, 7 insertions(+), 7 deletions(-)
diff
From: David Ahern
Add hook to ipv6 stub to bump the sernum up to the root node for a
route. This is needed by the nexthop code when a nexthop config changes.
Signed-off-by: David Ahern
---
include/net/ip6_fib.h| 1 +
include/net/ipv6_stubs.h | 1 +
net/ipv6/af_inet6.c | 1 +
net/ipv6/
From: David Ahern
Change fib_check_nh to take net, table and scope as input arguments
over struct fib_config and export for use by nexthop code.
Signed-off-by: David Ahern
---
include/net/ip_fib.h | 2 ++
net/ipv4/fib_semantics.c | 12 ++--
2 files changed, 8 insertions(+), 6 dele
From: David Ahern
Add ip6_del_rt to the IPv6 stub. The hook is needed by the nexthop
code to remove entries linked to a nexthop that is getting deleted.
Signed-off-by: David Ahern
---
include/net/ipv6_stubs.h | 1 +
net/ipv6/addrconf_core.c | 6 ++
net/ipv6/af_inet6.c | 1 +
3 files c
From: David Ahern
As nexthops are deleted, fib entries referencing it are marked dead.
Export fib_flush so those entries can be removed in a timely manner.
Signed-off-by: David Ahern
---
include/net/ip_fib.h| 1 +
net/ipv4/fib_frontend.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion
From: David Ahern
Add fib6_rt_update to send RTM_NEWROUTE with NLM_F_REPLACE set. This
helper will be used by the nexthop code to notify userspace of routes
that are impacted when a nexthop config is updated via replace.
This notification is needed for legacy apps that do not understand
the new
From: David Ahern
This set exports ipv4 and ipv6 fib functions for use by the nexthop
code. It also adds new ones to send route notifications if a nexthop
configuration changes.
David Ahern (7):
ipv6: Add delete route hook to stubs
ipv6: Add hook to bump sernum for a route to stubs
ipv6: e
On 5/5/2019 3:19 AM, Vladimir Oltean wrote:
> This is needed so that the newly introduced tag_8021q may access these
> core DSA functions when built as a module.
>
> Reported-by: kbuild test robot
> Signed-off-by: Vladimir Oltean
Reviewed-by: Florian Fainelli
--
Florian
On 5/5/2019 3:19 AM, Vladimir Oltean wrote:
> Some hardware needs to take work to get convinced to receive frames on
> the CPU port (such as the sja1105 which takes temporary L2 forwarding
> rules over SPI that last for a single frame). Such work needs a
> sleepable context, and because the regu
On 5/5/2019 3:19 AM, Vladimir Oltean wrote:
> Frames get processed by DSA and redirected to switch port net devices
> based on the ETH_P_XDSA multiplexed packet_type handler found by the
> network stack when calling eth_type_trans().
>
> The running assumption is that once the DSA .rcv function
So far we report symmetric pause only, and we don't consider the local
pause capabilities. Let's properly consider local and remote
capabilities, and report also asymmetric pause.
Signed-off-by: Heiner Kallweit
---
drivers/net/phy/phy.c | 28 +++-
1 file changed, 27 inser
From: Al Viro
Date: Thu, 2 May 2019 17:32:23 +0100
> it appears that we might take freeing the socket itself to the
> RCU-delayed part, along with socket->wq. And doing that has
> an interesting benefit - the only reason to do two separate
> allocation disappears.
I'm pretty sure we looked into
On 5/5/2019 3:19 AM, Vladimir Oltean wrote:
> This adds a table which illustrates what combinations of management /
> regular traffic work depending on the state the switch ports are in.
>
> Signed-off-by: Vladimir Oltean
Reviewed-by: Florian Fainelli
I have finally put my brain on and unde
On 5/5/2019 10:03 AM, Heiner Kallweit wrote:
> So far we report symmetric pause only, and we don't consider the local
> pause capabilities. Let's properly consider local and remote
> capabilities, and report also asymmetric pause.
I would go one step further which is to print what is the link s
From: Wei Yongjun
Date: Fri, 3 May 2019 11:18:59 +
> In case of error, the function devm_ioremap() returns NULL pointer not
> ERR_PTR(). The IS_ERR() test in the return value check should be
> replaced with NULL test.
>
> Fixes: 03f66f067560 ("net: ethernet: ti: davinci_mdio: use devm_iorema
From: Dan Carpenter
Date: Fri, 3 May 2019 15:39:48 +0300
> The code works fine but the problem is that check for negatives is a
> no-op:
>
> if (arg < 0)
> i = 0;
>
> The "i" value isn't used. We immediately overwrite it with:
>
> i = array_index_nospec(arg, MAX_LEC_
On 5/5/19 12:29 AM, Alexei Starovoitov wrote:
> On Thu, May 2, 2019 at 5:08 PM Yonghong Song wrote:
>>
>> This patch tries to solve the following specific use case.
>>
>> Currently, bpf program can already collect stack traces
>> when certain events happens (e.g., cache miss counter or
>> cpu cl
From: Dan Carpenter
Date: Fri, 3 May 2019 15:50:24 +0300
> The phy_connect() function doesn't return NULL pointers. It returns
> error pointers on error, so I have updated the check.
>
> Fixes: 8425c41d1ef7 ("net: ll_temac: Extend support to non-device-tree
> platforms")
> Signed-off-by: Dan C
From: Dan Carpenter
Date: Fri, 3 May 2019 15:50:51 +0300
> The "pdata->mdio_bus_id" is unsigned so this condition is always true.
> This patch just removes it.
>
> Signed-off-by: Dan Carpenter
Applied.
On 05.05.2019 19:10, Florian Fainelli wrote:
>
>
> On 5/5/2019 10:03 AM, Heiner Kallweit wrote:
>> So far we report symmetric pause only, and we don't consider the local
>> pause capabilities. Let's properly consider local and remote
>> capabilities, and report also asymmetric pause.
>
> I would
On Sat, 4 May 2019 15:16:54 +0200, Jiri Pirko wrote:
> Sat, May 04, 2019 at 01:46:25PM CEST, jakub.kicin...@netronome.com wrote:
> >From: Pieter Jansen van Vuuren
> >
> >Some actions like the police action are stateful and could share state
> >between devices. This is incompatible with offloading
From: Paolo Abeni
Date: Fri, 3 May 2019 17:01:35 +0200
> This series applies the indirect calls helper introduced with commit
> 283c16a2dfd3 ("indirect call wrappers: helpers to speed-up indirect
> calls of builtin") to more hooks inside the network stack.
>
> Overall this avoids up to 4 indi
From: Eric Dumazet
Date: Fri, 3 May 2019 08:24:44 -0700
> Since ip6frag_expire_frag_queue() now pulls the head skb
> from frag queue, we should no longer use skb_get(), since
> this leads to an skb leak.
>
> Stefan Bader initially reported a problem in 4.4.stable [1] caused
> by the skb_get(),
From: David Ahern
Date: Fri, 3 May 2019 08:55:01 -0700
> From: David Ahern
>
> Commit cd9ff4de0107 changed the key for IFF_POINTOPOINT devices to
> INADDR_ANY, but neigh_xmit which is used for MPLS encapsulations was not
> updated to use the altered key. The result is that every packet Tx does
On 5/5/19 11:42 AM, David Miller wrote:
> From: David Ahern
> Date: Fri, 3 May 2019 08:55:01 -0700
>
>> From: David Ahern
>>
>> Commit cd9ff4de0107 changed the key for IFF_POINTOPOINT devices to
>> INADDR_ANY, but neigh_xmit which is used for MPLS encapsulations was not
>> updated to use the al
From: Johannes Berg
Date: Fri, 3 May 2019 20:21:33 +0200
> From: Johannes Berg
>
> Replace skb->xmit_more usage by netdev_xmit_more().
>
> Fixes: 4f296edeb9d4 ("drivers: net: aurora: use netdev_xmit_more helper")
> Signed-off-by: Johannes Berg
Seems to be a net-next only change, so I applie
From: YueHaibing
Date: Sat, 4 May 2019 04:04:05 +
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c: In function
> 'mvpp2_cls_c2_build_match':
> drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c:1159:28: warning:
> variable 'act' set but not u
From: Heiner Kallweit
Date: Sat, 4 May 2019 12:01:03 +0200
> phy_probe() takes care that all supported modes are advertised,
> in addition use phy_support_asym_pause() to advertise pause modes.
> This way we don't have to deal with phylib internals directly.
>
> Signed-off-by: Heiner Kallweit
From: Heiner Kallweit
Date: Sat, 4 May 2019 15:20:38 +0200
> When testing I figured out that most operations signal finish even
> before we trigger the first delay. Seems like PCI(e) access and
> memory barriers typically add enough latency. Therefore move the
> first delay after the first check.
From: David Ahern
Date: Sun, 5 May 2019 11:43:39 -0600
> oops on the double signoff; you actually took v1 so I need to send a delta.
Aha, I see, thanks for catching that.
On Sun, May 05, 2019 at 10:04:21AM -0700, David Miller wrote:
> From: Al Viro
> Date: Thu, 2 May 2019 17:32:23 +0100
>
> > it appears that we might take freeing the socket itself to the
> > RCU-delayed part, along with socket->wq. And doing that has
> > an interesting benefit - the only reason t
On 5/4/19 2:43 PM, Cong Wang wrote:
> In commit 3c75f6ee139d ("net_sched: sch_htb: add per class overlimits
> counter")
> we added an overlimits counter for each HTB class which could
> properly reflect how many times we use up all the bandwidth
> on each class. However, the overlimits counter
From: David Ahern
Define __ipv4_neigh_lookup_noref to return NULL when CONFIG_INET is disabled.
Fixes: 4b2a2bfeb3f0 ("neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit")
Reported-by: kbuild test robot
Signed-off-by: David Ahern
---
include/net/arp.h | 8
1 file changed, 8 insert
From: David Ahern
Date: Sun, 5 May 2019 11:16:20 -0700
> From: David Ahern
>
> Define __ipv4_neigh_lookup_noref to return NULL when CONFIG_INET is disabled.
>
> Fixes: 4b2a2bfeb3f0 ("neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit")
> Reported-by: kbuild test robot
> Signed-off-by: Da
From: Al Viro
Date: Sun, 5 May 2019 18:59:43 +0100
> On Sun, May 05, 2019 at 10:04:21AM -0700, David Miller wrote:
>> From: Al Viro
>> Date: Thu, 2 May 2019 17:32:23 +0100
>>
>> > it appears that we might take freeing the socket itself to the
>> > RCU-delayed part, along with socket->wq. And d
On Sun, 5 May 2019 at 20:02, Florian Fainelli wrote:
>
>
>
> On 5/5/2019 3:19 AM, Vladimir Oltean wrote:
> > Frames get processed by DSA and redirected to switch port net devices
> > based on the ETH_P_XDSA multiplexed packet_type handler found by the
> > network stack when calling eth_type_trans(
On Sun, 5 May 2019 at 20:04, Florian Fainelli wrote:
>
>
>
> On 5/5/2019 3:19 AM, Vladimir Oltean wrote:
> > This adds a table which illustrates what combinations of management /
> > regular traffic work depending on the state the switch ports are in.
> >
> > Signed-off-by: Vladimir Oltean
>
> Re
On 5/5/2019 10:31 AM, Heiner Kallweit wrote:
> On 05.05.2019 19:10, Florian Fainelli wrote:
>>
>>
>> On 5/5/2019 10:03 AM, Heiner Kallweit wrote:
>>> So far we report symmetric pause only, and we don't consider the local
>>> pause capabilities. Let's properly consider local and remote
>>> capabi
Hi Dave,
Here's one more bluetooth-next pull request for 5.2:
- Fixed Command Complete event handling check for matching opcode
- Added support for Qualcomm WCN3998 controller, along with DT bindings
- Added default address for Broadcom BCM2076B1 controllers
Please let me know if there are an
On 5/5/2019 12:06 PM, Heiner Kallweit wrote:
> On 05.05.2019 20:46, Florian Fainelli wrote:
>>
>>
>> On 5/5/2019 10:31 AM, Heiner Kallweit wrote:
>>> On 05.05.2019 19:10, Florian Fainelli wrote:
On 5/5/2019 10:03 AM, Heiner Kallweit wrote:
> So far we report symmetric pause on
On 05.05.2019 20:46, Florian Fainelli wrote:
>
>
> On 5/5/2019 10:31 AM, Heiner Kallweit wrote:
>> On 05.05.2019 19:10, Florian Fainelli wrote:
>>>
>>>
>>> On 5/5/2019 10:03 AM, Heiner Kallweit wrote:
So far we report symmetric pause only, and we don't consider the local
pause capabilit
On 05.05.2019 21:12, Florian Fainelli wrote:
>
>
> On 5/5/2019 12:06 PM, Heiner Kallweit wrote:
>> On 05.05.2019 20:46, Florian Fainelli wrote:
>>>
>>>
>>> On 5/5/2019 10:31 AM, Heiner Kallweit wrote:
On 05.05.2019 19:10, Florian Fainelli wrote:
>
>
> On 5/5/2019 10:03 AM, Heiner
From: Johan Hedberg
Date: Sun, 5 May 2019 22:12:03 +0300
> Here's one more bluetooth-next pull request for 5.2:
>
> - Fixed Command Complete event handling check for matching opcode
> - Added support for Qualcomm WCN3998 controller, along with DT bindings
> - Added default address for Broadco
This adds bridge offloading for the Intel / Lantiq GSWIP 2.1 switch.
Changes since:
v1:
- fix typo signle -> single
Hauke Mehrtens (5):
net: dsa: lantiq: Allow special tags only on CPU port
net: dsa: lantiq: Add VLAN unaware bridge offloading
net: dsa: lantiq: Add VLAN aware bridge offload
The VLAN aware bridge offloading is similar to the VLAN unaware
offloading, this makes it possible to offload the VLAN bridge
functionalities.
The hardware supports up to 64 VLAN bridge entries, we already use one
entry for each LAN port to prevent forwarding of packets between the
ports when the
Allow the special tag in ingress only on the CPU port and not on all
ports. A packet with a special tag could circumvent the hardware
forwarding and should only be allowed on the CPU port where Linux
controls the port.
Signed-off-by: Hauke Mehrtens
---
drivers/net/dsa/lantiq_gswip.c | 6 --
This adds functions to add and remove static entries to and from the
forwarding database and dump the full forwarding database.
Signed-off-by: Hauke Mehrtens
---
drivers/net/dsa/lantiq_gswip.c | 98 ++
1 file changed, 98 insertions(+)
diff --git a/drivers/net/dsa
This allows to offload bridges with DSA to the switch hardware and do
the packet forwarding in hardware.
This implements generic functions to access the switch hardware tables,
which are used to control many features of the switch.
This patch activates the MAC learning by removing the MAC address
Fast aging per port is not supported directly by the hardware, it is
only possible to configure a global aging time.
Do the fast aging by iterating over the MAC forwarding table and remove
all dynamic entries for a given port.
Signed-off-by: Hauke Mehrtens
---
drivers/net/dsa/lantiq_gswip.c | 3
On 5/5/2019 2:15 PM, Hauke Mehrtens wrote:
> Allow the special tag in ingress only on the CPU port and not on all
> ports. A packet with a special tag could circumvent the hardware
> forwarding and should only be allowed on the CPU port where Linux
> controls the port.
>
> Signed-off-by: Hauke
On 5/5/2019 2:15 PM, Hauke Mehrtens wrote:
> Fast aging per port is not supported directly by the hardware, it is
> only possible to configure a global aging time.
>
> Do the fast aging by iterating over the MAC forwarding table and remove
> all dynamic entries for a given port.
>
> Signed-off
On 5/5/2019 2:15 PM, Hauke Mehrtens wrote:
> This adds functions to add and remove static entries to and from the
> forwarding database and dump the full forwarding database.
>
> Signed-off-by: Hauke Mehrtens
> ---
[snip]
> + mac_bridge.table = 0x0b;
> + mac_bridge.key_mode = true;
>
On 5/5/2019 2:15 PM, Hauke Mehrtens wrote:
> The VLAN aware bridge offloading is similar to the VLAN unaware
> offloading, this makes it possible to offload the VLAN bridge
> functionalities.
>
> The hardware supports up to 64 VLAN bridge entries, we already use one
> entry for each LAN port to
On 5/5/19 11:17 PM, Florian Fainelli wrote:
>
>
> On 5/5/2019 2:15 PM, Hauke Mehrtens wrote:
>> Allow the special tag in ingress only on the CPU port and not on all
>> ports. A packet with a special tag could circumvent the hardware
>> forwarding and should only be allowed on the CPU port where L
1 - 100 of 127 matches
Mail list logo