24–28 Aug 2020
US/Pacific timezone

Virtio based communication between RC<->EP and between HOSTS connected to NTB

26 Aug 2020, 10:40
20m
Microconference2/Virtual-Room (LPC Virtual)

Microconference2/Virtual-Room

LPC Virtual

150
VFIO/IOMMU/PCI MC VFIO/IOMMU/PCI MC

Speaker

Mr Kishon Vijay Abraham I

Description

Existing Linux endpoint only supports pci-epf-test for communication between RootComplex and EndPoint systems (Both running Linux). While pci-epf-test is good enough for "testing" communication between RootComplex and Endpoint, additional development based on pci-epf-test was required for implementing any real use-cases.

This paper proposes to use existing Virtio infrastructure in Kernel used for
1. Communication between HOST and GUEST systems in Virtualization context
2. Communication between different cores in an SoC
to be used for RC<->EP communication and for communication between HOSTS connected to NTB.

Using the proposed mechanism, existing Virtio based drivers like rpmsg, net, scsi, blk etc.. could be made to be used for RootComplex and Endpoint communication.

The same mechanism can also be extended to be used for communication between HOSTS connected to NTB. Here instead of existing ntb_transport, virtio transport should be used.

The first RFC [1] posted garnered quite a bit of interest among the community and various approaches for designing it was discussed.

In this paper, Kishon will provide high-level view of how virtio could be used for RC<->EP communication and also discuss the various design approaches, with pros and cons of each approach and accelerate getting the community alignment of the overall design.

[1] -> http://lore.kernel.org/r/20200702082143.25259-1-kishon@ti.com

I agree to abide by the anti-harassment policy I agree

Primary author

Presentation materials

Diamond Sponsor

Platinum Sponsors



Gold Sponsors


Silver Sponsors


Catchboxes Sponsor

Conference Services Provided By