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


Groups > linux.kernel > #1613093

Re: [PATCH net-next 4/9] net: dsa: mv88e6xxx: allocate the number of ports

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 4/9] net: dsa: mv88e6xxx: allocate the number of ports
Date 2017-03-30 16:00 +0200
Message-ID <tqIMi-780-17@gated-at.bofh.it> (permalink)
References <tqsxQ-3KK-7@gated-at.bofh.it> <tqsxQ-3KK-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Mar 29, 2017 at 04:30:15PM -0400, Vivien Didelot wrote:
> The current code allocates DSA_MAX_PORTS ports for a Marvell dsa_switch
> structure. Provide the exact number of ports so the corresponding
> ds->num_ports is accurate.

Hi Vivien

Is net/dsa/dsa.c: dsa_switch_setup() still used?  If it is, won't that
invalidate your assumption about ds->num_ports.

   Andrew

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


Thread

[PATCH net-next 4/9] net: dsa: mv88e6xxx: allocate the number of ports Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-03-29 22:40 +0200
  Re: [PATCH net-next 4/9] net: dsa: mv88e6xxx: allocate the number of  ports Andrew Lunn <andrew@lunn.ch> - 2017-03-30 16:00 +0200
    Re: [PATCH net-next 4/9] net: dsa: mv88e6xxx: allocate the number of ports Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-03-30 16:10 +0200

csiph-web