1. 07 9月, 2016 1 次提交
  2. 27 8月, 2016 4 次提交
  3. 19 8月, 2016 1 次提交
  4. 13 8月, 2016 6 次提交
  5. 17 6月, 2016 1 次提交
    • A
      net: sfc: avoid -Wtype-limits warning · 17471c7b
      Arnd Bergmann 提交于
      When building with -Wextra, we get a harmless warning from the
      EFX_EXTRACT_OWORD32 macro:
      
      ethernet/sfc/farch.c: In function 'efx_farch_test_registers':
      ethernet/sfc/farch.c:119:30: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
      ethernet/sfc/farch.c:124:144: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
      ethernet/sfc/farch.c:124:392: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
      ethernet/sfc/farch.c:124:731: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
      
      The macro and the caller are both correct, but we can avoid the
      warning by changing the index variable to a signed type.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NBert Kenward <bkenward@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      17471c7b
  6. 16 6月, 2016 17 次提交
  7. 09 6月, 2016 1 次提交
  8. 01 6月, 2016 1 次提交
  9. 30 5月, 2016 1 次提交
  10. 26 5月, 2016 1 次提交
  11. 29 4月, 2016 1 次提交
    • J
      sfc: disable RSS when unsupported · dcb4123c
      Jon Cooper 提交于
      When certain firmware variants are selected (via the sfboot utility) the
      SFC7000 and SFC8000 series NICs don't support RSS. The driver still
      tries (and fails) to insert filters with the RSS flag, and the NIC fails
      to pass traffic.
      
      When the firmware reports RSS_LIMITED suppress allocating a default RSS
      context. The absence of an RSS context is picked up in filter insertion
      and RSS flags are discarded.
      Signed-off-by: NBert Kenward <bkenward@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dcb4123c
  12. 04 3月, 2016 1 次提交
    • J
      net: relax setup_tc ndo op handle restriction · 5eb4dce3
      John Fastabend 提交于
      I added this check in setup_tc to multiple drivers,
      
       if (handle != TC_H_ROOT || tc->type != TC_SETUP_MQPRIO)
      
      Unfortunately restricting to TC_H_ROOT like this breaks the old
      instantiation of mqprio to setup a hardware qdisc. This patch
      relaxes the test to only check the type to make it equivalent
      to the check before I broke it. With this the old instantiation
      continues to work.
      
      A good smoke test is to setup mqprio with,
      
      # tc qdisc add dev eth4 root mqprio num_tc 8 \
        map 0 1 2 3 4 5 6 7 \
        queues 0@0 1@1 2@2 3@3 4@4 5@5 6@6 7@7
      
      Fixes: e4c6734e ("net: rework ndo tc op to consume additional qdisc handle paramete")
      Reported-by: NSingh Krishneil <krishneil.k.singh@intel.com>
      Reported-by: NJake Keller <jacob.e.keller@intel.com>
      CC: Murali Karicheri <m-karicheri2@ti.com>
      CC: Shradha Shah <sshah@solarflare.com>
      CC: Or Gerlitz <ogerlitz@mellanox.com>
      CC: Ariel Elior <ariel.elior@qlogic.com>
      CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      CC: Bruce Allan <bruce.w.allan@intel.com>
      CC: Jesse Brandeburg <jesse.brandeburg@intel.com>
      CC: Don Skidmore <donald.c.skidmore@intel.com>
      Signed-off-by: NJohn Fastabend <john.r.fastabend@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5eb4dce3
  13. 17 2月, 2016 2 次提交
  14. 11 2月, 2016 1 次提交
  15. 24 12月, 2015 1 次提交