1. 07 12月, 2016 1 次提交
  2. 03 12月, 2016 2 次提交
    • J
      i40e: set broadcast promiscuous mode for each active VLAN · 435c084a
      Jacob Keller 提交于
      A previous workaround added to ensure receipt of all broadcast frames
      incorrectly set the broadcast promiscuous mode unconditionally
      regardless of active VLAN status.
      
      Replace this partial workaround with a complete solution that sets the
      broadcast promiscuous filters in i40e_sync_vsi_filters. This new method
      sets the promiscuous mode based on when broadcast filters are added or
      removed.
      
      I40E_VLAN_ANY will request a broadcast filter for all VLANs, (as we're
      in untagged mode) while a broadcast filter on a specific VLAN will only
      request broadcast for that VLAN.
      
      Thus, we restore addition of broadcast filter to the array, but we add
      special handling for these such that they enable the broadcast
      promiscuous mode instead of being sent as regular filters.
      
      The end result is that we will correctly receive all broadcast packets
      (even those with a *source* address equal to the broadcast address) but
      will not receive packets for which we don't have an active VLAN filter.
      
      Change-ID: I7d0585c5cec1a5bf55bf533b42e5e817d5db6a2d
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      435c084a
    • J
      i40e: remove error_param_int label from i40e_vc_config_promiscuous_mode_msg · 7429c0bd
      Jacob Keller 提交于
      This label is unnecessary, as are jumping to a block that checks aq_ret
      and then immediately skipping it and returning. So just jump straight to
      the error_param and remove this unnecessary label.
      
      Also use goto error_param even in the last check for style consistency.
      
      Change-ID: If487c7d10c4048e37c594e5eca167693aaed45f6
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      7429c0bd
  3. 01 11月, 2016 5 次提交
  4. 24 9月, 2016 1 次提交
    • M
      net: Update API for VF vlan protocol 802.1ad support · 79aab093
      Moshe Shemesh 提交于
      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: NMoshe Shemesh <moshe@mellanox.com>
      Signed-off-by: NTariq Toukan <tariqt@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      79aab093
  5. 23 9月, 2016 2 次提交
  6. 19 8月, 2016 4 次提交
  7. 28 6月, 2016 1 次提交
  8. 14 5月, 2016 3 次提交
  9. 06 5月, 2016 2 次提交
  10. 02 5月, 2016 4 次提交
  11. 28 4月, 2016 2 次提交
  12. 26 4月, 2016 1 次提交
  13. 07 4月, 2016 3 次提交
  14. 06 4月, 2016 5 次提交
  15. 01 3月, 2016 1 次提交
  16. 19 2月, 2016 2 次提交
  17. 18 2月, 2016 1 次提交