1. 27 1月, 2020 4 次提交
  2. 09 1月, 2020 1 次提交
  3. 11 12月, 2019 3 次提交
  4. 25 11月, 2019 1 次提交
  5. 19 11月, 2019 2 次提交
  6. 23 10月, 2019 3 次提交
  7. 12 10月, 2019 1 次提交
  8. 31 8月, 2019 4 次提交
  9. 19 8月, 2019 1 次提交
  10. 05 4月, 2019 2 次提交
  11. 25 3月, 2019 4 次提交
  12. 13 2月, 2019 1 次提交
  13. 09 2月, 2019 1 次提交
    • J
      devlink: publish params only after driver init is done · 7c62cfb8
      Jiri Pirko 提交于
      Currently, user can do dump or get of param values right after the
      devlink params are registered. However the driver may not be initialized
      which is an issue. The same problem happens during notification
      upon param registration. Allow driver to publish devlink params
      whenever it is ready to handle get() ops. Note that this cannot
      be resolved by init reordering, as the "driverinit" params have
      to be available before the driver is initialized (it needs the param
      values there).
      Signed-off-by: NJiri Pirko <jiri@mellanox.com>
      Cc: Michael Chan <michael.chan@broadcom.com>
      Cc: Tariq Toukan <tariqt@mellanox.com>
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7c62cfb8
  14. 30 1月, 2019 1 次提交
    • V
      bnxt_en: Add bnxt_en initial port params table and register it · 782a624d
      Vasundhara Volam 提交于
      Register devlink_port with devlink and create initial port params
      table for bnxt_en. The table consists of a generic parameter:
      
      wake_on_lan: Enables Wake on Lan for this port when magic packet
      is received with this port's MAC address using ACPI pattern.
      If enabled, the controller asserts a wake pin upon reception of
      WoL packet.  ACPI (Advanced Configuration and Power Interface) is
      an industry specification for the efficient handling of power
      consumption in desktop and mobile computers.
      
      v2->v3:
      - Modify bnxt_dl_wol_validate(), to throw error message when user gives
        value other than DEVLINK_PARAM_WAKE_MAGIC ot to disable WOL.
      - Use netdev_err() instead of netdev_warn(), when devlink_port_register()
        and devlink_port_params_register() returns error. Also, don't log rc
        in this message.
      
      Cc: Michael Chan <michael.chan@broadcom.com>
      Signed-off-by: NVasundhara Volam <vasundhara-v.volam@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      782a624d
  15. 08 1月, 2019 1 次提交
  16. 08 10月, 2018 1 次提交
  17. 05 10月, 2018 4 次提交
  18. 19 9月, 2018 1 次提交
  19. 06 8月, 2018 1 次提交
  20. 05 7月, 2018 1 次提交
  21. 27 10月, 2017 1 次提交
    • S
      bnxt_en: add support for Flower based vxlan encap/decap offload · 8c95f773
      Sathya Perla 提交于
      This patch adds IPv4 vxlan encap/decap action support to TC-flower
      offload.
      
      For vxlan encap, the driver maintains a tunnel encap hash-table.
      When a new flow with a tunnel encap action arrives, this table
      is looked up; if an encap entry exists, it uses the already
      programmed encap_record_handle as the tunnel_handle in the
      hwrm_cfa_flow_alloc cmd. Else, a new encap node is added and the
      L2 header fields are queried via a route lookup.
      hwrm_cfa_encap_record_alloc cmd is used to create a new encap
      record and the encap_record_handle is used as the tunnel_handle
      while adding the flow.
      
      For vxlan decap, the driver maintains a tunnel decap hash-table.
      When a new flow with a tunnel decap action arrives, this table
      is looked up; if a decap entry exists, it uses the already
      programmed decap_filter_handle as the tunnel_handle in the
      hwrm_cfa_flow_alloc cmd. Else, a new decap node is added and
      a decap_filter_handle is alloc'd via the hwrm_cfa_decap_filter_alloc
      cmd. This handle is used as the tunnel_handle while adding the flow.
      
      The code to issue the HWRM FW cmds is introduced in a follow-up patch.
      Signed-off-by: NSathya Perla <sathya.perla@broadcom.com>
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8c95f773
  22. 21 10月, 2017 1 次提交