1. 10 3月, 2018 35 次提交
  2. 09 3月, 2018 5 次提交
    • A
      net: usb: asix88179_178a: de-duplicate code · cf29bded
      Alexander Kurz 提交于
      Remove the duplicated code for asix88179_178a bind and reset methods.
      Signed-off-by: NAlexander Kurz <akurz@blala.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cf29bded
    • A
      net: usb: asix88179_178a: set permanent address once only · 84c4df40
      Alexander Kurz 提交于
      The permanent address of asix88179_178a devices is read at probe time
      and should not be overwritten later. Otherwise it may be overwritten
      unintentionally with a configured address.
      Signed-off-by: NAlexander Kurz <akurz@blala.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      84c4df40
    • D
      Merge branch 'ntuple-filters-with-RSS' · 9b5d5f4f
      David S. Miller 提交于
      Edward Cree says:
      
      ====================
      ntuple filters with RSS
      
      This series introduces the ability to mark an ethtool steering filter to use
       RSS spreading, and the ability to create and configure multiple RSS contexts
       with different indirection tables, hash keys, and hash fields.
      An implementation for the sfc driver (for 7000-series and later SFC NICs) is
       included in patch 2/2.
      
      The anticipated use case of this feature is for steering traffic destined for
       a container (or virtual machine) to the subset of CPUs on which processes in
       the container (or the VM's vCPUs) are bound, while retaining the scalability
       of RSS spreading from the viewpoint inside the container.
      The use of both a base queue number (ring_cookie) and indirection table is
       intended to allow re-use of a single RSS context to target multiple sets of
       CPUs.  For instance, if an 8-core system is hosting three containers on CPUs
       [1,2], [3,4] and [6,7], then a single RSS context with an equal-weight [0,1]
       indirection table could be used to target all three containers by setting
       ring_cookie to 1, 3 and 6 on the respective filters.
      
      v2: Initialised ctx in efx_ef10_filter_insert() to avoid (false positive) gcc
       warning.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9b5d5f4f
    • E
      sfc: support RSS spreading of ethtool ntuple filters · 42356d9a
      Edward Cree 提交于
      Use a linked list to associate user-facing context IDs with FW-facing
       context IDs (since the latter can change after an MC reset).
      Signed-off-by: NEdward Cree <ecree@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      42356d9a
    • E
      net: ethtool: extend RXNFC API to support RSS spreading of filter matches · 84a1d9c4
      Edward Cree 提交于
      We use a two-step process to configure a filter with RSS spreading.  First,
       the RSS context is allocated and configured using ETHTOOL_SRSSH; this
       returns an identifier (rss_context) which can then be passed to subsequent
       invocations of ETHTOOL_SRXCLSRLINS to specify that the offset from the RSS
       indirection table lookup should be added to the queue number (ring_cookie)
       when delivering the packet.  Drivers for devices which can only use the
       indirection table entry directly (not add it to a base queue number)
       should reject rule insertions combining RSS with a nonzero ring_cookie.
      Signed-off-by: NEdward Cree <ecree@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      84a1d9c4