https://bugs.dpdk.org/show_bug.cgi?id=461

            Bug ID: 461
           Summary: i40evf link status is always down with the Intel XL710
                    driver
           Product: DPDK
           Version: 20.02
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: li_hong...@nokia-sbell.com
  Target Milestone: ---

When host uses i40e-2.10.19.82 driver for XL710 nic , in container the link
status is always down when XL710 VF nic uses dpdk i40evf pmd driver.

from code analysis, i40e-2.10.19.82 driver will convert link speed type
(I40E_LINK_SPEED_XXX) to mbs type (SPEED_XXX), but i40evf_dev_link_update()
only support I40E_LINK_SPEED_XXX and regard SPEED_XXX as invalid type.

        default:
                new_link.link_speed = ETH_SPEED_NUM_NONE;
                break;
        }
        /* full duplex only */
        new_link.link_duplex = ETH_LINK_FULL_DUPLEX;
        new_link.link_status = vf->link_up &&
                                new_link.link_speed != ETH_SPEED_NUM_NONE
                                ? ETH_LINK_UP
                                : ETH_LINK_DOWN;

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to