[lkml]   [2010]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: [PATCH v2 03/10] RapidIO: Use stored ingress port number instead of register read
    Andrew Morton <> wrote:
    > The "variable length array at the end of the struct" thing is pretty
    > commonly used and works well. As long as we never want to change the
    > number of switches on the fly (hotplug?).

    This is expected to be a "strange" array - its size can be 0 or 1 only.
    No number of switches in that array should be changed on the fly.
    In the hotplug situation entire rio_dev structure should be added (or
    RIO device can be endpoint or switch. If a RIO device is a switch - the
    structure will be added at the end.

     \ /
      Last update: 2010-09-20 21:53    [W:0.020 / U:39.952 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site