[DPDK 20.11] ixgbe VF PMD does not support LSC interrupts.
Abdelfattah Chehab
abdelfattah.chehab-ext at ekinops.com
Fri Jun 3 16:44:55 CEST 2022
Hi All,
While using net_e1000_igb_vf PMD, registering LSC Callbacks will have no effect.
rte_eth_dev_callback_register(port, RTE_ETH_EVENT_INTR_LSC, callback, NULL);
in the PMD code:
.drv_flags = RTE_PCI_DRV_NEED_MAPPING
While for other working PMDs:
drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC
Meanwhile, The link status is updated correctly on demand:
(gdb) call rte_eth_link_get(4, $mylink)
$3 = 0
(gdb) p *$mylink
$4 = {link_speed = 1000, link_duplex = 1, link_autoneg = 1, link_status = 1}
(gdb) call rte_eth_link_get(4, $mylink)
$5 = 0
(gdb) p *$mylink
$6 = {link_speed = 0, link_duplex = 0, link_autoneg = 0, link_status = 0}
Does it mean that I have to fetch the link using poll action?
Will LSC interrupt be implemented for this PMD in future release ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20220603/45aa45a1/attachment.htm>
More information about the dev
mailing list