1. 25 1月, 2017 2 次提交
  2. 03 12月, 2016 1 次提交
  3. 25 11月, 2016 1 次提交
  4. 10 11月, 2016 1 次提交
    • H
      net/mlx5e: Add basic TC tunnel set action for SRIOV offloads · a54e20b4
      Hadar Hen Zion 提交于
      In mlx5 HW, encapsulation is offloaded by the steering rule having
      index into an encapsulation table containing the entire set of headers
      to be added by the HW. The driver sets these headers in a buffer when we
      are offloading the action.
      
      The code maintains mlx5_encap_entry for each encap header it has
      encountered when attempted to offload TC tunnel set action.
      
      This entry maintains a linked list of all the flows sharing the same
      encap header, when the last flow is removed from the list the encap
      entry is removed.
      
      The actual encap_header is allocated by the driver in the hardware only
      if we have layer two neighbour info when the encap entry is created.
      While the flow is in the driver, the driver holds a reference on the
      neighbour.
      
      When a new flow with encap action is inserted, the code first checks if
      the required encap entry exists according to the tunnel set parameters.
      If it does the encap is shared, otherwise a new mlx5_encap_entry is
      created.
      
      TC action parsing implementation in the driver assumes that tunnel set
      action is provided in the same order set by the user, e.g before the
      mirred_redirect action.
      Signed-off-by: NHadar Hen Zion <hadarh@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a54e20b4
  5. 30 10月, 2016 3 次提交
  6. 23 9月, 2016 5 次提交
  7. 20 9月, 2016 1 次提交
    • B
      net/mlx5: clean function declarations in eswitch.c up · 766a0e97
      Baoyou Xie 提交于
      We get 2 warnings when building kernel with W=1:
      drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:463:5: warning: no previous prototype for 'esw_offloads_init' [-Wmissing-prototypes]
      drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:521:6: warning: no previous prototype for 'esw_offloads_cleanup' [-Wmissing-prototypes]
      
      In fact, both functions are declared in
      drivers/net/ethernet/mellanox/mlx5/core/eswitch.c,but should be
      declared in a header file, thus can be recognized in other file.
      
      So this patch moves the declarations into
      drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Acked-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      766a0e97
  8. 11 9月, 2016 2 次提交
  9. 20 8月, 2016 1 次提交
  10. 15 7月, 2016 2 次提交
  11. 03 7月, 2016 9 次提交
  12. 05 5月, 2016 7 次提交
  13. 12 12月, 2015 1 次提交
  14. 04 12月, 2015 4 次提交