Bonding driver reports illegal loopback occurred on adapter when using Mellanox ConnectX-4 (mlx5) NICs

Solution Verified - Updated -

Issue

  • System has an LACP bond with mlx5_en based interfaces and the bonding driver repeatedly logs the following messages:

    Feb 27 10:08:42 localhost kernel: bond0: An illegal loopback occurred on adapter (eno1)
    Check the configuration to verify that all adapters are connected to 802.3ad compliant switch ports
    Feb 27 10:09:12 localhost kernel: bond0: An illegal loopback occurred on adapter (eno1)
    Check the configuration to verify that all adapters are connected to 802.3ad compliant switch ports
    Feb 27 10:09:42 localhost kernel: bond0: An illegal loopback occurred on adapter (eno1)
    Check the configuration to verify that all adapters are connected to 802.3ad compliant switch ports
    Feb 27 10:10:12 localhost kernel: bond0: An illegal loopback occurred on adapter (eno1)
    Check the configuration to verify that all adapters are connected to 802.3ad compliant switch ports
    Feb 27 10:10:42 localhost kernel: bond0: An illegal loopback occurred on adapter (eno1)
    Check the configuration to verify that all adapters are connected to 802.3ad compliant switch ports
    

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • Red Hat Enterprise Linux (RHEL) 7
  • bonding, LACP mode
  • Mellanox ConnectX-4 (mlx5_en based) hardware

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content