1. 19 5月, 2018 2 次提交
    • D
      Merge tag 'mlx5e-updates-2018-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · d6830519
      David S. Miller 提交于
      Saeed Mahameed says:
      
      ====================
      mlx5e-updates-2018-05-17
      
      From: Or Gerlitz <ogerlitz@mellanox.com>
      
      This series addresses a regression introduced by the
      shared block TC changes [1]. Currently, for VF->VF and uplink->VF rules, the
      TC core (cls_api) attempts to offload the same flow multiple times into
      the driver, as a side effect of the mlx5 registration to the egdev callback.
      
      We use the flow cookie to ignore attempts to add such flows, we can't
      reject them (return error), b/c this will fail the offload attempt, so we
      ignore that.
      
      The last patch of the series deals with exposing HW stats counters through
      ethtool for the vport reps.
      
      Dave - the regression that we are addressing was introduced in 4.15 [1] and applies
      to nfp and mlx5. Jiri suggested to push driver side fixes to net-next, this is
      already done for nfp [2][3]. Once this is upstream, we will submit a small/point
      single patch fix for the TC core code which can serve for net and stable, but not
      carried into net-next, b/c it might limit some future use-cases.
      
      [1] 208c0f4b "net: sched: use tc_setup_cb_call to call per-block callbacks"
      [2] c50647d3 "nfp: flower: ignore duplicate cb requests for same rule"
      [3] 54a4a034 "nfp: flower: support offloading multiple rules with same cookie"
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d6830519
    • D
      Merge tag 'mlx5-updates-2018-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux · 3888ea4e
      David S. Miller 提交于
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2018-05-17
      
      mlx5 core dirver updates for both net-next and rdma-next branches.
      
      From Christophe JAILLET, first three patche to use kvfree where needed.
      
      From: Or Gerlitz <ogerlitz@mellanox.com>
      
      Next six patches from Roi and Co adds support for merged
      sriov e-switch which comes to serve cases where both PFs, VFs set
      on them and both uplinks are to be used in single v-switch SW model.
      When merged e-switch is supported, the per-port e-switch is logically
      merged into one e-switch that spans both physical ports and all the VFs.
      
      This model allows to offload TC eswitch rules between VFs belonging
      to different PFs (and hence have different eswitch affinity), it also
      sets the some of the foundations needed for uplink LAG support.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3888ea4e
  2. 18 5月, 2018 38 次提交