Netdev List
 help / color / mirror / Atom feed
From: Petr Oros <poros@redhat.com>
To: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Cc: netdev@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>,
	Tony Nguyen <anthony.l.nguyen@intel.com>,
	Aleksandr Loktionov <aleksandr.loktionov@intel.com>,
	Michal Schmidt <mschmidt@redhat.com>,
	edumazet@kernel.org, horms@kernel.org, pabeni@redhat.com,
	davem@davemloft.net, Jiri Pirko <jiri@resnulli.us>,
	andrew+netdev@lunn.ch, jacob.e.keller@intel.com,
	jedrzej.jagielski@intel.com, anzaki@gmail.com,
	brett.creeley@amd.com
Subject: Re: [PATCH net-next v7 06/15] ice: bump to 256qs for VF
Date: Thu, 26 Nov 2026 10:43:44 +0100	[thread overview]
Message-ID: <20261126094346.40180-1-poros@redhat.com> (raw)
In-Reply-To: <20261121230123.316391-7-przemyslaw.kitszel@intel.com>

On Sat, 21 Nov 2026 23:55:33 +0100, Przemek Kitszel wrote:
> more than 16 queues. Other VSI types and XDP rings had the same broken
> mapping, now they fail too when more than 16 queues find no contiguous
> range. ice_prepare_xdp_rings() then must not clear any queue bits, as it
> got none.

On the PF that failure ends in an oops, and rtnl stays locked.

  echo 4 > /sys/bus/pci/devices/0000:04:00.0/sriov_numvfs
  for i in 0 1 2 3; do
          echo 0000:04:01.$i > /sys/bus/pci/drivers/iavf/unbind
  done
  sleep 1
  echo 250 > /sys/bus/pci/devices/0000:04:01.2/sriov_vf_msix_count
  echo 187 > /sys/bus/pci/devices/0000:04:01.1/sriov_vf_msix_count
  echo 20 > /sys/bus/pci/devices/0000:04:01.0/sriov_vf_msix_count
  ethtool -L $PF combined 24

  Failed to allocate queues. vsi->idx = 0
  Error during VSI rebuild: -12. Unload and reload the driver.
  Oops: general protection fault, [...] [#1] SMP KASAN PTI
  RIP: 0010:ice_get_channels+0x234/0x6b0 [ice]
   channels_prepare_data+0xe9/0x150
   ethnl_default_notify+0x390/0x8e0
   ethnl_default_set_doit+0x48d/0x10a0

On my E810-C (512 queues per PF, the PF at its default 6 channels) the
PF has 38 queues to choose from at that point, its own 6 and two free
ranges of 16. The parent returns 0 there and leaves the PF without link
until a PF reset. With 15 queues to choose from it oopses in the same
place.

Regards,
Petr


  parent reply	other threads:[~2026-11-26  9:44 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21 22:55 [PATCH net-next v7 00/15] devlink, mlx5, iavf, ice: XLVF for iavf Przemek Kitszel
2026-11-21 22:55 ` [PATCH net-next v7 01/15] iavf: keep RSS config across resets Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-21 22:55 ` [PATCH net-next v7 02/15] ice: prepare RSS LUT config for runtime LUT changes Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-21 22:55 ` [PATCH net-next v7 03/15] ice: add VF queue ena/dis helper functions Przemek Kitszel
2026-11-21 22:55 ` [PATCH net-next v7 04/15] ice: add helpers for Global RSS LUT alloc, free, vsi_update Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-21 22:55 ` [PATCH net-next v7 05/15] ice: rename ICE_MAX_RSS_QS_PER_VF to ICE_MAX_QS_PER_VF_VCV1 Przemek Kitszel
2026-11-21 22:55 ` [PATCH net-next v7 06/15] ice: bump to 256qs for VF Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-26  9:43   ` Petr Oros [this message]
2026-11-21 22:55 ` [PATCH net-next v7 07/15] iavf: extend iavf_configure_queues() to support more queues Przemek Kitszel
2026-11-21 22:55 ` [PATCH net-next v7 08/15] iavf: temporary rename of IAVF_MAX_REQ_QUEUES to IAVF_MAX_REQ_QUEUES_VCV1 Przemek Kitszel
2026-11-21 22:55 ` [PATCH net-next v7 09/15] iavf: increase max number of queues to 256 Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-21 22:55 ` [PATCH net-next v7 10/15] iavf: use new opcodes to request more than 16 queues Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-21 22:55 ` [PATCH net-next v7 11/15] ice: introduce handling of virtchnl LARGE VF opcodes Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-21 22:55 ` [PATCH net-next v7 12/15] devlink: add cmode to resources Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-21 22:55 ` [PATCH net-next v7 13/15] ice: represent RSS LUTs as devlink resources Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-21 22:55 ` [PATCH net-next v7 14/15] devlink: add devlink_alloc_drv() Przemek Kitszel
2026-11-21 22:55 ` [PATCH net-next v7 15/15] ice: support up to 256 VF queues Przemek Kitszel
2026-11-24 21:57   ` netdev-bot+sashiko
2026-11-26  9:43   ` Petr Oros
2026-11-23  8:53 ` [PATCH net-next v7 00/15] devlink, mlx5, iavf, ice: XLVF for iavf Matthieu Baerts
2026-11-23 15:03   ` Przemek Kitszel
2026-11-26  9:43 ` Petr Oros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261126094346.40180-1-poros@redhat.com \
    --to=poros@redhat.com \
    --cc=aleksandr.loktionov@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=anzaki@gmail.com \
    --cc=brett.creeley@amd.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=jacob.e.keller@intel.com \
    --cc=jedrzej.jagielski@intel.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=mschmidt@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox