Skip to content
  1. Nov 30, 2018
    • Saeed Mahameed's avatar
      net/mlx5: Remove unused events callback and logic · 02039fb6
      Saeed Mahameed authored
      
      
      The mlx5_interface->event callback is not used by mlx5e/mlx5_ib anymore.
      
      We totally remove the delayed events logic work around, since with
      the dynamic notifier registration API it is not needed anymore, mlx5_ib
      can register its notifier and start receiving events exactly at the moment
      it is ready to handle them.
      
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      02039fb6
    • Saeed Mahameed's avatar
      IB/mlx5: Use the new mlx5 core notifier API · df097a27
      Saeed Mahameed authored
      
      
      Remove the deprecated mlx5_interface->event mlx5_ib callback and use new
      mlx5 notifier API to subscribe for mlx5 events.
      
      For native mlx5_ib devices profiles pf_profile/nic_rep_profile register
      the notifier callback mlx5_ib_handle_event which treats the notifier
      context as mlx5_ib_dev.
      
      For vport repesentors, don't register any notifier, same as before, they
      didn't receive any mlx5 events.
      
      For slave port (mlx5_ib_multiport_info) register a different notifier
      callback mlx5_ib_event_slave_port, which knows that the event is coming
      for mlx5_ib_multiport_info and prepares the event job accordingly.
      Before this on the event handler work we had to ask mlx5_core if this is
      a slave port mlx5_core_is_mp_slave(work->dev), now it is not needed
      anymore.
      mlx5_ib_multiport_info notifier registration is done on
      mlx5_ib_bind_slave_port and de-registration is done on
      mlx5_ib_unbind_slave_port.
      
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      df097a27
    • Saeed Mahameed's avatar
      net/mlx5: Forward all mlx5 events to mlx5 notifiers chain · 58d180b3
      Saeed Mahameed authored
      
      
      This to allow seamless migration to the new notifier chain API, and to
      eventually deprecate interfaces dev->event callback.
      
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      58d180b3
    • Saeed Mahameed's avatar
      net/mlx5e: Use the new mlx5 core notifier API · 7cffaddd
      Saeed Mahameed authored
      
      
      Remove the deprecated mlx5_interface->event mlx5e callback and use new
      mlx5 notifier API to subscribe for mlx5 events, handle port change event
      as received from FW rather than handling the mlx5 core processed port
      change software version event.
      
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      7cffaddd
    • Saeed Mahameed's avatar
      net/mlx5: Allow port change event to be forwarded to driver notifiers chain · 7a179555
      Saeed Mahameed authored
      
      
      The idea is to allow mlx5 core interfaces (mlx5e/mlx5_ib) to be able to
      receive some allowed FW events as is via the new notifier API.
      
      In this patch we allow forwarding port change event to mlx5 core interfaces
      (mlx5e/mlx5_ib) as it was received from FW.
      Once mlx5e and mlx5_ib start using this event we can safely remove the
      redundant software version of it and its translation logic.
      
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      7a179555
    • Saeed Mahameed's avatar
      net/mlx5: Driver events notifier API · 20902be4
      Saeed Mahameed authored
      Use atomic notifier chain to fire events to mlx5 core driver
      consumers (mlx5e/mlx5_ib) and provide mlx5 register/unregister notifier
      API.
      
      This API will replace the current mlx5_interface->event callback and all
      the logic around it, especially the delayed events logic introduced by
      commit 97834eba
      
       ("net/mlx5: Delay events till ib registration ends")
      
      Which is not needed anymore with this new API where the mlx5 interface
      can dynamically register/unregister its notifier.
      
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      20902be4
  2. Nov 27, 2018
  3. Nov 21, 2018
  4. Nov 13, 2018
  5. Nov 09, 2018
  6. Nov 07, 2018
  7. Nov 05, 2018
    • Linus Torvalds's avatar
      Linux 4.20-rc1 · 65102238
      Linus Torvalds authored
      65102238
    • Linus Torvalds's avatar
      Merge tag 'tags/upstream-4.20-rc1' of git://git.infradead.org/linux-ubifs · 42bd06e9
      Linus Torvalds authored
      Pull UBIFS updates from Richard Weinberger:
      
       - Full filesystem authentication feature, UBIFS is now able to have the
         whole filesystem structure authenticated plus user data encrypted and
         authenticated.
      
       - Minor cleanups
      
      * tag 'tags/upstream-4.20-rc1' of git://git.infradead.org/linux-ubifs: (26 commits)
        ubifs: Remove unneeded semicolon
        Documentation: ubifs: Add authentication whitepaper
        ubifs: Enable authentication support
        ubifs: Do not update inode size in-place in authenticated mode
        ubifs: Add hashes and HMACs to default filesystem
        ubifs: authentication: Authenticate super block node
        ubifs: Create hash for default LPT
        ubfis: authentication: Authenticate master node
        ubifs: authentication: Authenticate LPT
        ubifs: Authenticate replayed journal
        ubifs: Add auth nodes to garbage collector journal head
        ubifs: Add authentication nodes to journal
        ubifs: authentication: Add hashes to index nodes
        ubifs: Add hashes to the tree node cache
        ubifs: Create functions to embed a HMAC in a node
        ubifs: Add helper functions for authentication support
        ubifs: Add separate functions to init/crc a node
        ubifs: Format changes for authentication support
        ubifs: Store read superblock node
        ubifs: Drop write_node
        ...
      42bd06e9