[Intel-wired-lan] [PATCH iwl-net] ice: Fix PF with enabled XDP going no-carrier after reset
Rout, ChandanX
chandanx.rout at intel.com
Mon Dec 18 09:11:32 UTC 2023
>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Zaremba, Larysa
>Sent: Tuesday, December 12, 2023 2:59 PM
>To: intel-wired-lan at lists.osuosl.org
>Cc: Zaremba, Larysa <larysa.zaremba at intel.com>; netdev at vger.kernel.org;
>Brandeburg, Jesse <jesse.brandeburg at intel.com>; Nguyen, Anthony L
><anthony.l.nguyen at intel.com>; Kitszel, Przemyslaw
><przemyslaw.kitszel at intel.com>; Keller, Jacob E <jacob.e.keller at intel.com>;
>Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
>Subject: [Intel-wired-lan] [PATCH iwl-net] ice: Fix PF with enabled XDP going
>no-carrier after reset
>
>Commit 6624e780a577fc596788 ("ice: split ice_vsi_setup into smaller
>functions") has refactored a bunch of code involved in PFR. In this process, TC
>queue number adjustment for XDP was lost. Bring it back.
>
>Lack of such adjustment causes interface to go into no-carrier after a reset, if
>XDP program is attached, with the following message:
>
>ice 0000:b1:00.0: Failed to set LAN Tx queue context, error: -22 ice
>0000:b1:00.0 ens801f0np0: Failed to open VSI 0x0006 on switch 0x0001 ice
>0000:b1:00.0: enable VSI failed, err -22, VSI index 0, type ICE_VSI_PF ice
>0000:b1:00.0: PF VSI rebuild failed: -22 ice 0000:b1:00.0: Rebuild failed,
>unload and reload driver
>
>Fixes: 6624e780a577 ("ice: split ice_vsi_setup into smaller functions")
>Reviewed-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>
>Signed-off-by: Larysa Zaremba <larysa.zaremba at intel.com>
>---
> drivers/net/ethernet/intel/ice/ice_lib.c | 3 +++
> 1 file changed, 3 insertions(+)
>
Tested-by: Chandan Kumar Rout <chandanx.rout at intel.com> (A Contingent Worker at Intel)
More information about the Intel-wired-lan
mailing list