qed: Add VF->PF channel infrastructure
Communication between VF and PF is based on a dedicated HW channel; VF will prepare a messge, and by signaling the HW the PF would get a notification of that message existance. The PF would then copy the message, process it and DMA an answer back to the VF as a response. The messages themselves are TLV-based - allowing easier backward/forward compatibility. This patch adds the infrastructure of the channel on the PF side - starting with the arrival of the notification and ending with DMAing the response back to the VF. It also adds a dummy-response as reference, as it only lays the groundwork of the communication; it doesn't really add support of any actual messages. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Этот коммит содержится в:

коммит произвёл
David S. Miller

родитель
32a47e72c9
Коммит
37bff2b9c6
@@ -378,6 +378,12 @@ struct qed_hwfn {
|
||||
|
||||
struct qed_simd_fp_handler simd_proto_handler[64];
|
||||
|
||||
#ifdef CONFIG_QED_SRIOV
|
||||
struct workqueue_struct *iov_wq;
|
||||
struct delayed_work iov_task;
|
||||
unsigned long iov_task_flags;
|
||||
#endif
|
||||
|
||||
struct z_stream_s *stream;
|
||||
};
|
||||
|
||||
|
Ссылка в новой задаче
Block a user