1. 14 5月, 2016 1 次提交
    • A
      i40e: Add vf-true-promisc-support priv flag · b5569892
      Anjali Singhai Jain 提交于
      This patch adds priv-flag knob to configure global true promisc
      support. With this patch the user can decide the flavor of
      promiscuous that the VFs will see when promiscuous mode is enabled
      on the interface. Since this a global setting for the whole device,
      the priv-flag is exposed only on the first PF of the device.
      
      The default is true promisc support is off, which means the promisc
      mode for the VF will be limited/defport mode.
      
      For the PF, we still will be in limited promisc unless in MFP mode
      irrespective of the flavor picked through this knob.
      
      Usage:
      On PF0
      ethtool --show-priv-flags p261p1
      Private flags for p261p1:
      MFP                    : off
      LinkPolling            : off
      flow-director-atr      : on
      veb-stats              : off
      hw-atr-eviction        : off
      vf-true-promisc-support: off
      
      to enable setting true promisc
      ethtool --set-priv-flags p261p1 vf-true-promisc-support on
      
      At this point if the VF is set to trust and promisc is enabled
      on the VF through
      ip link set ... promisc on
      The VF/VFs will be able to see ALL ingress traffic
      
      Change-Id: I8fac4b6eb1af9ca77b5376b79c50bdce5055bd94
      Signed-off-by: NAnjali Singhai Jain <anjali.singhai@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      b5569892
  2. 06 5月, 2016 3 次提交
  3. 05 5月, 2016 1 次提交
    • F
      net: remove dev->trans_start · 9b36627a
      Florian Westphal 提交于
      previous patches removed all direct accesses to dev->trans_start,
      so change the netif_trans_update helper to update trans_start of
      netdev queue 0 instead and then remove trans_start from struct net_device.
      
      AFAICS a lot of the netif_trans_update() invocations are now useless
      because they occur in ndo_start_xmit and driver doesn't set LLTX
      (i.e. stack already took care of the update).
      
      As I can't test any of them it seems better to just leave them alone.
      Signed-off-by: NFlorian Westphal <fw@strlen.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9b36627a
  4. 02 5月, 2016 5 次提交
  5. 26 4月, 2016 3 次提交
  6. 07 4月, 2016 3 次提交
  7. 06 4月, 2016 10 次提交
  8. 05 4月, 2016 3 次提交
  9. 01 3月, 2016 1 次提交
  10. 20 2月, 2016 1 次提交
  11. 19 2月, 2016 9 次提交