From: Piotr Raczynski
Use previously implemented SF aux driver. It is probe during SF
activation and remove after deactivation.
Signed-off-by: Piotr Raczynski
Signed-off-by: Michal Swiatkowski
---
.../ethernet/intel/ice/devlink/devlink_port.c | 7 ++
.../ethernet/intel/ice/devlink/devlink_p
From: Piotr Raczynski
Configure netdevice for subfunction usecase. Mostly it is reusing ops
from the PF netdevice.
SF netdev is linked to devlink port registered after SF activation.
Signed-off-by: Piotr Raczynski
Signed-off-by: Michal Swiatkowski
---
drivers/net/ethernet/intel/ice/ice_sf_et
From: Piotr Raczynski
Implement subfunction driver. It is probe when subfunction port is
activated.
VSI is already created. During the probe VSI is being configured.
MAC unicast and broadcast filter is added to allow traffic to pass.
Signed-off-by: Piotr Raczynski
Signed-off-by: Michal Swiatko
From: Piotr Raczynski
Make devlink allocation function generic to use it for PF and for SF.
Add function for SF devlink port creation. It will be used in next
patch.
Signed-off-by: Piotr Raczynski
Signed-off-by: Michal Swiatkowski
---
.../net/ethernet/intel/ice/devlink/devlink.c | 41 ++
From: Piotr Raczynski
Implement devlink port handlers responsible for ethernet type devlink
subfunctions. Create subfunction devlink port and setup all resources
needed for a subfunction netdev to operate. Configure new VSI for each
new subfunction, initialize and configure interrupts and Tx/Rx r
From: Piotr Raczynski
Make some of the netdevice_ops functions visible from outside for
another VSI type created netdev.
Reviewed-by: Przemek Kitszel
Reviewed-by: Wojciech Drewek
Signed-off-by: Piotr Raczynski
Signed-off-by: Michal Swiatkowski
---
drivers/net/ethernet/intel/ice/ice.h |
From: Piotr Raczynski
Add required plumbing for new VSI type dedicated to devlink subfunctions.
Make sure that the vsi is properly configured and destroyed. Also allow
loading XDP and AF_XDP sockets.
The first implementation of devlink subfunctions supports only one Tx/Rx
queue pair per given su
Hi,
This is second patchset split from subfunction patchset [1].
Important changes from previous version:
* remove unnecessary checks for devlink port type
* link correct devlink port to subfunction netdev
Follow up patchset with subfunction port representor will be the last
patchset for subfun
Make i40e compatible with the newly added netlink per queue stats.
$ ./cli.py --spec ../../../Documentation/netlink/specs/netdev.yaml \
--dump qstats-get --json '{"scope": "queue"}'
[{'ifindex': 3,
'queue-id': 0,
'queue-type': 'rx',
'rx-alloc-fail': 0,
'rx-bytes': 45540208,
'
Make i40e compatible with the newly added netlink queue GET APIs.
$ ./cli.py --spec ../../../Documentation/netlink/specs/netdev.yaml \
--do queue-get --json '{"ifindex": 3, "id": 1, "type": "rx"}'
{'id': 1, 'ifindex': 3, 'napi-id': 162, 'type': 'rx'}
$ ./cli.py --spec ../../../Documentation/ne
Greetings:
This change adds support for the new netlink APIs to i40e which:
- link queues, NAPI IDs, and IRQs together
- export per-queue stats
This change is inspired by a similar change made to the ice driver commit
91fdbce7e8d6 ("ice: Add support in the driver for associating queue with
na
On 4/9/2024 8:45 AM, Marcin Szycik wrote:
> Add missing FLOW_DISSECTOR_KEY_ENC_* checks to TC flower filter parsing.
> Without these checks, it would be possible to add filters with tunnel
> options on non-tunnel devices. enc_* options are only valid for tunnel
> devices.
>
> Example:
> devli
-20240409 gcc
arc randconfig-002-20240409 gcc
arm allmodconfig gcc
arm allnoconfig clang
arm allyesconfig gcc
arm at91_dt_defconfig clang
arm
On Mon, Apr 08, 2024 at 11:45:32AM +0200, Alexander Lobakin wrote:
> From: Alexander Lobakin
> Date: Mon, 8 Apr 2024 11:11:12 +0200
>
> > From: Jakub Kicinski
> > Date: Fri, 5 Apr 2024 21:25:13 -0700
> >
> >> On Thu, 4 Apr 2024 17:44:00 +0200 Alexander Lobakin wrote:
> >>> +/**
> >>> + * struc
Add missing FLOW_DISSECTOR_KEY_ENC_* checks to TC flower filter parsing.
Without these checks, it would be possible to add filters with tunnel
options on non-tunnel devices. enc_* options are only valid for tunnel
devices.
Example:
devlink dev eswitch set $PF1_PCI mode switchdev
echo 1 > /sys/
On Tue, Apr 09, 2024 at 10:34:27AM +0200, Mateusz Polchlopek wrote:
>
>
> On 4/8/2024 12:30 PM, Michal Swiatkowski wrote:
> > From: Piotr Raczynski
> >
> > Make devlink allocation function generic to use it for PF and for SF.
> >
> > Add function for SF devlink port creation. It will be used i
allmodconfig gcc
arc allnoconfig gcc
arc allyesconfig gcc
arc defconfig gcc
arc randconfig-001-20240409 gcc
arc randconfig-002
> This is something my current design supports I think. Using
> ETHTOOL_A_MODULE_MAX_POWER_SET user can get what cage supports
> and change it.
> This could be done using ethtool_module_power_mode_policy I think.
All these 'I think' don't give me a warm fuzzy feeling this is a well
thought out a
gcc
arc allnoconfig gcc
arc allyesconfig gcc
arc defconfig gcc
arc randconfig-001-20240409 gcc
arc randconfig-002-20240409 gcc
arc
On 04.04.2024 15:53, Andrew Lunn wrote:
> On Thu, Apr 04, 2024 at 02:45:43PM +0200, Wojciech Drewek wrote:
>>
>>
>> On 03.04.2024 15:49, Andrew Lunn wrote:
> $ ethtool --set-module enp1s0f0np0 power-max-set 4000
>
> actually talk to the SFP module and tell it the maximum power it can
On 4/8/24 11:09, Alexander Lobakin wrote:
From: Przemek Kitszel
Date: Fri, 5 Apr 2024 12:32:55 +0200
On 4/4/24 17:44, Alexander Lobakin wrote:
Add a couple intuitive helpers to hide Rx buffer implementation details
[...]
+struct libeth_fqe {
+ struct page *page;
+ u32
On 4/8/2024 12:30 PM, Michal Swiatkowski wrote:
From: Piotr Raczynski
Make devlink allocation function generic to use it for PF and for SF.
Add function for SF devlink port creation. It will be used in next
patch.
Signed-off-by: Piotr Raczynski
Signed-off-by: Michal Swiatkowski
---
...
On 4/9/2024 1:03 AM, Jacob Keller wrote:
9f74a3dfcf83 ("ice: Fix VF Reset paths when interface in a failed over
aggregate"), the ice driver has acquired the LAG mutex in ice_reset_vf().
The commit placed this lock acquisition just prior to the acquisition of
the VF configuration lock.
If ice_
23 matches
Mail list logo