Print this page
usr/src/cmd/dlmgmtd/dlmgmt_door.c

*** 20,29 **** --- 20,30 ---- */ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2017 Joyent, Inc. + * Copyright 2023 Oxide Computer Company */ /* * Functions to maintain a table of datalink configuration information. */
*** 68,86 **** * is owned by the GZ but is currently being loaned out to an * NGZ. E.g., when the GZ admin creates a VNIC for exclusive * use by an NGZ. If ll_onloan is set then ll_zoneid cannot be 0. * * If ll_zoneid is set to the id of an NGZ but ll_onloan is ! * not set then the link was created and is owned by the NGZ. */ zoneid_t ll_zoneid; boolean_t ll_onloan; avl_node_t ll_name_node; avl_node_t ll_id_node; uint32_t ll_flags; uint32_t ll_gen; /* generation number */ ! boolean_t ll_trans; /* transient link */ } dlmgmt_link_t; /* * datalink configuration request structure */ --- 69,93 ---- * is owned by the GZ but is currently being loaned out to an * NGZ. E.g., when the GZ admin creates a VNIC for exclusive * use by an NGZ. If ll_onloan is set then ll_zoneid cannot be 0. * * If ll_zoneid is set to the id of an NGZ but ll_onloan is ! * not set then the link was created by, and is owned by, the NGZ. */ zoneid_t ll_zoneid; boolean_t ll_onloan; avl_node_t ll_name_node; avl_node_t ll_id_node; uint32_t ll_flags; uint32_t ll_gen; /* generation number */ ! /* ! * A transient link is one that is created and destroyed along with the ! * lifetime of a zone. It is a non-persistent link that is owned by the ! * zone (ll_zoneid is set to the id of the NGZ). It is specifically not ! * on-loan from the GZ. ! */ ! boolean_t ll_transient; } dlmgmt_link_t; /* * datalink configuration request structure */