DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK 20.11] ixgbe VF PMD does not support LSC interrupts.
@ 2022-06-03 14:44 Abdelfattah Chehab
  0 siblings, 0 replies; only message in thread
From: Abdelfattah Chehab @ 2022-06-03 14:44 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 4049 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-05  7:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-03 14:44 [DPDK 20.11] ixgbe VF PMD does not support LSC interrupts Abdelfattah Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).