1. 04 Mar, 2020 38 commits
  2. 03 Mar, 2020 2 commits
    • David S. Miller's avatar
      Merge branch 'devlink-virtual-port' · 0a303214
      David S. Miller authored
      Parav Pandit says:
      
      ====================
      devlink: Introduce devlink port flavour virtual
      
      Currently PCI PF and VF devlink devices register their ports as
      physical port in non-representors mode.
      
      Introduce a new port flavour as virtual so that virtual devices can
      register 'virtual' flavour to make it more clear to users.
      
      An example of one PCI PF and 2 PCI virtual functions, each having
      one devlink port.
      
      $ devlink port show
      pci/0000:06:00.0/1: type eth netdev ens2f0 flavour physical port 0
      pci/0000:06:00.2/1: type eth netdev ens2f2 flavour virtual port 0
      pci/0000:06:00.3/1: type eth netdev ens2f3 flavour virtual port 0
      
      Patch summary:
      Patch-1 Introduces new devlink port flavour 'virtual'.
      Patch-2 Uses new flavour to register PCI VF virtual ports.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0a303214
    • Parav Pandit's avatar
      net/mlx5e: Use devlink virtual flavour for VF devlink port · 162add8c
      Parav Pandit authored
      Use newly introduce 'virtual' port flavour for devlink
      port of PCI VF devlink device in non-representors mode.
      
      While at it, remove recently introduced empty lines at end of the file.
      Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarParav Pandit <parav@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      162add8c