1. 08 Jan, 2018 1 commit
  2. 15 Oct, 2017 1 commit
  3. 25 Jul, 2017 2 commits
  4. 24 Apr, 2017 1 commit
  5. 05 Apr, 2017 1 commit
  6. 14 Jan, 2017 1 commit
  7. 29 Dec, 2016 2 commits
  8. 07 Dec, 2016 1 commit
  9. 05 Dec, 2016 1 commit
  10. 13 Nov, 2016 1 commit
  11. 24 Sep, 2016 1 commit
    • Moshe Shemesh's avatar
      net: Update API for VF vlan protocol 802.1ad support · 79aab093
      Moshe Shemesh authored
      
      
      Introduce new rtnl UAPI that exposes a list of vlans per VF, giving
      the ability for user-space application to specify it for the VF, as an
      option to support 802.1ad.
      We adjusted IP Link tool to support this option.
      
      For future use cases, the new UAPI supports multiple vlans. For now we
      limit the list size to a single vlan in kernel.
      Add IFLA_VF_VLAN_LIST in addition to IFLA_VF_VLAN to keep backward
      compatibility with older versions of IP Link tool.
      
      Add a vlan protocol parameter to the ndo_set_vf_vlan callback.
      We kept 802.1Q as the drivers' default vlan protocol.
      Suitable ip link tool command examples:
        Set vf vlan protocol 802.1ad:
          ip link set eth0 vf 1 vlan 100 proto 802.1ad
        Set vf to VST (802.1Q) mode:
          ip link set eth0 vf 1 vlan 100 proto 802.1Q
        Or by omitting the new parameter
          ip link set eth0 vf 1 vlan 100
      
      Signed-off-by: default avatarMoshe Shemesh <moshe@mellanox.com>
      Signed-off-by: default avatarTariq Toukan <tariqt@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      79aab093
  12. 20 Sep, 2016 1 commit
  13. 14 Jun, 2016 1 commit
    • Michael Chan's avatar
      bnxt_en: Add function for VF driver to query default VLAN. · cf6645f8
      Michael Chan authored
      
      
      The PF can setup a default VLAN for a VF.  The default VLAN tag is
      automatically inserted and stripped without the knowledge of the
      stack running on the VF.  The VF driver needs to know that default
      VLAN is enabled as VLAN acceleration on the RX side is no longer
      supported.  Call netdev_update_features() to fix up the VLAN features
      as necessary.  Also, VLAN strip mode must be enabled to strip out
      the default VLAN tag.
      
      Only allow VF default VLAN to be set if the firmware spec is >= 1.2.1.
      
      Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cf6645f8
  14. 11 Apr, 2016 1 commit
  15. 05 Apr, 2016 1 commit
  16. 01 Mar, 2016 3 commits
  17. 28 Dec, 2015 4 commits
  18. 12 Dec, 2015 1 commit
  19. 03 Dec, 2015 1 commit
  20. 05 Nov, 2015 1 commit
  21. 24 Oct, 2015 1 commit
  22. 23 Oct, 2015 1 commit
    • Michael Chan's avatar
      bnxt_en: New Broadcom ethernet driver. · c0c050c5
      Michael Chan authored
      
      
      Broadcom ethernet driver for the new family of NetXtreme-C/E
      ethernet devices.
      
      v5:
        - Removed empty blank lines at end of files (noted by David Miller).
        - Moved busy poll helper functions to bnxt.h to at least make the
          .c file look less cluttered with #ifdef (noted by Stephen Hemminger).
      
      v4:
        - Broke up 2 long message strings with "\n" (suggested by John Linville)
        - Constify an array of strings (suggested by Stephen Hemminger)
        - Improve bnxt_vf_pciid() (suggested by Stephen Hemminger)
        - Use PCI_VDEVICE() to populate pci_device_id table for more compact
          source.
      
      v3:
        - Fixed 2 more sparse warnings.
        - Removed some unused structures in .h files.
      
      v2:
        - Fixed all kbuild test robot reported warnings.
        - Fixed many of the checkpatch.pl errors and warnings.
        - Fixed the Kconfig description (noted by Dmitry Kravkov).
      
      Acked-by: default avatarEddie Wai <eddie.wai@broadcom.com>
      Acked-by: default avatarJeffrey Huang <huangjw@broadcom.com>
      Signed-off-by: default avatarPrashant Sreedharan <prashant@broadcom.com>
      Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c0c050c5