summaryrefslogtreecommitdiff
path: root/include/linux/console.h
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2026-02-06 15:54:21 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-02-10 15:30:11 +0100
commitc22ba07c827f2ac84573ac788383a8e1eafe21bc (patch)
treed6d90d795ec3d85b499aa7f1dc6c2e0275cf6b8f /include/linux/console.h
parent86dbebfb9053cd8626ee7c0297e991ce4843bd3f (diff)
net: dsa: eliminate local type for tc policers
David Yang is saying that struct flow_action_entry in include/net/flow_offload.h has gained new fields and DSA's struct dsa_mall_policer_tc_entry, derived from that, isn't keeping up. This structure is passed to drivers and they are completely oblivious to the values of fields they don't see. This has happened before, and almost always the solution was to make the DSA layer thinner and use the upstream data structures. Here, the reason why we didn't do that is because struct flow_action_entry :: police is an anonymous structure. That is easily enough fixable, just name those fields "struct flow_action_police" and reference them from DSA. Make the according transformations to the two users (sja1105 and felix): "rate_bytes_per_sec" -> "rate_bytes_ps". Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Co-developed-by: David Yang <mmyangfl@gmail.com> Signed-off-by: David Yang <mmyangfl@gmail.com> Link: https://patch.msgid.link/20260206075427.44733-1-mmyangfl@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/console.h')
0 files changed, 0 insertions, 0 deletions