[AWS] Fix interrupt mappings which are set to a bad default after certain ENI operations

Bug #2085159 reported by Philip Cox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-aws (Ubuntu)
New
Undecided
Philip Cox
Focal
In Progress
Undecided
Unassigned
Jammy
In Progress
Undecided
Unassigned
Noble
In Progress
Undecided
Unassigned
Oracular
In Progress
Undecided
Unassigned

Bug Description

SRU Justification:

[Impact]
Interrupt mapping is set to a bad default after certain ENI operations

After using ethtool to update the (rx) ring buffer settings on an ENI, the interrupt CPU affinity for all tx-rx queues is reset to a bad default - CPU 0-31 - even if the ENI is on a different CPU socket (NUMA node). Another operation that causes the interrupt mapping to be reset to CPU 0-31 is moving an interface to a network namespace.

[Fix]

ENA driver version 2.12.3g. They mentioned that this commit in the ENA code looks like it addresses the bug: https://github.com/amzn/amzn-drivers/commit/ed7754cdf6ca0d4fb3d76906abc17718cc3ffa23

It's included starting in driver version 2.12.0.

I have back ported the patch from the AWS OOT driver, as well as any existing prerequisites needed.

[Test Plan]

I have tested this, as has AWS.

[Where problems could occur]

As this is an Ubuntu Sauce patch, if these changes make their was into the stable trees, or any patches touching this area of code, they may cause merge conflicts, or changes in behaviour which are unexpected.

[Other]
SF# f00396266

Philip Cox (philcox)
Changed in linux-aws (Ubuntu):
status: In Progress → New
Changed in linux-aws (Ubuntu Focal):
status: New → In Progress
Changed in linux-aws (Ubuntu Jammy):
status: New → In Progress
Changed in linux-aws (Ubuntu Noble):
status: New → In Progress
Changed in linux-aws (Ubuntu Oracular):
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.