Fw: [Bug 212731] New: USB Ethernet adapter ASIX AX88179 disconnects under heavy load.

2021-04-20 Thread Stephen Hemminger
Begin forwarded message: Date: Tue, 20 Apr 2021 02:24:51 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 212731] New: USB Ethernet adapter ASIX AX88179 disconnects under heavy load. https://bugzilla.kernel.org/show_bug.cgi?id=212731 B

FW: IGMP messages leading to MRT_NOCACHE upcalls

2021-04-14 Thread Sietse van Zanen
Hi, IGMP packets are eligible to be forwarded by the kernel, leading to MRT_NOCACHE upcalls to userspace. I decided to check into this, because there was a notable difference in multicast mrt between FreeBSD (which "arguably" has the better network stack) and Linux using the exact same user spa

[PATCH net-next 10/15] ice: Limit forced overrides based on FW version

2021-04-08 Thread Tony Nguyen
From: Jeb Cramer Beyond a specific version of firmware, there is no need to provide override values to the firmware when setting PHY capabilities. In this case, we do not need to indicate whether we're in Strict or Lenient Link Mode. In the case of translating capabilities to the configuration

Re: Fw: [Bug 212515] New: DoS Attack on Fragment Cache

2021-04-01 Thread Eric Dumazet
On 4/1/21 8:08 PM, Stephen Hemminger wrote: > Initial discussion is that this bug is not easily addressable. > Any fragmentation handler is subject to getting poisoned. > > Begin forwarded message: > > Date: Wed, 31 Mar 2021 22:39:12 + > From: bugzilla-dae...@bugzilla.kernel.org > To: step

Fw: [Bug 212515] New: DoS Attack on Fragment Cache

2021-04-01 Thread Stephen Hemminger
Initial discussion is that this bug is not easily addressable. Any fragmentation handler is subject to getting poisoned. Begin forwarded message: Date: Wed, 31 Mar 2021 22:39:12 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 212515] New: DoS Attack on

Re: [PATCH net] nfp: flower: ignore duplicate merge hints from FW

2021-03-30 Thread patchwork-bot+netdevbpf
merge hints if there're more than one packet that hit the pre-merged > flow. And processing duplicate merge hints will cost extra host_ctx's > which are a limited resource. > > [...] Here is the summary with links: - [net] nfp: flower: ignore duplicate merge hints from FW

[PATCH net] nfp: flower: ignore duplicate merge hints from FW

2021-03-30 Thread Simon Horman
From: Yinjun Zhang A merge hint message needs some time to process before the merged flow actually reaches the firmware, during which we may get duplicate merge hints if there're more than one packet that hit the pre-merged flow. And processing duplicate merge hints will cost extra host_ctx's whi

Fw: [Bug 212353] New: Requesting IP_RECVTTL via setsockopt returns IP_TTL via recvmsg()'s cmsghdr

2021-03-19 Thread Stephen Hemminger
Begin forwarded message: Date: Fri, 19 Mar 2021 07:04:12 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 212353] New: Requesting IP_RECVTTL via setsockopt returns IP_TTL via recvmsg()'s cmsghdr https://bugzilla.kernel.org/show_bug.cgi?id=212353

[PATCH net-next 5/7] ionic: block actions during fw reset

2021-03-18 Thread Shannon Nelson
Block some actions while the FW is in a reset activity and the queues are not configured. Signed-off-by: Shannon Nelson --- drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c | 4 drivers/net/ethernet/pensando/ionic/ionic_dev.c | 8 +--- drivers/net/ethernet/pensando/ionic

Fw: [Bug 212317] New: /proc/net/dev: reversed counter for network namespaces?

2021-03-17 Thread Stephen Hemminger
Begin forwarded message: Date: Wed, 17 Mar 2021 14:14:36 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 212317] New: /proc/net/dev: reversed counter for network namespaces? https://bugzilla.kernel.org/show_bug.cgi?id=212317 Bug ID: 2

Re: [PATCH] wireless: intel: iwlwifi: fw: api: Absolute rudimentary typo fixes in the file power.h

2021-03-16 Thread Randy Dunlap
On 3/16/21 9:25 PM, Bhaskar Chowdhury wrote: > > s/folowing/following/ > s/Celsuis/Celsius/ > s/temerature/temperature/ ...twice > > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/net/wireless/intel/iwlwifi/fw/api/power.h | 8 ++

[PATCH] wireless: intel: iwlwifi: fw: api: Absolute rudimentary typo fixes in the file power.h

2021-03-16 Thread Bhaskar Chowdhury
s/folowing/following/ s/Celsuis/Celsius/ s/temerature/temperature/ ...twice Signed-off-by: Bhaskar Chowdhury --- drivers/net/wireless/intel/iwlwifi/fw/api/power.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/power.h b

Fw: [Bug 212299] New: RK3288-RTL8211E ethernet driver error

2021-03-16 Thread Stephen Hemminger
Begin forwarded message: Date: Tue, 16 Mar 2021 06:39:54 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 212299] New: RK3288-RTL8211E ethernet driver error https://bugzilla.kernel.org/show_bug.cgi?id=212299 Bug ID: 212299 Su

[net-next 04/15] net/mlx5: Remove second FW tracer check

2021-03-11 Thread Saeed Mahameed
From: Leon Romanovsky The FW tracer check is called twice, so delete one of them. Signed-off-by: Leon Romanovsky Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c | 7 +-- 2 files

[PATCH net-next 6/6] mlxsw: Adjust some MFDE fields shift and size to fw implementation

2021-03-10 Thread Ido Schimmel
From: Danielle Ratson MFDE.irisc_id and MFDE.event_id were adjusted according to what is actually implemented in firmware. Adjust the shift and size of these fields in mlxsw as well. Note that the displacement of the first field is not a regression. It was always incorrect and therefore reporte

[PATCH net-next 3/6] mlxsw: spectrum: Bump minimum FW version to xx.2008.2406

2021-03-10 Thread Ido Schimmel
From: Petr Machata The indicated version fixes the following two issues: - MIRROR_SAMPLER_ACTION.mirror_probability_rate inverted. This has implication for per-flow sampling. - When adjacency is replaced-if-inactive (RATR.opcode=3), bad parameter was reported when replacing an active entry.

Re: Fw: [Bug 212005] New: WARNING: CPU: 1 PID: 356 at net/ipv4/tcp.c:2343 tcp_recvmsg_locked+0x90e/0x29a0

2021-03-01 Thread Eric Dumazet
On 3/1/21 5:37 PM, Eric Dumazet wrote: > > > On 3/1/21 4:58 PM, Stephen Hemminger wrote: >> >> >> Begin forwarded message: >> >> Date: Mon, 01 Mar 2021 11:50:22 + >> From: bugzilla-dae...@bugzilla.kernel.org >> To: step...@networkplumber.org >> Subject: [Bug 212005] New: WARNING: CPU: 1 PI

Re: Fw: [Bug 212005] New: WARNING: CPU: 1 PID: 356 at net/ipv4/tcp.c:2343 tcp_recvmsg_locked+0x90e/0x29a0

2021-03-01 Thread Eric Dumazet
On 3/1/21 4:58 PM, Stephen Hemminger wrote: > > > Begin forwarded message: > > Date: Mon, 01 Mar 2021 11:50:22 + > From: bugzilla-dae...@bugzilla.kernel.org > To: step...@networkplumber.org > Subject: [Bug 212005] New: WARNING: CPU: 1 PID: 356 at net/ipv4/tcp.c:2343 > tcp_recvmsg_locked+

Fw: [Bug 212005] New: WARNING: CPU: 1 PID: 356 at net/ipv4/tcp.c:2343 tcp_recvmsg_locked+0x90e/0x29a0

2021-03-01 Thread Stephen Hemminger
Begin forwarded message: Date: Mon, 01 Mar 2021 11:50:22 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 212005] New: WARNING: CPU: 1 PID: 356 at net/ipv4/tcp.c:2343 tcp_recvmsg_locked+0x90e/0x29a0 https://bugzilla.kernel.org/show_bug.cgi?id=21200

[PATCH net v2 5/8] i40e: Fix addition of RX filters after enabling FW LLDP agent

2021-02-19 Thread Tony Nguyen
From: Mateusz Palczewski Fix addition of VLAN filter for PF after enabling FW LLDP agent. Changing LLDP Agent causes FW to re-initialize per NVM settings. Remove default PF filter and move "Enable/Disable" to currently used reset flag. Without this patch PF would try to add MAC VLAN f

[PATCH net 5/8] i40e: Fix addition of RX filters after enabling FW LLDP agent

2021-02-18 Thread Tony Nguyen
From: Mateusz Palczewski Fix addition of VLAN filter for PF after enabling FW LLDP agent. Changing LLDP Agent causes FW to re-initialize per NVM settings. Remove default PF filter and move "Enable/Disable" to currently used reset flag. Without this patch PF would try to add MAC VLAN f

FW: [PATCH net-next] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-18 Thread Min Li
-Original Message- From: Min Li Sent: February 18, 2021 11:14 AM To: 'Arnd Bergmann' Cc: Derek Kiernan ; Dragan Cvetic ; Arnd Bergmann ; gregkh ; linux-ker...@vger.kernel.org; Networking ; Richard Cochran Subject: RE: [PATCH net-next] misc: Add Renesas Synchronization Management Uni

[RFC PATCH v3 09/11] net-qed: Add NVMeTCP Offload PF Level FW and HW HSI

2021-02-07 Thread Shai Malin
_func_init { + __le16 reserved; + __le16 half_way_close_timeout; + u8 num_sq_pages_in_ring; + u8 num_r2tq_pages_in_ring; + u8 num_uhq_pages_in_ring; + u8 ll2_rx_queue_id; + u8 flags; +#define NVMETCP_SPE_FUNC_INIT_COUNTERS_EN_MASK 0x1 +#define NVMETCP_SP

Fw: [Bug 211375] New: Memory leak about TCP slab which have too big used sockets

2021-01-29 Thread Stephen Hemminger
This is a quite old kernel version, probably already fixed... Begin forwarded message: Date: Wed, 27 Jan 2021 01:48:33 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 211375] New: Memory leak about TCP slab which have too big used sockets https://bu

RE: [EXT] Re: [PATCH v4 net-next 11/19] net: mvpp2: add spinlock for FW FCA configuration path

2021-01-27 Thread Stefan Chulski
> > index 9d8993f..f34e260 100644 > > --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h > > +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h > > @@ -1021,6 +1021,11 @@ struct mvpp2 { > > > > /* CM3 SRAM pool */ > > struct gen_pool *sram_pool; > > + > > + bool custom_dma_mask; >

Re: [PATCH v4 net-next 11/19] net: mvpp2: add spinlock for FW FCA configuration path

2021-01-27 Thread Willem de Bruijn
On Wed, Jan 27, 2021 at 7:19 AM wrote: > > From: Stefan Chulski > > Spinlock added to MSS shared memory configuration space. > > Signed-off-by: Stefan Chulski > --- > drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 5 + > drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 3 +++ > 2 files

[PATCH v4 net-next 11/19] net: mvpp2: add spinlock for FW FCA configuration path

2021-01-27 Thread stefanc
From: Stefan Chulski Spinlock added to MSS shared memory configuration space. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 5 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/drivers/net/etherne

Fw: [Bug 211363] New: i40e: WARNING from i40e when ethtool -S is run.

2021-01-27 Thread Stephen Hemminger
Begin forwarded message: Date: Tue, 26 Jan 2021 19:23:29 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 211363] New: i40e: WARNING from i40e when ethtool -S is run. https://bugzilla.kernel.org/show_bug.cgi?id=211363 Bug ID: 211363

Fw: [Bug 211351] New: Syzkaller:read-only memory access caused with the __ro_after_init

2021-01-26 Thread Stephen Hemminger
Begin forwarded message: Date: Tue, 26 Jan 2021 14:20:52 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 211351] New: Syzkaller:read-only memory access caused with the __ro_after_init https://bugzilla.kernel.org/show_bug.cgi?id=211351

[PATCH v3 RFC net-next 11/19] net: mvpp2: add spinlock for FW FCA configuration path

2021-01-25 Thread stefanc
From: Stefan Chulski Spinlock added to MSS shared memory configuration space. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 5 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/drivers/net/etherne

[PATCH net-next 05/15] bnxt_en: Move reading VPD info after successful handshake with fw.

2021-01-24 Thread Michael Chan
From: Vasundhara Volam If firmware is in reset or in bad state, it won't be able to return VPD data. Move bnxt_vpd_read_info() until after bnxt_fw_init_one_p1() successfully returns. By then we would have established proper communications with the firmware. Reviewed-by: Edwin Peer Signed-off-

[PATCH v2 RFC net-next 10/18] net: mvpp2: add spinlock for FW FCA configuration path

2021-01-24 Thread stefanc
From: Stefan Chulski Spinlock added to MSS shared memory configuration space. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 5 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/drivers/net/etherne

Fw: [Bug 211175] New: gretap does not fragment packets regardless of the DF flag

2021-01-14 Thread Stephen Hemminger
Begin forwarded message: Date: Wed, 13 Jan 2021 13:37:33 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 211175] New: gretap does not fragment packets regardless of the DF flag https://bugzilla.kernel.org/show_bug.cgi?id=211175 Bug ID

[PATCH RFC net-next 10/19] net: mvpp2: add spinlock for FW FCA configuration path

2021-01-10 Thread stefanc
From: Stefan Chulski Spinlock added to MSS shared memory configuration space. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 5 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/drivers/net/etherne

Fw: [Bug 211085] New: No response from TCP connection in ESTALISHED state if sending data segment with unacceptable ACK

2021-01-08 Thread Stephen Hemminger
This looks like a case where some conformance test is testing a corner case in the standard where the Linux TCP stack is not following the standard for valid reasons. Linux behavior of silently dropping the packet would reduce DoS changes and information leakage for MiTM attacks. Begin forwarded

Re: [PATCH 07/18] net: iosm: char device for FW flash & coredump

2021-01-07 Thread Andrew Lunn
On Thu, Jan 07, 2021 at 10:35:12PM +0530, M Chetan Kumar wrote: > Implements a char device for flashing Modem FW image while Device > is in boot rom phase and for collecting traces on modem crash. Since this is a network device, you might want to take a look at devlink support for fl

[PATCH 07/18] net: iosm: char device for FW flash & coredump

2021-01-07 Thread M Chetan Kumar
Implements a char device for flashing Modem FW image while Device is in boot rom phase and for collecting traces on modem crash. Signed-off-by: M Chetan Kumar --- drivers/net/wwan/iosm/iosm_ipc_sio.c | 266 +++ drivers/net/wwan/iosm/iosm_ipc_sio.h | 78

Fw: [Bug 210781] New: Tun.c fails with tc mirror when using bridges

2020-12-20 Thread Stephen Hemminger
Begin forwarded message: Date: Fri, 18 Dec 2020 23:24:31 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 210781] New: Tun.c fails with tc mirror when using bridges https://bugzilla.kernel.org/show_bug.cgi?id=210781 Bug ID: 210781

Re: Fw: [External] Re: [PATCH v4 0/4] Improve s0ix flows for systems i219LM

2020-12-15 Thread Neftin, Sasha
On 12/15/2020 19:20, Limonciello, Mario wrote: Absolutely - I'll ask them to look into this again. we need to explain why on Windows systems required 1s and on Linux systems up to 2.5s - otherwise it is not reliable approach - you will encounter others buggy system. (ME not POR on the Linux s

RE: Fw: [External] Re: [PATCH v4 0/4] Improve s0ix flows for systems i219LM

2020-12-15 Thread Limonciello, Mario
> > Absolutely - I'll ask them to look into this again. > > > we need to explain why on Windows systems required 1s and on Linux > systems up to 2.5s - otherwise it is not reliable approach - you will > encounter others buggy system. > (ME not POR on the Linux systems - is only one possible answer

Re: Fw: [External] Re: [PATCH v4 0/4] Improve s0ix flows for systems i219LM

2020-12-15 Thread Neftin, Sasha
On 12/14/2020 20:40, Mark Pearson wrote: Thanks Hans On 14/12/2020 13:31, Mark Pearson wrote: *From:* Hans de Goede *Sent:* December 14, 2020 13:24 *To:* Mario Limonciello ; Jeff Kirsher ; Tony Nguyen ; intel-wired-...@

Re: Fw: [External] Re: [PATCH v4 0/4] Improve s0ix flows for systems i219LM

2020-12-14 Thread Mark Pearson
Thanks Hans On 14/12/2020 13:31, Mark Pearson wrote: > > > > *From:* Hans de Goede > *Sent:* December 14, 2020 13:24 > *To:* Mario Limonciello ; Jeff Kirsher > ; Tony Nguyen ; > intel-wired-...@lists.osuosl.org ; > David M

[PATCH net-next 4/5] bnxt_en: Retry installing FW package under NO_SPACE error condition.

2020-12-13 Thread Michael Chan
INSTALL_PACKAGE_TIMEOUT); memcpy(&resp, bp->hwrm_cmd_resp_addr, sizeof(resp)); + + if (rc && ((struct hwrm_err_output *)&resp)->cmd_err == + NVM_INSTALL_UPDATE_CMD_ERR_CODE_NO_S

Fw: [GIT] Networking

2020-12-10 Thread David Miller
Typod this lists addr first two times, third times the cgarm I suppose. --- Begin Message --- 1) IPsec compaat fixes, from Dmitrey Safonov. 2) Fix memory leak in xfrm_user_policy(). Fix from Yu Kuai. 3) Fix polling in xsk sockets by using sk_poll_wait() instead of datagram_poll() which key

[net-next v4 3/9] ice: Enable Support for FW Override (E82X)

2020-12-09 Thread Tony Nguyen
From: Jeb Cramer The driver is able to override the firmware when it comes to supporting a more lenient link mode. This feature was limited to E810 devices. It is now extended to E82X devices. Signed-off-by: Jeb Cramer Tested-by: Aaron Brown Signed-off-by: Tony Nguyen --- drivers/net/ether

Fw: [Bug 210569] New: ping over geneve would fail

2020-12-09 Thread Stephen Hemminger
Begin forwarded message: Date: Wed, 09 Dec 2020 02:04:16 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 210569] New: ping over geneve would fail https://bugzilla.kernel.org/show_bug.cgi?id=210569 Bug ID: 210569 Summary: pin

Re: [PATCH wireless] iwlwifi: fw: simplify the iwl_fw_dbg_collect_trig()

2020-12-09 Thread Kalle Valo
Zheng Yongjun writes: > Simplify the return expression. > > Signed-off-by: Zheng Yongjun > --- > drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 9 ++--- > 1 file changed, 2 insertions(+), 7 deletions(-) > > diff --git a/drivers/net/wireless/intel/iwlwifi/fw/dbg.c

[PATCH v2 wireless] iwlwifi: fw: simplify the iwl_fw_dbg_collect_trig()

2020-12-09 Thread Zheng Yongjun
Simplify the return expression. Signed-off-by: Zheng Yongjun --- drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/dbg.c b/drivers/net/wireless/intel/iwlwifi/fw/dbg.c index ab4a8b942c81

[PATCH wireless] iwlwifi: fw: simplify the iwl_fw_dbg_collect_trig()

2020-12-09 Thread Zheng Yongjun
Simplify the return expression. Signed-off-by: Zheng Yongjun --- drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/dbg.c b/drivers/net/wireless/intel/iwlwifi/fw/dbg.c index ab4a8b942c81

[net-next V3 14/15] net/mlx5e: Split between RX/TX tunnel FW support indication

2020-12-08 Thread saeed
From: Aya Levin Use the new FW caps to advertise for ip-in-ip tunnel support separately for RX and TX. Signed-off-by: Aya Levin Reviewed-by: Moshe Shemesh Signed-off-by: Saeed Mahameed --- .../net/ethernet/mellanox/mlx5/core/en/fs.h | 3 +- .../net/ethernet/mellanox/mlx5/core/en_fs.c

[PATCH net-next 6/7] mlxsw: spectrum: Bump minimum FW version to xx.2008.2018

2020-12-06 Thread Ido Schimmel
From: Petr Machata The indicated version fixes an issue whereby the MOMTE register would by default enable mirroring of ECN-marked traffic from all traffic classes, once the ECN mirroring was configured. This fix is necessary for offload of RED "ecn_mark" qevent. Signed-off-by: Petr Machata Sig

[net-next V2 14/15] net/mlx5e: Split between RX/TX tunnel FW support indication

2020-12-02 Thread Saeed Mahameed
From: Aya Levin Use the new FW caps to advertise for ip-in-ip tunnel support separately for RX and TX. Signed-off-by: Aya Levin Reviewed-by: Moshe Shemesh Signed-off-by: Saeed Mahameed --- .../net/ethernet/mellanox/mlx5/core/en/fs.h | 3 +- .../net/ethernet/mellanox/mlx5/core/en_fs.c

[net-next 14/15] net/mlx5e: Split between RX/TX tunnel FW support indication

2020-12-01 Thread Saeed Mahameed
From: Aya Levin Use the new FW caps to advertise for ip-in-ip tunnel support separately for RX and TX. Signed-off-by: Aya Levin Reviewed-by: Moshe Shemesh Signed-off-by: Saeed Mahameed --- .../net/ethernet/mellanox/mlx5/core/en/fs.h | 3 +- .../net/ethernet/mellanox/mlx5/core/en_fs.c

[PATCH 16/17] iwlwifi: fw: acpi: Demote non-conformant function headers

2020-11-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/fw/acpi.c:123: warning: Function parameter or member 'dev' not described in 'iwl_acpi_get_dsm_object' drivers/net/wireless/intel/iwlwifi/fw/acpi.c:123: warning: Function parameter or member

[PATCH 14/17] iwlwifi: fw: dbg: Fix misspelling of 'reg_data' in function header

2020-11-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/fw/dbg.c:1932: warning: Function parameter or member 'reg_data' not described in 'iwl_dump_ini_mem' drivers/net/wireless/intel/iwlwifi/fw/dbg.c:1932: warning: Excess function parameter

[RFC 07/18] net: iosm: char device for FW flash & coredump

2020-11-23 Thread M Chetan Kumar
Implements a char device for flashing Modem FW image while Device is in boot rom phase and for collecting traces on modem crash. Signed-off-by: M Chetan Kumar --- drivers/net/wwan/iosm/iosm_ipc_sio.c | 188 +++ drivers/net/wwan/iosm/iosm_ipc_sio.h | 72

Fw: [Bug 210255] New: IP_UNICAST_IF has no effect on connect()ed UDP sockets

2020-11-18 Thread Stephen Hemminger
Begin forwarded message: Date: Wed, 18 Nov 2020 15:06:51 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 210255] New: IP_UNICAST_IF has no effect on connect()ed UDP sockets https://bugzilla.kernel.org/show_bug.cgi?id=210255 Bug ID: 21

Fw: [Bug 210195] New: Security scanner crashes kernel post 4.19.13 ade446403bfb

2020-11-13 Thread Stephen Hemminger
Begin forwarded message: Date: Fri, 13 Nov 2020 23:01:48 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 210195] New: Security scanner crashes kernel post 4.19.13 ade446403bfb https://bugzilla.kernel.org/show_bug.cgi?id=210195 Bug ID:

[net-next v3 09/15] ice: Enable Support for FW Override (E82X)

2020-11-13 Thread Tony Nguyen
From: Jeb Cramer The driver is able to override the firmware when it comes to supporting a more lenient link mode. This feature was limited to E810 devices. It is now extended to E82X devices. Signed-off-by: Jeb Cramer Tested-by: Aaron Brown Signed-off-by: Tony Nguyen --- drivers/net/ether

[net-next v2 09/15] ice: Enable Support for FW Override (E82X)

2020-11-13 Thread Tony Nguyen
From: Jeb Cramer The driver is able to override the firmware when it comes to supporting a more lenient link mode. This feature was limited to E810 devices. It is now extended to E82X devices. Signed-off-by: Jeb Cramer Tested-by: Aaron Brown Signed-off-by: Tony Nguyen --- drivers/net/ether

[PATCH 6/6] staging: net: wimax: i2400m: fw: Fix incorrectly spelt function parameter in documentation

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wimax/i2400m/fw.c:647: warning: Function parameter or member '__chunk_len' not described in 'i2400m_download_chunk' drivers/net/wimax/i2400m/fw.c:647: warning: Excess function parameter 'chunk_len' description in 'i2400m_download_chu

[PATCH 3/6] staging: net: wimax: i2400m: fw: Fix some function header misdemeanours

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wimax/i2400m/fw.c:584: warning: Function parameter or member 'i2400m' not described in 'i2400m_bm_cmd' drivers/net/wimax/i2400m/fw.c:584: warning: Excess function parameter 'returns' description in 'i2400m_bm_cmd' drivers/net/wimax/

FW: [PATCH net-next RFC v1 05/10] nvme-tcp: Add DDP offload control path

2020-11-10 Thread Shai Malin
On 11/10/2020 1:24 AM, Sagi Grimberg wrote: > >>> diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c index > >>> 8f4f29f18b8c..06711ac095f2 100644 > >>> --- a/drivers/nvme/host/tcp.c > >>> +++ b/drivers/nvme/host/tcp.c > >>> @@ -62,6 +62,7 @@ enum nvme_tcp_queue_flags { > >>>

[net-next 09/15] ice: Enable Support for FW Override (E82X)

2020-11-02 Thread Tony Nguyen
From: Jeb Cramer The driver is able to override the firmware when it comes to supporting a more lenient link mode. This feature was limited to E810 devices. It is now extended to E82X devices. Signed-off-by: Jeb Cramer Tested-by: Aaron Brown Signed-off-by: Tony Nguyen --- drivers/net/ether

Re: [PATCH\ net] rtw88: fix fw dump support detection

2020-11-02 Thread Kalle Valo
Arnd Bergmann wrote: > From: Arnd Bergmann > > clang points out a useless check that was recently added: > > drivers/net/wireless/realtek/rtw88/fw.c:1485:21: warning: address of array > 'rtwdev->chip->fw_fifo_addr' will always evaluate to 'true' > [-Wpointer-bool-conversion] > if (!r

[PATCH 06/30] net: wimax: i2400m: fw: Fix some function header misdemeanours

2020-11-02 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wimax/i2400m/fw.c:584: warning: Function parameter or member 'i2400m' not described in 'i2400m_bm_cmd' drivers/net/wimax/i2400m/fw.c:584: warning: Excess function parameter 'returns' description in 'i2400m_bm_cmd' drivers/net/wimax/

[PATCH 17/30] net: wimax: i2400m: fw: Fix incorrectly spelt function parameter in documentation

2020-11-02 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wimax/i2400m/fw.c:647: warning: Function parameter or member '__chunk_len' not described in 'i2400m_download_chunk' drivers/net/wimax/i2400m/fw.c:647: warning: Excess function parameter 'chunk_len' description in 'i2400m_download_chu

[PATCH 37/41] iwlwifi: fw: dbg: Fix misspelling of 'reg_data' in function header

2020-11-02 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/fw/dbg.c:1932: warning: Function parameter or member 'reg_data' not described in 'iwl_dump_ini_mem' drivers/net/wireless/intel/iwlwifi/fw/dbg.c:1932: warning: Excess function parameter

[PATCH 40/41] iwlwifi: fw: acpi: Demote non-conformant function headers

2020-11-02 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/fw/acpi.c:123: warning: Function parameter or member 'dev' not described in 'iwl_acpi_get_dsm_object' drivers/net/wireless/intel/iwlwifi/fw/acpi.c:123: warning: Function parameter or member

[RFC PATCH 0/3] mwifiex: add fw reset quirks for Microsoft Surface

2020-10-28 Thread Tsuchiya Yuto
Hello all, This series adds firmware reset quirks for Microsoft Surface devices (PCIe-88W8897). Surface devices somehow requires quirks to reset the firmware. Otherwise, current mwifiex driver can reset only software level. This is not enough to recover from a bad state. To do so, in the first pa

Re: [PATCH\ net] rtw88: fix fw dump support detection

2020-10-26 Thread Nathan Chancellor
mp_fifo(struct rtw_dev *rtwdev, u8 fifo_sel, u32 addr, u32 size, >u32 *buffer) > { > - if (!rtwdev->chip->fw_fifo_addr) { > + if (!rtwdev->chip->fw_fifo_addr[0]) { > rtw_dbg(rtwdev, RTW_DBG_FW, "chip not support dump fw

[PATCH\ net] rtw88: fix fw dump support detection

2020-10-26 Thread Arnd Bergmann
]) { rtw_dbg(rtwdev, RTW_DBG_FW, "chip not support dump fw fifo\n"); return -ENOTSUPP; } -- 2.27.0

[PATCH net 5/5] bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally.

2020-10-25 Thread Michael Chan
likely to be reset imminently. However, the HWRM_FUNC_RESET command is different and we should always attempt to send it. In the AER flow for example, the .slot_reset() call will trigger this fw command and we need to try to send it to effect the proper reset. Fixes: b340dc680ed4 ("bnxt_en

Re: Fw: [Bug 209823] New: system panic since commit d18d22ce8f62839365c984b1df474d3975ed4eb2

2020-10-25 Thread David Ahern
On 10/23/20 9:24 AM, Stephen Hemminger wrote: > > > Begin forwarded message: > > Date: Fri, 23 Oct 2020 03:38:54 + > From: bugzilla-dae...@bugzilla.kernel.org > To: step...@networkplumber.org > Subject: [Bug 209823] New: system panic since commit > d18d22ce8f62839365c984b1df474d3975ed4eb2

Fw: [Bug 209823] New: system panic since commit d18d22ce8f62839365c984b1df474d3975ed4eb2

2020-10-23 Thread Stephen Hemminger
Begin forwarded message: Date: Fri, 23 Oct 2020 03:38:54 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 209823] New: system panic since commit d18d22ce8f62839365c984b1df474d3975ed4eb2 https://bugzilla.kernel.org/show_bug.cgi?id=209823

Fw: [Bug 209767] New: Bonding 802.3ad layer2+3 transmits on both slaves within single connection

2020-10-20 Thread Stephen Hemminger
Begin forwarded message: Date: Tue, 20 Oct 2020 10:42:34 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 209767] New: Bonding 802.3ad layer2+3 transmits on both slaves within single connection https://bugzilla.kernel.org/show_bug.cgi?id=209767

[net-next v2 1/2] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-12 Thread Tony Nguyen
0 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h +++ b/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h @@ -24,6 +24,8 @@ #define I40E_MINOR_VER_GET_LINK_INFO_X722 0x0009 /* API version 1.6 for X722 devices adds ability to stop FW LLDP agent */ #define I40E_MINOR_VER_FW_LLDP_STOPPABLE_X72

Re: [net-next 1/3] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-12 Thread Nguyen, Anthony L
On Fri, 2020-10-09 at 16:36 -0700, Jakub Kicinski wrote: > On Wed, 7 Oct 2020 16:10:48 -0700 Tony Nguyen wrote: > > + if (hw->mac.type == I40E_MAC_X722 && > > + !(hw->flags & I40E_HW_FLAG_X722_FEC_REQUEST_CAPABLE)) { > > + netdev_err(netdev, "Setting FEC encoding not supported >

[PATCH net-next v2 9/9] bnxt_en: Add stored FW version info to devlink info_get cb.

2020-10-12 Thread Michael Chan
From: Vasundhara Volam This patch adds FW versions stored in the flash to devlink info_get callback. Return the correct fw.psid running version using the newly added bp->nvm_cfg_ver. v2: Ensure stored pkg_name string is NULL terminated when copied to devlink. Return directly from the l

Re: [PATCH net-next 9/9] bnxt_en: Add stored FW version info to devlink info_get cb.

2020-10-11 Thread Vasundhara Volam
if (rc) > > > + return rc; > > > > This will not cause an error to be returned for the entire operation on > > older FW or HW, right? > > > > I don't think so. This firmware call has been around for many years. > The call was recently e

Re: [PATCH net-next 9/9] bnxt_en: Add stored FW version info to devlink info_get cb.

2020-10-11 Thread Michael Chan
turned for the entire operation on > older FW or HW, right? > I don't think so. This firmware call has been around for many years. The call was recently extended to return the stored version information but older firmware will still return successfully without the stored versions.

Re: [PATCH net-next 9/9] bnxt_en: Add stored FW version info to devlink info_get cb.

2020-10-11 Thread Jakub Kicinski
On Sun, 11 Oct 2020 06:23:01 -0400 Michael Chan wrote: > + rc = bnxt_hwrm_nvm_get_dev_info(bp, &nvm_dev_info); > + if (rc) > + return rc; This will not cause an error to be returned for the entire operation on older FW or HW, right? > + if (!(nv

[PATCH net-next 9/9] bnxt_en: Add stored FW version info to devlink info_get cb.

2020-10-11 Thread Michael Chan
From: Vasundhara Volam This patch adds FW versions stored in the flash to devlink info_get callback. Return the correct fw.psid running version using the newly added bp->nvm_cfg_ver. Reviewed-by: Andy Gospodarek Signed-off-by: Vasundhara Volam Signed-off-by: Michael Chan --- .../

Re: [net-next 1/3] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-09 Thread Jakub Kicinski
On Wed, 7 Oct 2020 16:10:48 -0700 Tony Nguyen wrote: > + if (hw->mac.type == I40E_MAC_X722 && > + !(hw->flags & I40E_HW_FLAG_X722_FEC_REQUEST_CAPABLE)) { > + netdev_err(netdev, "Setting FEC encoding not supported by > firmware. Please update the NVM image.\n"); > +

Re: [net-next 1/3] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-09 Thread Willem de Bruijn
On Wed, Oct 7, 2020 at 7:11 PM Tony Nguyen wrote: > > From: Jaroslaw Gawin > > Starting with API version 1.10 firmware for X722 devices has ability > to change FEC settings in PHY. Code added in this patch allows > changing FEC settings if the capability flag indicates the device > supports this

Re: Fw: [Bug 209427] New: Incorrect timestamp cause packet to be dropped

2020-10-09 Thread Evgeny B
I just realized all my messages were bounced by mail server, this is last try This fix works, however they should be applied for each of ipvs_xmit functions (e.g. ip_vs_nat_xmit(), ip_vs_dr_xmit(), etc.) I look forward to seeing the patch in ml-5.x Thank you! On 9/30/2020 8:17 PM, Julian

Fw: [Bug 209579] New: MPLS not forwarding packet, if packet type is not ipv4, ipv6

2020-10-08 Thread Stephen Hemminger
Begin forwarded message: Date: Thu, 08 Oct 2020 07:33:23 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 209579] New: MPLS not forwarding packet, if packet type is not ipv4, ipv6 https://bugzilla.kernel.org/show_bug.cgi?id=209579 Bug

[net-next 1/3] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-07 Thread Tony Nguyen
0 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h +++ b/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h @@ -24,6 +24,8 @@ #define I40E_MINOR_VER_GET_LINK_INFO_X722 0x0009 /* API version 1.6 for X722 devices adds ability to stop FW LLDP agent */ #define I40E_MINOR_VER_FW_LLDP_STOPP

[PATCH net-next v2 14/16] net/mlx5: Add support for fw live patch event

2020-10-06 Thread Moshe Shemesh
core_dev *dev; + int err; + + if (IS_ERR_OR_NULL(tracer)) + return -EINVAL; + + dev = tracer->dev; + mlx5_fw_tracer_cleanup(tracer); + err = mlx5_fw_tracer_recreate_strings_db(tracer); + if (err) { + mlx5_core_warn(dev, "Fail

[PATCH net-next v2 07/16] net/mlx5: Set cap for pci sync for fw update event

2020-10-06 Thread Moshe Shemesh
Set capability to notify the firmware that this host driver is capable of handling pci sync for firmware update events. Signed-off-by: Moshe Shemesh Reviewed-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/

[PATCH net-next v2 11/16] net/mlx5: Add support for devlink reload action fw activate

2020-10-06 Thread Moshe Shemesh
Add support for devlink reload action fw_activate. To activate firmware image the mlx5 driver resets the firmware and reloads it from flash. If a new image was stored on flash it will be loaded. Once this reload command is executed the driver initiates fw sync reset flow, where the firmware

[PATCH net-next 05/11] bnxt_en: Log FW health status info, if reset is aborted.

2020-10-04 Thread Michael Chan
If firmware does not come out of reset, log FW health status info to provide more information on firmware status. Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom

[net V3 05/14] net/mlx5: cmdif, Avoid skipping reclaim pages if FW is not accessible

2020-10-02 Thread saeed
From: Saeed Mahameed In case of pci is offline reclaim_pages_cmd() will still try to call the FW to release FW pages, cmd_exec() in this case will return a silent success without actually calling the FW. This is wrong and will cause page leaks, what we should do is to detect pci offline or

[net V2 06/15] net/mlx5: cmdif, Avoid skipping reclaim pages if FW is not accessible

2020-10-01 Thread saeed
From: Saeed Mahameed In case of pci is offline reclaim_pages_cmd() will still try to call the FW to release FW pages, cmd_exec() in this case will return a silent success without actually calling the FW. This is wrong and will cause page leaks, what we should do is to detect pci offline or

[PATCH net-next 07/16] net/mlx5: Set cap for pci sync for fw update event

2020-10-01 Thread Moshe Shemesh
Set capability to notify the firmware that this host driver is capable of handling pci sync for firmware update events. Signed-off-by: Moshe Shemesh Reviewed-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/

[PATCH net-next 11/16] net/mlx5: Add support for devlink reload action fw activate

2020-10-01 Thread Moshe Shemesh
Add support for devlink reload action fw_activate. To activate firmware image the mlx5 driver resets the firmware and reloads it from flash. If a new image was stored on flash it will be loaded. Once this reload command is executed the driver initiates fw sync reset flow, where the firmware

[PATCH net-next 14/16] net/mlx5: Add support for fw live patch event

2020-10-01 Thread Moshe Shemesh
core_dev *dev; + int err; + + if (IS_ERR_OR_NULL(tracer)) + return -EINVAL; + + dev = tracer->dev; + mlx5_fw_tracer_cleanup(tracer); + err = mlx5_fw_tracer_recreate_strings_db(tracer); + if (err) { + mlx5_core_warn(dev, "Fail

[net 06/15] net/mlx5: cmdif, Avoid skipping reclaim pages if FW is not accessible

2020-09-30 Thread saeed
From: Saeed Mahameed In case of pci is offline reclaim_pages_cmd() will still try to call the FW to release FW pages, cmd_exec() in this case will return a silent success without actually calling the FW. This is wrong and will cause page leaks, what we should do is to detect pci offline or

Re: Fw: [Bug 209427] New: Incorrect timestamp cause packet to be dropped

2020-09-30 Thread Julian Anastasov
Hello, On Wed, 30 Sep 2020, Eric Dumazet wrote: > On 9/29/20 7:35 PM, Stephen Hemminger wrote: > > > > > > then I noticed that in some cases skb->tstamp is equal to real ts whereas in > > the regular cases where a packet pass through it's time since kernel boot. > > This > > doesn't

Re: Fw: [Bug 209427] New: Incorrect timestamp cause packet to be dropped

2020-09-30 Thread Eric Dumazet
On 9/29/20 7:35 PM, Stephen Hemminger wrote: > > > Begin forwarded message: > > Date: Tue, 29 Sep 2020 17:15:23 + > From: bugzilla-dae...@bugzilla.kernel.org > To: step...@networkplumber.org > Subject: [Bug 209427] New: Incorrect timestamp cause packet to be dropped > > > https://bugzil

  1   2   3   4   5   6   7   8   9   10   >