1. 15 Dec, 2018 4 commits
  2. 14 Dec, 2018 32 commits
  3. 13 Dec, 2018 4 commits
    • David S. Miller's avatar
      Merge tag 'mlx5e-updates-2018-12-11' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 95302c39
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      mlx5e-updates-2018-12-11
      
      From Eli Britstein,
      Patches 1-10 adds remote mirroring support.
      Patches 1-4 refactor encap related code as pre-steps for using per
      destination encapsulation properties.
      Patches 5-7 use extended destination feature for single/multi
      destination scenarios that have a single encap destination.
      Patches 8-10 enable multiple encap destinations for a TC flow.
      
      From, Daniel Jurgens,
      Patch 11, Use CQE padding for Ethernet CQs, PPC showed up to a 24%
      improvement in small packet throughput
      
      From Eyal Davidovich,
      patches 12-14, FW monitor counter support
      FW monitor counters feature came to solve the delayed reporting of
      FW stats in the atomic get_stats64 ndo, since we can't access the
      FW at that stage, this feature will enable immediate FW stats updates
      in the driver via fw events on specific stats updates.
      
      Patch 12, cleanup to avoid querying a FW counter when it is not
      supported
      Patch 13, Monitor counters FW commands support
      Patch 14, Use monitor counters in ethernet netdevice to update FW
      stats reported in the atomic get_stats64 ndo.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      95302c39
    • Biao Huang's avatar
      net-next: stmmac: dwmac-mediatek: add module license info · 43d4b297
      Biao Huang authored
      Add MODULE_LICENSE info to fix this:
      WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.o
      Signed-off-by: default avatarBiao Huang <biao.huang@mediatek.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      43d4b297
    • YueHaibing's avatar
      net/mlx5e: Remove set but not used variable 'upriv' · c784a28b
      YueHaibing authored
      Fixes gcc '-Wunused-but-set-variable' warning:
      
      drivers/net/ethernet/mellanox/mlx5/core/en_rep.c: In function 'mlx5e_vport_rep_load':
      drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:1490:21: warning:
       variable 'upriv' set but not used [-Wunused-but-set-variable]
      
      drivers/net/ethernet/mellanox/mlx5/core/en_rep.c: In function 'mlx5e_vport_rep_unload':
      drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:1557:21: warning:
       variable 'upriv' set but not used [-Wunused-but-set-variable]
      
      It not used any more since commit ef381359 ("net/mlx5e: Replace egdev with
      indirect block notifications"). Also remove unused variable 'uplink_rpriv'
      after this change.
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
      Acked-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c784a28b
    • David S. Miller's avatar
      Merge branch 'Pass-extack-to-SWITCHDEV_PORT_OBJ_ADD' · 02e1dbe4
      David S. Miller authored
      Petr Machata says:
      
      ====================
      Pass extack to SWITCHDEV_PORT_OBJ_ADD
      
      Drivers may need to do validation as a result of port object addition.
      An example is mlxsw, which needs to check the configuration of a VXLAN
      device attached to an offloaded bridge. Without a mapped VLAN, the
      invalidity of the device is not important, but as soon as a pvid,
      untagged VLAN is configured for the device, it has to be validated and
      offloaded. Should the validation fail, there's currently no way to
      communicate details of the failure to the user, beyond an error number.
      
      Because currently, extack is not available at all in that area of code,
      this patch starts down at the RTNL level and progresses up towards the
      driver(s).
      
      In patch #1, ndo_bridge_setlink is updated to include extack, and
      callbacks of all clients are updated as well (ignoring the argument).
      
      In patch #2, the bridge driver is updated to propagate the extack
      through to the switchdev border, br_switchdev_port_vlan_add().
      
      Patches #3, #4 and #5 then gradually extend switchdev to pass the extack
      argument through to the switchdev blocking notifier chain.
      
      Patches #6 and #7 then update mlxsw to pass the extack argument from
      VXLAN events resp. port events on to mlxsw_sp_bridge_8021q_vxlan_join().
      
      Finally in patches #8 and #9, the code paths from the previous two
      patches are verified to yield an error message.
      
      v2:
      - Patch #1:
          - In ndo_bridge_setlink(), keep the whole extack declaration on the
            same line.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      02e1dbe4