1. 04 Sep, 2019 2 commits
  2. 29 Aug, 2019 9 commits
  3. 28 Aug, 2019 2 commits
    • Maciej Lipinski's avatar
      [HAL] updated how tx calibration file is written · abc3fa30
      Maciej Lipinski authored
      - use the global LPDC structure to know whether the file is
        read/synched (instead of the hack that was used so far)
      - rename the variables/function name to be more self-explanatory
      abc3fa30
    • Maciej Lipinski's avatar
      [HAL] Add global (to all ports) structure for LPDC and use it · 452289c4
      Maciej Lipinski authored
      - for tx setup, we need to do some stuff for only one port and
        we need to do other stuff when all ports are calibrated, yet
        we need to know this global information when executing on a
        port.
      - Added structure to the hal_ports_t that is pointed to from
        each port that supports LPDC. This structure is then updated
        and checked.
      - use this stucture to do the following:
        * execute update of _pll_state only when hal_port_fsm_tx is
          executed on the first port that supports LPDC (it does not
          need to be port with index 0)
        * execute writing configuration file when all LPDC-supporting
          port has finished the tx_setup
      452289c4
  4. 27 Aug, 2019 5 commits
  5. 26 Aug, 2019 7 commits
  6. 23 Aug, 2019 2 commits
  7. 22 Aug, 2019 2 commits
    • Maciej Lipinski's avatar
      [HAL] fixed port LEDs · 93f2411e
      Maciej Lipinski authored
      Two issues:
      1) the update function of sync led had a bug
         (wrong structure updated)
      2) the leds were not reseted when on link_down
      
      Also, in the "old HAL", the wrmode LED was set
      to SFP_LED_WRMODE_OFF, so I updated the code
      accordingly.
      93f2411e
    • Maciej Lipinski's avatar
      [HAL] cleaned up debug/warning message printing · 79e5027e
      Maciej Lipinski authored
      - phase value was printed too often, should be done only if debugging
      - printf() should be avoided, changed to proper macros
      79e5027e
  8. 15 Aug, 2019 2 commits
  9. 14 Aug, 2019 1 commit
  10. 13 Aug, 2019 1 commit
    • Jean-Claude BAU's avatar
      HAL review · cc873eac
      Jean-Claude BAU authored
      New implementation of HAL using sub state machines. The objective is to
      facilitate the integration of the new feature "Low Phase Drift
      Calibration" which needs two new state machines.
      The HAL state machine is available by opening the hal.html file
      cc873eac
  11. 02 Aug, 2019 1 commit
    • Jean-Claude BAU's avatar
      Protect SNMP for read file access · 328b9f52
      Jean-Claude BAU authored
      Some scripts write to files to pass information to SNMP.
      To avoid read access failure from SNMP, the previous file is copied to a
      .old file then the new one is created.
      328b9f52
  12. 12 Jul, 2019 2 commits
    • Maciej Lipinski's avatar
      [issue #11] Prevent static MAC entries from removing by dynamic entires · 51d8270e
      Maciej Lipinski authored
      If a static entry is in the HASH table, this is for a reason. In the
      very unlikely event, when the same MAC is seen on another port,
      the static entry should not be overriden by the learned (dynamic).
      This was not the case. This commit prevents static MAC entries
      from being overriden by dynamic entries.
      51d8270e
    • Maciej Lipinski's avatar
      [issue #8] Avoid locking already locked shmem · 2056e517
      Maciej Lipinski authored
      Shmem is locked for the entire execution of the rtu_fd_init()
      function. Yet, this function call few clean_*() functions that
      attempt to lock shmem before cleaning... this caused shmem
      errors. It was fixed by specifying input parameter to clean_*()
      functions. The parameter specifies whether locking is required
      or not.
      2056e517
  13. 04 Jul, 2019 1 commit
  14. 03 Jul, 2019 3 commits