Displaying 3 results from an estimated 3 matches for "snet_write_op".
2023 Mar 20
3
[PATCH 0/2] vdpa/snet: support [s/g]et_vq_state and suspend
Add more vDPA callbacks.
[s/g]et_vq_state is added in patch 1, including a new control mechanism
to read data from the DPU.
suspend is added in patch 2.
Alvaro Karsz (2):
vdpa/snet: support getting and setting VQ state
vdpa/snet: support the suspend vDPA callback
drivers/vdpa/solidrun/Makefile | 1 +
drivers/vdpa/solidrun/snet_ctrl.c | 324 +++++++++++++++++++++++++++++
2023 Apr 02
2
[PATCH resend 0/2] vdpa/snet: support [s/g]et_vq_state and suspend
Add more vDPA callbacks.
[s/g]et_vq_state is added in patch 1, including a new control mechanism
to read data from the DPU.
suspend is added in patch 2.
Alvaro Karsz (2):
vdpa/snet: support getting and setting VQ state
vdpa/snet: support the suspend vDPA callback
drivers/vdpa/solidrun/Makefile | 1 +
drivers/vdpa/solidrun/snet_ctrl.c | 324 +++++++++++++++++++++++++++++
2023 Apr 03
2
[PATCH resend 1/2] vdpa/snet: support getting and setting VQ state
...you think?
> > + /* Clear the control register - clear the error code if previous control operation failed */
> > + snet_write_ctrl(regs, 0);
> > +
> > + /* Write opcode and VQ idx */
> > + val = opcode | (vq_idx << 16);
> > + snet_write_op(regs, val);
>
> I guess we need to serialize two writes here as well.
Same here.
Thanks