1. 14 5月, 2011 1 次提交
  2. 30 4月, 2011 3 次提交
  3. 29 4月, 2011 1 次提交
  4. 20 4月, 2011 1 次提交
  5. 07 4月, 2011 4 次提交
  6. 28 3月, 2011 1 次提交
    • S
      net: fix ethtool->set_flags not intended -EINVAL return value · 673e63c6
      Stanislaw Gruszka 提交于
      After commit d5dbda23 "ethtool: Add
      support for vlan accleration.", drivers that have NETIF_F_HW_VLAN_TX,
      and/or NETIF_F_HW_VLAN_RX feature, but do not allow enable/disable vlan
      acceleration via ethtool set_flags, always return -EINVAL from that
      function. Fix by returning -EINVAL only if requested features do not
      match current settings and can not be changed by driver.
      
      Change any driver that define ethtool->set_flags to use
      ethtool_invalid_flags() to avoid similar problems in the future
      (also on drivers that do not have the problem).
      
      Tested with modified (to reproduce this bug) myri10ge driver.
      
      Cc: stable@kernel.org # 2.6.37+
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      673e63c6
  7. 11 1月, 2011 1 次提交
  8. 18 12月, 2010 1 次提交
  9. 04 12月, 2010 2 次提交
  10. 18 11月, 2010 1 次提交
  11. 28 10月, 2010 1 次提交
  12. 18 10月, 2010 1 次提交
  13. 09 10月, 2010 3 次提交
  14. 05 10月, 2010 2 次提交
  15. 02 9月, 2010 1 次提交
  16. 26 8月, 2010 1 次提交
  17. 20 8月, 2010 1 次提交
  18. 17 8月, 2010 2 次提交
  19. 26 7月, 2010 1 次提交
  20. 15 7月, 2010 1 次提交
  21. 10 7月, 2010 1 次提交
  22. 01 7月, 2010 1 次提交
  23. 29 6月, 2010 1 次提交
  24. 24 6月, 2010 2 次提交
  25. 02 6月, 2010 1 次提交
    • A
      qlcnic: NIC Partitioning - Add basic infrastructure support · 2e9d722d
      Anirban Chakraborty 提交于
      Following changes have been added to enable the adapter to work in
      NIC partitioning mode where multiple PCI functions of an adapter port can
      be configured to work as NIC functions. The first function that is enumerated on
      the PCI bus assumes the role of management function which, besides being able
      to do all the NIC functionality, can configure other NIC partitions. Other NIC
      functions can be configured as privileged or non privileged functions.
      Privileged function can not configure other NIC functions but can do all the
      NIC functionality including any firmware initialization, chip reset etc. Non
      privileged functions can do only basic IO. For chip reset etc, it depends on the
      privilege or management function.
      
      1. Added code to determine PCI function number independent of kernel API.
      2. Added Driver - FW version 2.0 support.
      3. Changed producer and consumer register offset calculation.
      4. Added management and privileged operation modes for npar functions. A module
       parameter has been added to control it.
      5. Added support for configuring the eswitch in the adapter.
      Signed-off-by: NAnirban Chakraborty <anirban.chakraborty@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2e9d722d
  26. 14 5月, 2010 2 次提交
  27. 23 4月, 2010 1 次提交
  28. 04 4月, 2010 1 次提交