1. 13 Jan, 2020 1 commit
    • Maciej Lipinski's avatar
      [issue #201] moved update of age-time within mutex · 85a7069b
      Maciej Lipinski authored
      The problem was as follows:
      - there were two nodes with the same MAC address, sending traffic
        at high frequency
      - the above triggers a lot of learning requests to rtud, as a result
      - rtu HASH table representation in SHMEM is constantly udpated
      - the aging process runs in background (separate process) and updates
        the time the entry was last used.
      
      The update process could not the time of last access in the HASH
      table in SHMEM because the learing process was constantly occupying
      the SHMEM. The age out process was never aging out entry (even if this
      one is within mutex) since the access time was never updated.
      
      Thus, now both, update of last access time and age-out process are
      both within mutex that allows the learning and aging-out processes
      to both access SHMEM and HW.
      85a7069b
  2. 10 Jan, 2020 6 commits
  3. 09 Jan, 2020 1 commit
  4. 08 Jan, 2020 27 commits
  5. 07 Jan, 2020 5 commits
    • Jean-Claude BAU's avatar
      New Startup behavior related to the DHCP service availability · 493fe69e
      Jean-Claude BAU authored
      After a general cut in the electrical power supply, the switch can restart before than other generic systems (routeurs, serveurs, DHCP & NTP services,...).
      It results that the switch might be not well configured if these services cannot be reached and especially the DHCP service.
      
      So, a new behavior has been introduced to wait for the availability of the DHCP service (if configured) to get the source of the dot-config file and to setup the management port.
      493fe69e
    • Jean-Claude BAU's avatar
      Kconfig: new dependency · 75c6b639
      Jean-Claude BAU authored
      A dependency have been added to not allow the option "Force to get the
      URL to a dot-config via DHCP" in order to get the source of the
      dot-config file. This option is now only available if the "DHCP forever"
      option is selected in the management port configuration.
      
      This has been done to avoid to wait forever the availability of the DHCP
      service to get the dot-config source while this service is not required
      or mandatory for the management port setup.
      75c6b639
    • Jean-Claude BAU's avatar
      network script: new behavior · 4d9968c3
      Jean-Claude BAU authored
      When the configuration indicates that the network is  forced to use the
      DHCP service for its setup (CONFIG_ETH0_DHCP=y), the script waits
      forever the availability of the DHCP service.
      
      In the other cases, the behavior remains unchanged.
      4d9968c3
    • Jean-Claude BAU's avatar
      dot-config script: new behavior · c9fe1601
      Jean-Claude BAU authored
      When the dot-config file is read at startup using the DHCP service to
      get the server IP address, the script waits forever the availability of
      DHCP service in the following case :
      - CONFIG_DOTCONF_SOURCE_FORCE_DHCP=y AND CONFIG_ETH0_DHCP=y
      
      CONFIG_ETH0_DHCP: Set to indicate that the network is forced to use DHCP
      for its setup.
      
      In the other cases, the behavior stay unchanged.
      c9fe1601
    • Jean-Claude BAU's avatar
      Fix dot-config parsing error · c21ed26c
      Jean-Claude BAU authored
      The parser must take care of the help text because it can contains
      KConfig keywords.
      So, this fix identifies help sections and does not parse the help text.
      c21ed26c