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

Function intel_ntb_db_read

dpdk/drivers/raw/ntb/ntb_hw_intel.c:516–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516static uint64_t
517intel_ntb_db_read(const struct rte_rawdev *dev)
518{
519 struct ntb_hw *hw = dev->dev_private;
520 uint64_t db_off, db_bits;
521 void *db_addr;
522
523 db_off = XEON_IM_INT_STATUS_OFFSET;
524 db_addr = hw->hw_addr + db_off;
525
526 db_bits = rte_read64(db_addr);
527
528 return db_bits;
529}
530
531static int
532intel_ntb_db_clear(const struct rte_rawdev *dev, uint64_t db_bits)

Callers

nothing calls this directly

Calls 1

rte_read64Function · 0.50

Tested by

no test coverage detected