Print this page
Overlay fabric router

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/overlay_target.h
          +++ new/usr/src/uts/common/sys/overlay_target.h
↓ open down ↓ 294 lines elided ↑ open up ↑
 295  295  
 296  296  /*
 297  297   * This is a pretty arbitrary number that we're constraining ourselves to
 298  298   * for iteration. Basically the goal is to make sure that we can't have a user
 299  299   * ask us to allocate too much memory on their behalf at any time. A more
 300  300   * dynamic form may be necessary some day.
 301  301   */
 302  302  #define OVERLAY_TARGET_ITER_MAX 500
 303  303  
 304  304  #define OVERLAY_TARGET_CACHE_DROP       0x01
      305 +#define OVERLAY_TARGET_CACHE_ROUTER     0x02
 305  306  
 306  307  typedef struct overlay_targ_cache_entry {
 307  308          uint8_t                 otce_mac[ETHERADDRL];
 308  309          uint16_t                otce_flags;
 309  310          uint32_t                otce_dcid;
 310  311          overlay_target_point_t  otce_dest;
 311  312  } overlay_targ_cache_entry_t;
 312  313  
 313  314  typedef struct overlay_targ_cache {
 314  315          datalink_id_t                   otc_linkid;
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX