WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[Question] Error Reporting From Bindings #7

@santoshpuranik

Description

@santoshpuranik

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 requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions