(&mut self, cap: u8)
| 845 | } |
| 846 | |
| 847 | fn parse_msix_capabilities(&mut self, cap: u8) -> MsixCap { |
| 848 | let msg_ctl = self.vfio_wrapper.read_config_word((cap + 2).into()); |
| 849 | |
| 850 | let table = self.vfio_wrapper.read_config_dword((cap + 4).into()); |
| 851 | |
| 852 | let pba = self.vfio_wrapper.read_config_dword((cap + 8).into()); |
| 853 | |
| 854 | MsixCap { |
| 855 | msg_ctl, |
| 856 | table, |
| 857 | pba, |
| 858 | } |
| 859 | } |
| 860 | |
| 861 | fn initialize_msix( |
| 862 | &mut self, |
no test coverage detected