Bug 218139 - Linux LACP bonding not working with sr-iov enable on Ethernet controller: Intel Corporation Ethernet Controller E810-C for QSFP (rev 02)
Summary: Linux LACP bonding not working with sr-iov enable on Ethernet controller: Int...
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: IPV4 (show other bugs)
Hardware: Intel Linux
: P3 blocking
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-13 05:06 UTC by Anil Choudhary
Modified: 2023-11-14 17:46 UTC (History)
1 user (show)

See Also:
Kernel Version: 6.6.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Anil Choudhary 2023-11-13 05:06:50 UTC
Till linkx kernel 6.5.7 it is working fine, but after upgrading to 6.6.1 ping stop working with LACP bonding.
When we disable SR-IOV from bios , everything working fine

Also we are not able to compile 
driver: ice
version: 1.12.6
We are getting following error.



With inter driver code(version 1.12.6) while complaining I am getting following error.
/root/1.12.6/build/src/ice_txrx.h:363:29: error: field ‘xdp_rxq’ has incomplete type
  363 |         struct xdp_rxq_info xdp_rxq;
      |                             ^~~~~~~
/root/1.12.6/build/src/ice_main.c: In function ‘ice_remove_recovery_mode’:
/root/1.12.6/build/src/ice_main.c:1540:9: error: implicit declaration of function ‘pci_disable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
 1540 |         pci_disable_pcie_error_reporting(pf->pdev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/1.12.6/build/src/ice_main.c: In function ‘ice_probe’:
/root/1.12.6/build/src/ice_main.c:7046:9: error: implicit declaration of function ‘pci_enable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
 7046 |         pci_enable_pcie_error_reporting(pdev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /root/1.12.6/build/src/ice_main.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.6.0-rc7-vdx/Makefile:1913: /root/1.12.6/build/src] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.6.0-rc7-vdx'
make: *** [Makefile:174: all] Error 2


Thanks,
Anil
Comment 1 Bagas Sanjaya 2023-11-14 11:00:08 UTC
(In reply to Anil Choudhary from comment #0)
> Till linkx kernel 6.5.7 it is working fine, but after upgrading to 6.6.1
> ping stop working with LACP bonding.
> When we disable SR-IOV from bios , everything working fine
> 
> Also we are not able to compile 
> driver: ice
> version: 1.12.6
> We are getting following error.
> 
> 
> 
> With inter driver code(version 1.12.6) while complaining I am getting
> following error.
> /root/1.12.6/build/src/ice_txrx.h:363:29: error: field ‘xdp_rxq’ has
> incomplete type
>   363 |         struct xdp_rxq_info xdp_rxq;
>       |                             ^~~~~~~
> /root/1.12.6/build/src/ice_main.c: In function ‘ice_remove_recovery_mode’:
> /root/1.12.6/build/src/ice_main.c:1540:9: error: implicit declaration of
> function ‘pci_disable_pcie_error_reporting’
> [-Werror=implicit-function-declaration]
>  1540 |         pci_disable_pcie_error_reporting(pf->pdev);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /root/1.12.6/build/src/ice_main.c: In function ‘ice_probe’:
> /root/1.12.6/build/src/ice_main.c:7046:9: error: implicit declaration of
> function ‘pci_enable_pcie_error_reporting’
> [-Werror=implicit-function-declaration]
>  7046 |         pci_enable_pcie_error_reporting(pdev);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [scripts/Makefile.build:243: /root/1.12.6/build/src/ice_main.o]
> Error 1
> make[2]: *** [/usr/src/linux-headers-6.6.0-rc7-vdx/Makefile:1913:
> /root/1.12.6/build/src] Error 2
> make[1]: *** [Makefile:234: __sub-make] Error 2
> make[1]: Leaving directory '/usr/src/linux-headers-6.6.0-rc7-vdx'
> make: *** [Makefile:174: all] Error 2
> 

Is it out-of-tree module?
Comment 2 Anil Choudhary 2023-11-14 16:53:29 UTC
Yes but ice driver code comes with kernel also didn’t works 
Sent from my iPhone

> On Nov 14, 2023, at 3:00 AM, bugzilla-daemon@kernel.org wrote:
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=218139
> 
> Bagas Sanjaya (bagasdotme@gmail.com) changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |bagasdotme@gmail.com
> 
> --- Comment #1 from Bagas Sanjaya (bagasdotme@gmail.com) ---
> (In reply to Anil Choudhary from comment #0)
>> Till linkx kernel 6.5.7 it is working fine, but after upgrading to 6.6.1
>> ping stop working with LACP bonding.
>> When we disable SR-IOV from bios , everything working fine
>> 
>> Also we are not able to compile
>> driver: ice
>> version: 1.12.6
>> We are getting following error.
>> 
>> 
>> 
>> With inter driver code(version 1.12.6) while complaining I am getting
>> following error.
>> /root/1.12.6/build/src/ice_txrx.h:363:29: error: field ‘xdp_rxq’ has
>> incomplete type
>>  363 |         struct xdp_rxq_info xdp_rxq;
>>      |                             ^~~~~~~
>> /root/1.12.6/build/src/ice_main.c: In function ‘ice_remove_recovery_mode’:
>> /root/1.12.6/build/src/ice_main.c:1540:9: error: implicit declaration of
>> function ‘pci_disable_pcie_error_reporting’
>> [-Werror=implicit-function-declaration]
>> 1540 |         pci_disable_pcie_error_reporting(pf->pdev);
>>      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> /root/1.12.6/build/src/ice_main.c: In function ‘ice_probe’:
>> /root/1.12.6/build/src/ice_main.c:7046:9: error: implicit declaration of
>> function ‘pci_enable_pcie_error_reporting’
>> [-Werror=implicit-function-declaration]
>> 7046 |         pci_enable_pcie_error_reporting(pdev);
>>      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> cc1: some warnings being treated as errors
>> make[3]: *** [scripts/Makefile.build:243: /root/1.12.6/build/src/ice_main.o]
>> Error 1
>> make[2]: *** [/usr/src/linux-headers-6.6.0-rc7-vdx/Makefile:1913:
>> /root/1.12.6/build/src] Error 2
>> make[1]: *** [Makefile:234: __sub-make] Error 2
>> make[1]: Leaving directory '/usr/src/linux-headers-6.6.0-rc7-vdx'
>> make: *** [Makefile:174: all] Error 2
>> 
> 
> Is it out-of-tree module?
> 
> --
> You may reply to this email to add a comment.
> 
> You are receiving this mail because:
> You reported the bug.
Comment 3 Anil Choudhary 2023-11-14 17:46:48 UTC
no but ice driver code comes with kernel also didn’t works as expected

Note You need to log in before you can comment on or make changes to this bug.