Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5309 Discussions

LACP with SRIOV VFs inside a container is not working properly.

Nag08
Beginner
344 Views

Hello, 

We are using following SRIOV NICs in our platforms.

[root@appliance-1:Active] ~ # lspci -d 8086:1893

ec:00.4 Ethernet controller: Intel Corporation Ethernet Connection E822-C/X557-AT 10GBASE-T (rev 11)
ec:00.5 Ethernet controller: Intel Corporation Ethernet Connection E822-C/X557-AT 10GBASE-T (rev 11)
ec:00.6 Ethernet controller: Intel Corporation Ethernet Connection E822-C/X557-AT 10GBASE-T (rev 11)
ec:00.7 Ethernet controller: Intel Corporation Ethernet Connection E822-C/X557-AT 10GBASE-T (rev 11)

[root@appliance-1:Active] ~ # lspci -d 8086:1892
ec:00.0 Ethernet controller: Intel Corporation Ethernet Controller E822-C for SFP (rev 11)
ec:00.1 Ethernet controller: Intel Corporation Ethernet Controller E822-C for SFP (rev 11)
ec:00.2 Ethernet controller: Intel Corporation Ethernet Controller E822-C for SFP (rev 11)
ec:00.3 Ethernet controller: Intel Corporation Ethernet Controller E822-C for SFP (rev 11)


The nics are binded to iavf drivers. please find the driver details.

[root@appliance-1:Active] ~ # modinfo iavf
filename: /lib/modules/3.10.0-1160.71.1.F5.1.1.1.el7_8.x86_64/updates/drivers/net/ethernet/intel/iavf/iavf.ko
version: 4.3.19
license: GPL
description: Intel(R) Ethernet Adaptive Virtual Function Driver
author: Intel Corporation, <linux.nics@intel.com>
alias: i40evf
retpoline: Y
rhelversion: 7.9
srcversion: 58C0C08BF00AE634467AA8F
alias: pci:v00008086d00001889sv*sd*bc*sc*i*
alias: pci:v00008086d000037CDsv*sd*bc*sc*i*
alias: pci:v00008086d00001571sv*sd*bc*sc*i*
alias: pci:v00008086d0000154Csv*sd*bc*sc*i*
depends: ptp,auxiliary
vermagic: 3.10.0-1160.71.1.F5.1.1.1.el7_8.x86_64 SMP mod_unload modversions

Scenario:

On the platform/host, We have created a LACP LAG on the PFs.

Creating a container allocating a vf from each PF using sriov CNI and creating the LACP using the  bond CNI. We see that interfaces and Bond is created successfully inside the container. 


We have followed this doc to configure LACP inside the container:
https://www.intel.com/content/www/us/en/developer/articles/technical/bond-cni.html

 

Issue:
We have observed that LACP is not formed properly with VFs inside the container. 

The traffic doesn't passthrough from the container. 

Please let us know if you need any more details on the config and setup. 

 

0 Kudos
0 Replies
Reply