| 529 | } |
| 530 | |
| 531 | static int |
| 532 | intel_ntb_db_clear(const struct rte_rawdev *dev, uint64_t db_bits) |
| 533 | { |
| 534 | struct ntb_hw *hw = dev->dev_private; |
| 535 | uint64_t db_off; |
| 536 | void *db_addr; |
| 537 | |
| 538 | db_off = XEON_IM_INT_STATUS_OFFSET; |
| 539 | db_addr = hw->hw_addr + db_off; |
| 540 | |
| 541 | if (is_gen4_ntb(hw)) |
| 542 | rte_write16(XEON_GEN4_SLOTSTS_DLLSCS, |
| 543 | hw->hw_addr + XEON_GEN4_SLOTSTS); |
| 544 | rte_write64(db_bits, db_addr); |
| 545 | |
| 546 | return 0; |
| 547 | } |
| 548 | |
| 549 | static int |
| 550 | intel_ntb_db_set_mask(const struct rte_rawdev *dev, uint64_t db_mask) |
nothing calls this directly
no test coverage detected