Project

General

Profile

Actions

Bug #12931

closed

The number of tx/rx queue pairs can exceed the i40e's capabilities

Added by Paul Winder over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

There is a hard code constant which sets the number of rx groups. This number is used in the calculation for the number of tx/rx queue pairs.

On some devices we end up creating more queue pairs than the device supports.

One of the manifestations is when we try and create an aggr, it will fail with messages like:

i40e: [ID 517869 kern.info] NOTICE: i40e2: Num L2 filters: 0
i40e: [ID 517869 kern.info] NOTICE: i40e2: Removed L2 filter from Default VSI with SEID 398
i40e: [ID 517869 kern.warning] WARNING: i40e2: failed to clear rx queue 384 context: -49
i40e: [ID 517869 kern.warning] WARNING: i40e2: timed out disabling rx queue 384

Actions #1

Updated by Paul Winder over 1 year ago

  • Subject changed from The number of tx/rx queue pairs can exceed the devices capabilities to The number of tx/rx queue pairs can exceed the i40e's capabilities
Actions #2

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 779
Actions #3

Updated by Paul Winder over 1 year ago

This was a hard failure on the chipset in use on the HP chassis. After the change I was able to create aggr on the interfaces.

Confirmed expected info message appeared in the log and some basic sanity checks with ipadm, dladm commands and applied load with iperf.

Actions #4

Updated by Electric Monk over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 234a3cfbeb41cab4c47872d4972632d855f56d2b

commit  234a3cfbeb41cab4c47872d4972632d855f56d2b
Author: Paul Winder <paul@winder.uk.net>
Date:   2020-07-10T06:59:30.000Z

    12931 The number of tx/rx queue pairs can exceed the i40e's capabilities
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF