On Sun, Nov 01, 2020 at 04:42:17PM +0200, Ido Schimmel wrote: > If the goal of this thread is to get packet sockets to work with > offloaded traffic, then I think you need to teach these sockets to > instruct the bound device to trap / mirror incoming traffic to the CPU. > Maybe via a new ndo.
A new ndo that does what? It would be exclusively called by sockets? We have packet traps with tc, packet traps with devlink, a mechanism for switchdev host MDBs, and from the discussion with you I also gather that there should be an equivalent switchdev object for host FDBs, that the bridge would use. So we would need yet another mechanism to extract packets from the hardware data path? I am simply lacking the clarity about what the new ndo you're talking about should do.