Details

    • Story Points:
      1

      Description

      in translation.cc the portno in agent is calculated by the composition of port type and int_id as below:
      int interface_key_to_port_no(bcmolt_interface_id intf_id,
      bcmolt_interface_type intf_type) {
      if (intf_type == BCMOLT_INTERFACE_TYPE_NNI)

      { return (0x1 << 20) + intf_id; }

      if (intf_type == BCMOLT_INTERFACE_TYPE_PON)

      { return (0x2 << 28) + intf_id; }

      return intf_id;
      }

      The calculated port number is used in LosIndication and PortStats. This function should be changed according to new changes. The 20 bit for NNI should be changed to 24.
      Note: Instead of generating a port number from port type and port id, It should be considered to change the interface to a

      {porty_type, port_id}

      structure, so remove this function totally.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mahirgu Mahir Gunyel
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes