1. 11 6月, 2013 2 次提交
  2. 16 4月, 2013 1 次提交
  3. 03 4月, 2013 1 次提交
  4. 14 2月, 2013 3 次提交
  5. 05 1月, 2013 1 次提交
  6. 30 12月, 2012 1 次提交
  7. 22 12月, 2012 1 次提交
  8. 15 8月, 2012 2 次提交
  9. 27 6月, 2012 1 次提交
  10. 17 11月, 2011 1 次提交
  11. 19 10月, 2011 1 次提交
  12. 04 10月, 2011 1 次提交
  13. 16 9月, 2011 2 次提交
    • J
      net: consolidate and fix ethtool_ops->get_settings calling · 4bc71cb9
      Jiri Pirko 提交于
      This patch does several things:
      - introduces __ethtool_get_settings which is called from ethtool code and
        from drivers as well. Put ASSERT_RTNL there.
      - dev_ethtool_get_settings() is replaced by __ethtool_get_settings()
      - changes calling in drivers so rtnl locking is respected. In
        iboe_get_rate was previously ->get_settings() called unlocked. This
        fixes it. Also prb_calc_retire_blk_tmo() in af_packet.c had the same
        problem. Also fixed by calling __dev_get_by_index() instead of
        dev_get_by_index() and holding rtnl_lock for both calls.
      - introduces rtnl_lock in bnx2fc_vport_create() and fcoe_vport_create()
        so bnx2fc_if_create() and fcoe_if_create() are called locked as they
        are from other places.
      - use __ethtool_get_settings() in bonding code
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      
      v2->v3:
      	-removed dev_ethtool_get_settings()
      	-added ASSERT_RTNL into __ethtool_get_settings()
      	-prb_calc_retire_blk_tmo - use __dev_get_by_index() and lock
      	 around it and __ethtool_get_settings() call
      v1->v2:
              add missing export_symbol
      Reviewed-by: Ben Hutchings <bhutchings@solarflare.com> [except FCoE bits]
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4bc71cb9
    • J
      br: remove redundant check and init · fa3df928
      Jiri Pirko 提交于
      Since these checks and initialization are done in
      dev_ethtool_get_settings called later on, remove this redundancy.
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      Acked-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fa3df928
  14. 23 8月, 2011 1 次提交
  15. 10 8月, 2011 1 次提交
  16. 23 7月, 2011 1 次提交
  17. 23 5月, 2011 2 次提交
  18. 30 4月, 2011 1 次提交
  19. 29 4月, 2011 1 次提交
  20. 05 4月, 2011 1 次提交
    • S
      bridge: allow creating bridge devices with netlink · bb900b27
      stephen hemminger 提交于
      Add netlink device ops to allow creating bridge device via netlink.
      This works in a manner similar to vlan, macvlan and bonding.
      
      Example:
        # ip link add link dev br0 type bridge
        # ip link del dev br0
      
      The change required rearranging initializtion code to deal with
      being called by create link. Most of the initialization happens
      in br_dev_setup, but allocation of stats is done in ndo_init callback
      to deal with allocation failure. Sysfs setup has to wait until
      after the network device kobject is registered.
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bb900b27
  21. 28 3月, 2011 1 次提交
  22. 14 2月, 2011 1 次提交
  23. 25 1月, 2011 2 次提交
  24. 16 11月, 2010 2 次提交
  25. 26 8月, 2010 2 次提交
  26. 16 6月, 2010 3 次提交
  27. 02 6月, 2010 1 次提交
  28. 19 5月, 2010 1 次提交
  29. 16 5月, 2010 1 次提交