1. 08 11月, 2019 2 次提交
  2. 25 6月, 2019 4 次提交
  3. 10 6月, 2019 1 次提交
  4. 24 5月, 2019 1 次提交
  5. 23 5月, 2019 1 次提交
    • V
      cxgb4: Enable hash filter with offload · 74dd5aa1
      Vishal Kulkarni 提交于
      Hash (exact-match) filters used for offloading flows share the
      same active region resources on the chip with upper layer drivers,
      like iw_cxgb4, chcr, etc. Currently, only either Hash filters
      or ULDs can use the active region resources, but not both. Hence,
      use the new firmware configuration parameters (when available)
      to allow both the Hash filters and ULDs to share the
      active region simultaneously.
      Signed-off-by: NVishal Kulkarni <vishal@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      74dd5aa1
  6. 30 3月, 2019 1 次提交
  7. 05 3月, 2019 1 次提交
  8. 02 3月, 2019 1 次提交
  9. 15 2月, 2019 2 次提交
  10. 04 2月, 2019 1 次提交
  11. 24 11月, 2018 1 次提交
  12. 12 10月, 2018 1 次提交
    • A
      cxgb4: fix thermal configuration dependencies · e70a57fa
      Arnd Bergmann 提交于
      With CONFIG_THERMAL=m, we get a build error:
      
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c: In function 'cxgb4_thermal_get_trip_type':
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c:48:11: error: 'struct adapter' has no member named 'ch_thermal'
      
      Once that is fixed by using IS_ENABLED() checks, we get a link error
      against the thermal subsystem when cxgb4 is built-in:
      
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.o: In function `cxgb4_thermal_init':
      cxgb4_thermal.c:(.text+0x180): undefined reference to `thermal_zone_device_register'
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.o: In function `cxgb4_thermal_remove':
      cxgb4_thermal.c:(.text+0x1e0): undefined reference to `thermal_zone_device_unregister'
      
      Finally, since CONFIG_THERMAL can be =m, the Makefile fails to pick up the
      extra file into built-in.a, and we get another link failure against the
      cxgb4_thermal_init/cxgb4_thermal_remove files, so the Makefile has to
      be adapted as well to work for both CONFIG_THERMAL=y and =m.
      
      Fixes: b1871915 ("cxgb4: Add thermal zone support")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e70a57fa
  13. 10 10月, 2018 1 次提交
  14. 14 9月, 2018 1 次提交
  15. 04 9月, 2018 1 次提交
  16. 11 8月, 2018 1 次提交
  17. 05 7月, 2018 1 次提交
  18. 29 6月, 2018 1 次提交
  19. 28 6月, 2018 1 次提交
  20. 22 6月, 2018 1 次提交
    • N
      rhashtable: split rhashtable.h · 0eb71a9d
      NeilBrown 提交于
      Due to the use of rhashtables in net namespaces,
      rhashtable.h is included in lots of the kernel,
      so a small changes can required a large recompilation.
      This makes development painful.
      
      This patch splits out rhashtable-types.h which just includes
      the major type declarations, and does not include (non-trivial)
      inline code.  rhashtable.h is no longer included by anything
      in the include/ directory.
      Common include files only include rhashtable-types.h so a large
      recompilation is only triggered when that changes.
      Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NNeilBrown <neilb@suse.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0eb71a9d
  21. 26 5月, 2018 1 次提交
    • A
      cxgb4/cxgb4vf: Notify link changes to OS-dependent code · e2f4f4e9
      Arjun Vynipadath 提交于
      We have a confusion of two different abstractions in the Common
      Code:  Physical Link (Port) and Logical Network Interface (Virtual
      Interface), and we haven't been properly managing the state of the
      intersection of those two abstractions.
      On the one hand we have the Physical state of the Link -- up or down --
      and on the other we have the logical state of the VI, enabled or not.
      {ethN} refers to both the Physical and Logical State. In this case,
      ifconfig only affects/interrogates the Logical State of a VI,
      and ethtool only deals with the Physical State. And these are different.
      
      So, just because we disable the VI, we don't really want to change the
      Physical Link Up/Down state.  Thus, the previous hack to set
      "lc->link_ok = 0" when we disable a VI is completely incorrect.
      
      Where we get into trouble is where the Physical Link State and the
      Logical VI State cross swords.  And that happens in
      t4_handle_get_port_info() where we need to manage/safe the Physical
      Link State, but we also need to know when the Logical VI State has
      changed and pass that back up to the OS-dependent Driver routine
      t4_os_link_changed() which is concerned about the Logical Interface.
      
      So we enable a VI and that causes Firmware to send us a new Port
      Information message, but if none of the Physical Link State
      particulars have changed, we don't call t4_os_link_changed().
      
      This fix uses the existing OS Contract APIs for the Common Code to
      inform the OS-dependent portion of the Host Driver when the "Link" (really
      Logical Network Interface) is "up" or "down". A new API
      t4_enable_pi_params() is added which calls t4_enable_vi_params() and,
      if that is successful, then calls back to the OS Contract API
      t4_os_link_changed() notifying the OS-dependent layer of the
      potential Link State change.
      
      Original Work by : Casey Leedom <leedom@chelsio.com>
      Signed-off-by: NSantosh Rastapur <santosh@chelsio.com>
      Signed-off-by: NArjun Vynipadath <arjun@chelsio.com>
      Signed-off-by: NGanesh Goudar <ganeshgr@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e2f4f4e9
  22. 24 5月, 2018 1 次提交
  23. 15 5月, 2018 2 次提交
  24. 22 3月, 2018 3 次提交
  25. 17 3月, 2018 1 次提交
  26. 13 3月, 2018 1 次提交
  27. 15 2月, 2018 1 次提交
  28. 24 1月, 2018 1 次提交
  29. 22 1月, 2018 1 次提交
  30. 18 1月, 2018 1 次提交
  31. 11 1月, 2018 2 次提交