Thread (17 messages) 17 messages, 2 authors, 2021-12-09

Re: [net-next RFC PATCH v2 7/8] net: dsa: qca8k: Add support for mdio read/write in Ethernet packet

flat view

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-12-08 14:42:59
Also in: lkml

On Wed, Dec 08, 2021 at 03:21:11PM +0100, Ansuel Smith wrote:
quoted
None of these structures need to stay in the data structure shared with
the tagger. They can be in qca8k_priv. The tagger should only see the
function pointers. It doesn't care what is done with the packets.
quoted
 };
Ok so the handler should access these data by reaching the qca8k_priv
from the dsa port. Correct?
Yes, this is exactly what I think, the tagger should be stateless with
regard to the completion, if it can be stateless. Only with stuff
related to the tagging protocol itself it can be stateful, things like
sequence numbers if you need them, etc. But the MDIO access is payload
as far as the tagger is concerned.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help