On 2016/01/18 22:46, Yuanhan Liu wrote:
> On Mon, Jan 18, 2016 at 06:13:09PM +0900, Tetsuya Mukawa wrote:
>> +struct virtio_pci_access_ops {
>> +uint8_t (*legacy_read8)(struct virtio_hw *hw, uint8_t *addr);
>> +uint16_t (*legacy_read16)(struct virtio_hw *hw, uint16_t *addr);
>> +uint32_
On 1/18/2016 9:44 PM, Yuanhan Liu wrote:
> On Mon, Jan 18, 2016 at 06:13:09PM +0900, Tetsuya Mukawa wrote:
>> +struct virtio_pci_access_ops {
>> +uint8_t (*legacy_read8)(struct virtio_hw *hw, uint8_t *addr);
>> +uint16_t (*legacy_read16)(struct virtio_hw *hw, uint16_t *addr);
>> +uint32
On Mon, Jan 18, 2016 at 06:13:09PM +0900, Tetsuya Mukawa wrote:
> +struct virtio_pci_access_ops {
> + uint8_t (*legacy_read8)(struct virtio_hw *hw, uint8_t *addr);
> + uint16_t (*legacy_read16)(struct virtio_hw *hw, uint16_t *addr);
> + uint32_t (*legacy_read32)(struct virtio_hw *hw, ui
This patch adds below function pointers to abstract pci access method.
- legacy_read8/16/32
- legacy_write8/16/32
- modern_read8/16/32
- modern_write8/16/32
- map_pci_cfg
- unmap_pci_cfg
- get_cfg_addr
- read_pci_cfg
This layer will be used when virtio-net PMD supports container extension.
4 matches
Mail list logo