Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642833

Re: [PATCH net-next] net: dsa: store CPU port pointer in the tree

From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] net: dsa: store CPU port pointer in the tree
Date 2017-05-16 23:20 +0200
Message-ID <tHS2S-2t1-19@gated-at.bofh.it> (permalink)
References <tHPeF-yr-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/16/2017 11:10 AM, Vivien Didelot wrote:
> A dsa_switch_tree instance holds a dsa_switch pointer and a port index
> to identify the switch port to which the CPU is attached.
> 
> Now that the DSA layer has a dsa_port structure to hold this data, use
> it to point the switch CPU port.
> 
> This patch simply substitutes s/dst->cpu_switch/dst->cpu_dp->ds/ and
> s/dst->cpu_port/dst->cpu_dp->index/.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next] net: dsa: store CPU port pointer in the tree Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-05-16 20:20 +0200
  Re: [PATCH net-next] net: dsa: store CPU port pointer in the tree Andrew Lunn <andrew@lunn.ch> - 2017-05-16 22:50 +0200
  Re: [PATCH net-next] net: dsa: store CPU port pointer in the tree Florian Fainelli <f.fainelli@gmail.com> - 2017-05-16 23:20 +0200
  Re: [PATCH net-next] net: dsa: store CPU port pointer in the tree David Miller <davem@davemloft.net> - 2017-05-17 20:20 +0200

csiph-web