MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sfc_ev_mgmt_periodic_qpoll

Function sfc_ev_mgmt_periodic_qpoll

dpdk/drivers/net/sfc/sfc_ev.c:785–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783}
784
785static void
786sfc_ev_mgmt_periodic_qpoll(void *arg)
787{
788 struct sfc_adapter *sa = arg;
789 int rc;
790
791 sfc_ev_mgmt_qpoll(sa);
792
793 rc = rte_eal_alarm_set(SFC_MGMT_EV_QPOLL_PERIOD_US,
794 sfc_ev_mgmt_periodic_qpoll, sa);
795 if (rc == -ENOTSUP) {
796 sfc_warn(sa, "alarms are not supported");
797 sfc_warn(sa, "management EVQ must be polled indirectly using no-wait link status update");
798 } else if (rc != 0) {
799 sfc_err(sa,
800 "cannot rearm management EVQ polling alarm (rc=%d)",
801 rc);
802 }
803}
804
805static void
806sfc_ev_mgmt_periodic_qpoll_start(struct sfc_adapter *sa)

Callers 1

Calls 2

sfc_ev_mgmt_qpollFunction · 0.85
rte_eal_alarm_setFunction · 0.50

Tested by

no test coverage detected