Skip to content

Recipes/ENRT/VlansOverBondRecipe.py: include host2 device in vf_trust_dev_list#426

Merged
olichtne merged 2 commits intoLNST-project:masterfrom
jtluka:fix-vf-trust
Jan 30, 2026
Merged

Recipes/ENRT/VlansOverBondRecipe.py: include host2 device in vf_trust_dev_list#426
olichtne merged 2 commits intoLNST-project:masterfrom
jtluka:fix-vf-trust

Conversation

@jtluka
Copy link
Collaborator

@jtluka jtluka commented Jan 22, 2026

Description

Noticed this on i40e NIC:

kernel: i40e 0000:02:00.0: Cannot add more MAC addresses, VF is not trusted, switch the VF to trusted to add more functionality
kernel: iavf 0000:02:02.0: Failed to add MAC filter, error IAVF_ERR_NVM

Since the second host uses vlan over the VF device, vf trust needs to be configured there, too.

Tests

J:12225735

All VlansRecipe and VlansOverBondRecipe with use_vfs=True and vf_trust="on" set:

  • RHEL9 J:12225735
  • RHEL10 J:12252804

Reviews

@olichtne

…_dev_list

Noticed this on i40e NIC:
```
kernel: i40e 0000:02:00.0: Cannot add more MAC addresses, VF is not trusted, switch the VF to trusted to add more functionality
kernel: iavf 0000:02:02.0: Failed to add MAC filter, error IAVF_ERR_NVM
```

Since the second host uses vlan over the VF device, vf trust needs to be
configured there, too.

Signed-off-by: Jan Tluka <jtluka@redhat.com>
@jtluka jtluka self-assigned this Jan 22, 2026
@jtluka
Copy link
Collaborator Author

jtluka commented Jan 27, 2026

So after discussion with kernel developer, the vf trust is required for any VLAN over VF setup where there is more than one vlan configured. I'll include an update of all relevant Vlan* recipes.

Since the recipe configures multiple vlans over VF, the VF needs to be trusted.

Signed-off-by: Jan Tluka <jtluka@redhat.com>
@jtluka
Copy link
Collaborator Author

jtluka commented Jan 30, 2026

The test results from

  • RHEL9 J:12225735
  • RHEL10 J:12252804

Except following problems, the test runs passed:

@jtluka
Copy link
Collaborator Author

jtluka commented Jan 30, 2026

  • outdated sfc FW, new runs after FW update in J:12262438 J:12262437

sfc driver does not support vf trust setting, so I removed that from test configuration and rescheduled runs on sfc driver in: J:12262583 J:12262582

@olichtne olichtne merged commit 555e9ac into LNST-project:master Jan 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants