| 514 | } |
| 515 | |
| 516 | static uint64_t |
| 517 | intel_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 | |
| 531 | static int |
| 532 | intel_ntb_db_clear(const struct rte_rawdev *dev, uint64_t db_bits) |
nothing calls this directly
no test coverage detected