[Intel-wired-lan] [PATCH] [iwl-net] Revert "igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings"

2023-09-22 Thread Prasad Koya
This reverts commit 9ac3fc2f42e5ffa1e927dcbffb71b15fa81459e2. After the command "ethtool -s enps0 speed 100 duplex full autoneg on", i.e., advertise only 100Mbps speed to the peer, "ethtool enps0" shows advertised speeds as 100Mbps and 2500Mbps. Same behavior is seen when changing the speed to 10M

Re: [Intel-wired-lan] [PATCH iwl-next] idpf: set scheduling mode for completion queue

2023-09-22 Thread Alan Brady
On 9/22/2023 9:16 AM, Michal Kubiak wrote: The HW must be programmed differently for queue-based scheduling mode. To program the completion queue context correctly, the control plane must know the scheduling mode not only for the Tx queue, but also for the completion queue. Unfortunately, current

[Intel-wired-lan] [PATCH iwl-next] idpf: set scheduling mode for completion queue

2023-09-22 Thread Michal Kubiak
The HW must be programmed differently for queue-based scheduling mode. To program the completion queue context correctly, the control plane must know the scheduling mode not only for the Tx queue, but also for the completion queue. Unfortunately, currently the driver sets the scheduling mode only f

[Intel-wired-lan] [PATCH net-next v10 3/6] page_pool: remove PP_FLAG_PAGE_FRAG

2023-09-22 Thread Yunsheng Lin
PP_FLAG_PAGE_FRAG is not really needed after pp_frag_count handling is unified and page_pool_alloc_frag() is supported in 32-bit arch with 64-bit DMA, so remove it. Signed-off-by: Yunsheng Lin CC: Lorenzo Bianconi CC: Alexander Duyck CC: Liang Chen CC: Alexander Lobakin --- drivers/net/ether

Re: [Intel-wired-lan] [PATCH net-next 2/3] ice: fix undefined references from DPLL code when !CONFIG_PTP_1588_CLOCK

2023-09-22 Thread Alexander Lobakin
From: Vadim Fedorenko Date: Fri, 22 Sep 2023 00:58:04 +0100 > On 20/09/2023 19:07, Alexander Lobakin wrote: >> DPLL code in ice unconditionally calls several PTP functions which are >> only built when CONFIG_PTP_1588_CLOCK is set. This throws a good bunch >> of link errors: >> >> ERROR: modpost:

Re: [Intel-wired-lan] [PATCH net-next] ice: fix linking when CONFIG_PTP_1588_CLOCK=n

2023-09-22 Thread Przemek Kitszel
On 9/21/23 02:06, Jacob Keller wrote: The recent support for DPLL introduced by commit 8a3a565ff210 ("ice: add admin commands to access cgu configuration") and commit d7999f5ea64b ("ice: implement dpll interface to control cgu") broke linking the ice driver if CONFIG_PTP_1588_CLOCK=n: ld: vmlinu

Re: [Intel-wired-lan] [PATCH iwl-next 0/2] ethtool: Add link mode maps for forced speeds

2023-09-22 Thread Przemek Kitszel
On 9/21/23 15:51, Pawel Chmielewski wrote: The following patch set was initially a part of [1]. As the purpose of the original series was to add the support of the new hardware to the intel ice driver, the refactoring of advertised link modes mapping was extracted to a new set. The patch set adds

Re: [Intel-wired-lan] [PATCH net-next v2 2/2] ice: Refactor finding advertised link speed

2023-09-22 Thread Przemek Kitszel
On 9/21/23 15:51, Pawel Chmielewski wrote: Refactor ice_get_link_ksettings to using forced speed to link modes mapping. Suggested-by : Alexander Lobakin Signed-off-by: Pawel Chmielewski Signed-off-by: Paul Greenwalt minor: your SB should be last --- drivers/net/ethernet/intel/ice/ice.h