forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi Jeremy,
Today, the AF_MCTP socket will return some errors synchronously (For ex a missing route) as standard errnos. However, once the control is handed over to the underlying netdev and the binding driver, the errors are handled asynchronously and never make it back to the socket FD. From a client's perspective, they would see a recvfrom() timeout, for ex.
I realize that MCTP is by nature lossy, but do you have any thoughts on possible improvements to the binding layers to:
- Propagate the error back via the netdev to the socket layer.
- implement some equivalent of the MSG_ERRQUEUE in combination with a POLLERR on the socket FD to relay asynchronous errors/other debug data back to the client.
Thanks,
Santosh
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested