From: Geliang Tang
In rfc8684, the length of ADD_ADDR suboption with IPv4 address and port
is 18 octets, but mptcp_write_options is 32-bit aligned, so we need to
pad it to 20 octets. All the other port related option lengths need to
be added up 2 octets similarly.
This patch added a new field 'p
From: Geliang Tang
This patch added a new add_addr_signal type named MPTCP_ADD_ADDR_PORT,
to identify it is an address with port to be added.
It also added a new parameter 'port' for both mptcp_add_addr_len and
mptcp_pm_add_addr_signal.
In mptcp_established_options_add_addr, we check whether th
On Tue, 8 Dec 2020 23:13:51 +0100 (CET) Michal Kubecek wrote:
> Syzbot reported a stack overflow in bitmap_from_arr32() called from
> ethnl_parse_bitset() when bitset from netlink message is longer than
> target bitmap length. While ethnl_compact_sanity_checks() makes sure that
> trailing part is
From: Geliang Tang
The process is similar to that of the ADD_ADDR IPv6, this patch also sent
out a pure ack for the ADD_ADDR using port.
Signed-off-by: Geliang Tang
Signed-off-by: Mat Martineau
---
net/mptcp/options.c| 3 ++-
net/mptcp/pm.c | 3 ++-
net/mptcp/pm_netlink.c | 14 +
From: Geliang Tang
This patch uses adding up size to get the ADD_ADDR suboption length rather
than returning the ADD_ADDR size constants.
Signed-off-by: Geliang Tang
Signed-off-by: Mat Martineau
---
net/mptcp/protocol.h | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
From: Geliang Tang
This patch printed out more debugging information for the ADD_ADDR
suboption parsing on the incoming path.
Signed-off-by: Geliang Tang
Signed-off-by: Mat Martineau
---
net/mptcp/options.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/mptcp/op
From: Geliang Tang
This patch added a new parameter 'port' for mptcp_pm_announce_addr. If
this parameter is true, we set the MPTCP_ADD_ADDR_PORT bit of the
add_addr_signal. That means the announced address is added with a port
number.
Signed-off-by: Geliang Tang
Signed-off-by: Mat Martineau
--
From: Geliang Tang
This patch reused add_addr_signal for the RM_ADDR announcing signal, by
defining a new ADD_ADDR status named MPTCP_RM_ADDR_SIGNAL. Then the flag
rm_addr_signal in PM could be dropped.
Signed-off-by: Geliang Tang
Signed-off-by: Mat Martineau
---
net/mptcp/pm.c | 18 +++
From: Geliang Tang
Since the RM_ADDR signal had been reused with add_addr_signal, it's not
suitable to call it add_addr_signal or mptcp_add_addr_status. So this
patch renamed add_addr_signal to addr_signal, and renamed
mptcp_add_addr_status to mptcp_addr_signal_status.
Signed-off-by: Geliang Tan
From: Geliang Tang
Since the local variable sk has been defined, use it instead of
open-coding.
Reviewed-by: Matthieu Baerts
Signed-off-by: Geliang Tang
Signed-off-by: Mat Martineau
---
net/mptcp/pm_netlink.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/mptcp/p
On Tue, Dec 01, 2020 at 11:44:12PM +0900, Kuniyuki Iwashima wrote:
> This patch renames reuseport_select_sock() to __reuseport_select_sock() and
> adds two wrapper function of it to pass the migration type defined in the
> previous commit.
>
> reuseport_select_sock : BPF_SK_REUSEPORT_MI
From: Chris Mi
Date: Tue, 8 Dec 2020 10:48:35 +0800
> The offending commit introduces a cleanup callback that is invoked
> when the driver module is removed to clean up the tunnel device
> flow block. But it returns on the first iteration of the for loop.
> The remaining indirect flow blocks wil
On Wed, Dec 9, 2020 at 3:10 PM Alan Maguire wrote:
>
> On Tue, 8 Dec 2020, Andrii Nakryiko wrote:
>
> > When Clang emits ldimm64 instruction for BPF_TYPE_ID_TARGET CO-RE
> > relocation,
> > put module BTF FD, containing target type, into upper 32 bits of imm64.
> >
> > Because this FD is internal
On Tue, 8 Dec 2020 22:57:59 -0500 Neal Cardwell wrote:
> From: Neal Cardwell
>
> When cwnd is not a multiple of the TSO skb size of N*MSS, we can get
> into persistent scenarios where we have the following sequence:
>
> (1) ACK for full-sized skb of N*MSS arrives
> -> tcp_write_xmit() transmi
On Wed, Dec 9, 2020 at 2:24 PM Seth Forshee wrote:
>
> Building the BPF selftests with clang 11, I'm getting the following
> error:
>
>CLNG-LLC [test_maps] profiler1.o
> In file included from progs/profiler1.c:6:
> progs/profiler.inc.h:260:17: error: use of unknown builtin
> '__builtin_pres
On 12/8/20 10:45 AM, SeongJae Park wrote:
> From: SeongJae Park
>
> In 'fqdir_exit()', a work for destruction of the 'fqdir' is enqueued.
> The work function, 'fqdir_work_fn()', calls 'rcu_barrier()'. In case of
> intensive 'fqdir_exit()' (e.g., frequent 'unshare(CLONE_NEWNET)'
> systemcalls)
On Tuesday, December 8, 2020 5:13:36 PM PST Pali Rohár wrote:
> On Tuesday 08 December 2020 15:04:29 Trent Piepho wrote:
> > Does this also give userspace a clear point at which to determine MTU
setting,
> > _before_ data is sent over SCO connection? It will not work if sco_mtu
is not
> > vali
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:32:28 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:36:30 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:34:41 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
On Wednesday 09 December 2020 16:19:39 Trent Piepho wrote:
> On Tuesday, December 8, 2020 5:13:36 PM PST Pali Rohár wrote:
> > On Tuesday 08 December 2020 15:04:29 Trent Piepho wrote:
> > > Does this also give userspace a clear point at which to determine MTU
> setting,
> > > _before_ data is sen
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:38:11 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:37:39 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:37:16 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:37:16 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:38:52 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:40:03 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:39:38 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:36:30 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Tariq Toukan
Date: Wed, 9 Dec 2020 15:03:37 +0200
> Hi,
>
> This patchset by Moshe contains fixes to the mlx4 Eth driver,
> addressing issues in restart flow.
>
> Patch 1 protects the restart task from being rescheduled while active.
> Please queue for -stable >= v2.6.
> Patch 2 recons
On Thu, Dec 10, 2020 at 06:47:00AM +0800, Wong Vee Khee wrote:
> Assign stmmac's mdio_bus probe capabilities to MDIOBUS_C22_C45.
> This extended the probing of C45 PHY devices on the MDIO bus.
>
> Signed-off-by: Wong Vee Khee
Reviewed-by: Andrew Lunn
Andrew
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:35:31 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:34:02 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 21:34:41 +0800
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Bongsu Jeon
Date: Tue, 8 Dec 2020 23:10:10 +0900
> From: Bongsu Jeon
>
> For stable Samsung's I2C interrupt handling, I changed the interrupt
> trigger from IRQ_TYPE_LEVEL_HIGH to IRQ_TYPE_EDGE_RISING and removed
> the hard coded interrupt trigger type in the i2c module for the flexibl
This series contains updates to igb, ixgbe, i40e, and ice drivers.
Sven Auhagen fixes issues with igb XDP: return correct error value in XDP
xmit back, increase header padding to include space for double VLAN, add
an extack error when Rx buffer is too small for frame size, set metasize if
it is se
From: Sven Auhagen
The igb XDP xmit back function should only return
defined error codes.
Fixes: 9cbc948b5a20 ("igb: add XDP support")
Reported-by: Dan Carpenter
Acked-by: Maciej Fijalkowski
Signed-off-by: Sven Auhagen
Tested-by: Sandeep Penigalapati
Signed-off-by: Tony Nguyen
---
drivers/
From: Björn Töpel
The page recycle code, incorrectly, relied on that a page fragment
could not be freed inside xdp_do_redirect(). This assumption leads to
that page fragments that are used by the stack/XDP redirect can be
reused and overwritten.
To avoid this, store the page count prior invoking
From: Sven Auhagen
Increase the packet header padding to include double VLAN tagging.
This patch uses a macro for this.
Fixes: 9cbc948b5a20 ("igb: add XDP support")
Suggested-by: Maciej Fijalkowski
Reviewed-by: Maciej Fijalkowski
Acked-by: Maciej Fijalkowski
Signed-off-by: Sven Auhagen
Teste
From: Björn Töpel
The page recycle code, incorrectly, relied on that a page fragment
could not be freed inside xdp_do_redirect(). This assumption leads to
that page fragments that are used by the stack/XDP redirect can be
reused and overwritten.
To avoid this, store the page count prior invoking
From: Björn Töpel
The page recycle code, incorrectly, relied on that a page fragment
could not be freed inside xdp_do_redirect(). This assumption leads to
that page fragments that are used by the stack/XDP redirect can be
reused and overwritten.
To avoid this, store the page count prior invoking
From: Sven Auhagen
Since it is a new XDP implementation change xdp_do_flush_map
to xdp_do_flush.
Fixes: 9cbc948b5a20 ("igb: add XDP support")
Suggested-by: Maciej Fijalkowski
Reviewed-by: Maciej Fijalkowski
Acked-by: Maciej Fijalkowski
Signed-off-by: Sven Auhagen
Tested-by: Sandeep Penigalap
From: Sven Auhagen
Since we share the transmit queue with the network stack,
it is possible that we run into a transmit queue timeout.
This will reset the queue.
This happens under high load when XDP is using the
transmit queue pretty much exclusively.
netdev_start_xmit() sets the trans_start va
From: Sven Auhagen
add metasize if it is set in xdp
Fixes: 9cbc948b5a20 ("igb: add XDP support")
Suggested-by: Maciej Fijalkowski
Reviewed-by: Maciej Fijalkowski
Acked-by: Maciej Fijalkowski
Signed-off-by: Sven Auhagen
Tested-by: Sandeep Penigalapati
Signed-off-by: Tony Nguyen
---
drivers
From: Sven Auhagen
Add an extack error message when the RX buffer size is too small
for the frame size.
Fixes: 9cbc948b5a20 ("igb: add XDP support")
Suggested-by: Maciej Fijalkowski
Reviewed-by: Maciej Fijalkowski
Acked-by: Maciej Fijalkowski
Signed-off-by: Sven Auhagen
Tested-by: Sandeep Pe
On Wed, Dec 09, 2020 at 11:59:50PM +0100, Andrew Lunn wrote:
> > so basically my point was that I think you are adding a lot of infra
> > in core DSA that only mv88e6xxx will use.
>
> That is true already, since mv88e6xxx is currently the only driver
> which supports D in DSA. And it has been Marve
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:18:44 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:26:21 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:17:51 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:21:07 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:20:31 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:22:41 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:23:25 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:25:04 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:27:26 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:19:57 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 17:27:26 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
On Sat, Dec 05, 2020 at 08:17:24PM +0100, Rasmus Villemoes wrote:
> All the buffers and registers are already set up appropriately for an
> MTU slightly above 1500, so we just need to expose this to the
> networking stack. AFAICT, there's no need to implement .ndo_change_mtu
> when the receive buff
On Sat, Dec 05, 2020 at 08:17:30PM +0100, Rasmus Villemoes wrote:
> This removes the explicit NULL checks, and allows us to stop storing
> at least some of the _offset values separately.
>
> Signed-off-by: Rasmus Villemoes
This seems to rely on one of the missing patches. Please don't split
patc
On Thu, Dec 10, 2020 at 01:57:19AM +0900, Kuniyuki Iwashima wrote:
[ ... ]
> > > > I think it is a bit complex to pass the new listener from
> > > > reuseport_detach_sock() to inet_csk_listen_stop().
> > > >
> > > > __tcp_close/tcp_disconnect/tcp_abort
> > > > |-tcp_set_state
> > > > | |-unhas
From: "Dwip N. Banerjee"
We observed that in the error case for batched send_subcrq_indirect() the
driver does not account for the partial success case. This caused Linux to
crash when free_map and pool index are inconsistent.
Driver needs to update the rx pools "available" count when some batch
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
net/netfilter/nf_tables_api.c
between commit:
42f1c2712090 ("netfilter: nftables: comment indirect serialization of
commit_mutex with rtnl_mutex")
from the netfilter tree and commit:
872f69034194 ("treewide: renam
> diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
> index 01b53f86004c..f6a094c81e86 100644
> --- a/drivers/phy/Kconfig
> +++ b/drivers/phy/Kconfig
> @@ -66,9 +66,11 @@ source "drivers/phy/broadcom/Kconfig"
> source "drivers/phy/cadence/Kconfig"
> source "drivers/phy/freescale/Kconfig"
>
We use rcu_assign_pointer to assign both the table and the entries,
but the entries are not marked as __rcu. This generates sparse
warnings.
Signed-off-by: Jakub Kicinski
---
net/core/rtnetlink.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/net/c
On Wed, Dec 09, 2020 at 03:03:35PM +0200, Claudiu Beznea wrote:
> Unprepare clocks in case of any failure in fu540_c000_clk_init().
>
> Fixes: c218ad559020 ("macb: Add support for SiFive FU540-C000")
> Signed-off-by: Claudiu Beznea
Reviewed-by: Andrew Lunn
Andrew
On Wed, Dec 09, 2020 at 03:03:34PM +0200, Claudiu Beznea wrote:
> Add function to disable all macb clocks.
>
> Signed-off-by: Claudiu Beznea
> Suggested-by: Andrew Lunn
Reviewed-by: Andrew Lunn
Andrew
On Wed, Dec 9, 2020 at 6:44 AM Hans de Goede wrote:
>
> Hi,
>
> On 12/8/20 5:14 PM, Alexander Duyck wrote:
> > On Tue, Dec 8, 2020 at 1:30 AM Hans de Goede wrote:
> >>
> >> Hi,
> >>
> >> On 12/8/20 6:08 AM, Neftin, Sasha wrote:
> >>> On 12/7/2020 17:41, Limonciello, Mario wrote:
> > First of
From: Tony Nguyen
Date: Wed, 9 Dec 2020 17:02:43 -0800
> git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 1GbE
Pulled, thanks Tony.
From: Tony Nguyen
Date: Wed, 9 Dec 2020 13:13:03 -0800
> This series contains updates to ice driver only.
>
> Bruce changes the allocation of ice_flow_prof_params from stack to heap to
> avoid excessive stack usage. Corrects a misleading comment and silences a
> sparse warning that is not a pro
From: Pablo Neira Ayuso
Date: Wed, 9 Dec 2020 23:18:06 +0100
> Hi Jakub, David,
>
> The following patchset contains Netfilter fixes for net:
>
> 1) Switch to RCU in x_tables to fix possible NULL pointer dereference,
>from Subash Abhinov Kasiviswanathan.
>
> 2) Fix netlink dump of dynset t
From: Mat Martineau
Date: Wed, 9 Dec 2020 15:51:17 -0800
> The ADD_ADDR MPTCP option is used to announce available IP addresses
> that a peer may connect to when adding more TCP subflows to an existing
> MPTCP connection. There is an optional port number field in that
> ADD_ADDR header, and this
From: Dany Madden
Date: Wed, 9 Dec 2020 20:53:31 -0500
> From: "Dwip N. Banerjee"
>
> We observed that in the error case for batched send_subcrq_indirect() the
> driver does not account for the partial success case. This caused Linux to
> crash when free_map and pool index are inconsistent.
>
:b65054597872ce3aefbc6a666385eabdf9e288da
config: mips-randconfig-r026-20201209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project
1968804ac726e7674d5de22bc2204b45857da344)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin
From: Zheng Yongjun
Date: Wed, 9 Dec 2020 09:20:02 +0800
> Simplify the return expression.
>
> Signed-off-by: Zheng Yongjun
Applied.
From: Xie He
Date: Tue, 8 Dec 2020 17:40:13 -0800
> 1. In x25_xmit, skb_reset_network_header is not necessary before we call
> lapb_data_request. The lapb module doesn't need skb->network_header.
> So there is no need to set skb->network_header before calling
> lapb_data_request.
>
> 2. In x25_
From: Paolo Abeni
Date: Wed, 9 Dec 2020 12:03:28 +0100
> This series includes a few fixes following-up the
> recent code refactor for the MPTCP RX and TX paths.
>
> Boundling them together, since the fixes are somewhat
> related.
Series applied, thanks.
From: Xie He
Date: Wed, 9 Dec 2020 00:16:04 -0800
> 1. When the x25 module gets loaded, layer 2 may already be running and
> connected. In this case, although we are in X25_LINK_STATE_0, we still
> need to handle the Restart Request received, rather than ignore it.
>
> 2. When we are in X25_LIN
On 12/9/20 10:15 AM, Saeed Mahameed wrote:
>> My personal experience with this one is mlx5/ConnectX4-LX with a
>> limit
>
> This limit was removed from mlx5
> https://patchwork.ozlabs.org/project/netdev/patch/20200107191335.12272-5-sae...@mellanox.com/
> Note: you still need to use ehttool to incr
From: Russell King - ARM Linux admin
Date: Wed, 9 Dec 2020 11:21:52 +
> Hi,
>
> This patch set adds support for the V2801F / CarlitoxxPro module. This
> requires two changes:
>
> 1) the module only supports single byte reads to the ID EEPROM,
>while we need to still permit sequential re
On 12/9/20 12:41 AM, Boris Pismenny wrote:
>
> You are correct, and bond support is currently under review for TLS,
> i.e., search for "TLS TX HW offload for Bond". The same approach that
ok, missed that.
> is applied there is relevant here. More generally, this offload is
> very similar in conc
From: Wong Vee Khee
Date: Thu, 10 Dec 2020 06:47:00 +0800
> Assign stmmac's mdio_bus probe capabilities to MDIOBUS_C22_C45.
> This extended the probing of C45 PHY devices on the MDIO bus.
>
> Signed-off-by: Wong Vee Khee
> ---
> v2 changelog:
> - Added conditional check for gmac4.
Applied, tha
On Sun, Dec 06, 2020 at 02:27:13PM +0100, Aleksander Jan Bajkowski wrote:
> Add compatible string and example for xRX300 and xRX330.
>
> Signed-off-by: Aleksander Jan Bajkowski
> ---
> .../bindings/net/dsa/lantiq-gswip.txt | 110 +-
> 1 file changed, 109 insertions(+), 1
From: Jakub Kicinski
Date: Wed, 9 Dec 2020 08:18:21 -0800
> Test robot reports:
>
> drivers/net/ethernet/netronome/nfp/crypto/tls.c: In function
> 'nfp_net_tls_rx_resync_req':
> drivers/net/ethernet/netronome/nfp/crypto/tls.c:477:18: warning: variable
> 'ipv6h' set but not used [-Wunused-but-
From: Guojia Liao
For the max rss size of PF may be up to 512, the max queue
number of single tc may be up to 512 too. For the total queue
numbers may be up to 1280, so the queue offset of each tc may
be more than 1024. So adjust the rss tc mode configuration
command, including extend tc size fie
From: Guojia Liao
Currently, the driver gets the max rss size from configuration
file when initialization. Both the PF and VF share the same
max rss size, and no more than 128.
For DEVICE_VERSION_V3, the max rss size for PF can be up to
512, so there is a new field in configuration file to store
From: Jian Shen
Currently, the HNS3 driver only supports offload for tc number
and prio_tc. This patch adds support for other qopts, including
queues count and offset for each tc.
When enable tc mqprio offload, it's not allowed to change
queue numbers by ethtool. For hardware limitation, the que
From: Guojia Liao
For the max rss size of PF may be up to 512, so adjust the
command of configuring rss indirection table to support
queue id larger than 255. The width of queue id is extended
from 8 bits to 10 bits. The high 2 bits are stored in filed
rss_qid_h when the queue id is larger than 2
From: Jian Shen
Some new device supports forwarding packet to queues of specified
TC when flow director rule hit. So add support to configure flow
director rule by tc flower. To avoid rule conflict, add a new flow
director mode HCLGE_FD_TC_FLOWER_ACTIVE, and only one mode can be
active at the sam
From: Jian Shen
For some new device, it supports forwarding packet to queues
of specified TC when flow director rule hit. So extend the
command handle to support it.
Signed-off-by: Jian Shen
Signed-off-by: Huazhong Tan
---
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 2 ++
.../net/e
This patchset adds support for tc mqprio offload, hw tc
offload of tc flower, and adpation for max rss size changes.
Guojia Liao (3):
net: hns3: add support for max 512 rss size
net: hns3: adjust rss indirection table configure command
net: hns3: adjust rss tc mode configure command
Jian Sh
From: Jian Shen
Currently, there are multiple members related to tc information
in struct hnae3_knic_private_info. Merge them into a new struct
hnae3_tc_info.
Signed-off-by: Jian Shen
Signed-off-by: Huazhong Tan
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h| 17
drivers/net
On Mon, Dec 07, 2020 at 04:03:55PM -0600, George McCollister wrote:
> Add documentation and an example for Arrow SpeedChips XRS7000 Series
> single chip Ethernet switches.
>
> Signed-off-by: George McCollister
> Reviewed-by: Florian Fainelli
> ---
> .../devicetree/bindings/net/dsa/arrow,xrs700x
From: Sven Van Asbroeck
Even if there is more rx data waiting on the chip, the rx napi poll fn
will never run more than once - it will always read a few buffers, then
bail out and re-arm interrupts. Which results in ping-pong between napi
and interrupt.
This defeats the purpose of napi, and is b
On 12/9/20 1:15 AM, Boris Pismenny wrote:
> On 09/12/2020 2:38, David Ahern wrote:
>>
>> The AF_XDP reference was to differentiate one zerocopy use case (all
>> packets go to userspace) from another (kernel managed TCP socket with
>> zerocopy payload). You are focusing on a very narrow use case - k
Hi Vladimir,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.10-rc7 next-20201209]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as
From: Huazhong Tan
Date: Thu, 10 Dec 2020 11:42:05 +0800
> This patchset adds support for tc mqprio offload, hw tc
> offload of tc flower, and adpation for max rss size changes.
ZSeries applied, thanks.
On Wed, Dec 9, 2020 at 6:44 PM Toke Høiland-Jørgensen wrote:
>
> Zhu Yanjun writes:
>
> > On Wed, Dec 9, 2020 at 1:12 AM Daniel Borkmann wrote:
> >>
> >> On 12/9/20 6:03 AM, Zhu Yanjun wrote:
> >> > In the function xdp_umem_pin_pages, if npgs != umem->npgs and
> >> > npgs >= 0, the function xdp_
From: Mickey Rachamim
Date: Wed, 9 Dec 2020 15:47:39 +0200
> Add maintainers info for new Marvell Prestera Ethernet switch driver.
>
> Signed-off-by: Mickey Rachamim
> ---
> 1. Update +W to link to the project source github page.
> 2. Remove +L as inherited from the entry of networking drivers.
On Thu, 2020-12-10 at 11:42 +0800, Huazhong Tan wrote:
> From: Jian Shen
>
> Currently, the HNS3 driver only supports offload for tc number
> and prio_tc. This patch adds support for other qopts, including
> queues count and offset for each tc.
>
> When enable tc mqprio offload, it's not allowed
From: Martin KaFai Lau
Date: Wed, 9 Dec 2020 16:07:07 -0800
> On Tue, Dec 01, 2020 at 11:44:12PM +0900, Kuniyuki Iwashima wrote:
> > This patch renames reuseport_select_sock() to __reuseport_select_sock() and
> > adds two wrapper function of it to pass the migration type defined in the
> > pre
1 - 100 of 383 matches
Mail list logo