1. 17 1月, 2018 21 次提交
  2. 16 1月, 2018 17 次提交
  3. 15 1月, 2018 2 次提交
    • D
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 564737f9
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      10GbE Intel Wired LAN Driver Updates 2018-01-12
      
      This series contains updates to ixgbe, fm10k and net core.
      
      Alex updates the driver to remove a duplicate MAC address check and
      verifies that we have not run out of resources to configure a MAC rule
      in our filter table.  Also do not assume that dev->num_tc was populated
      and configured with the driver, since it can be configured via mqprio
      without any hardware coordination.  Fixed the recording of stats for
      MACVLAN in ixgbe and fm10k instead of recording the receive queue on
      MACVLAN offloaded frames.  When handling a MACVLAN offload, we should
      be stopping/starting traffic on our own queues instead of the upper
      devices transmit queues.  Fixed possible race conditions with the
      MACVLAN cleanup with the interface cleanup on shutdown.  With the
      recent fixes to ixgbe, we can cap the number of queues regardless of
      accel_priv being in use or not, since the actual number of queues are
      being reported via real_num_tx_queues.
      
      Tony fixes up the kernel documentation for ixgbe and ixgbevf to resolve
      warnings when W=1 is used.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      564737f9
    • D
      Merge branch 'mlxsw-Offload-PRIO-qdisc' · 5d498214
      David S. Miller 提交于
      Jiri Pirko says:
      
      ====================
      mlxsw: Offload PRIO qdisc
      
      Nogah says:
      
      Add an offload support for PRIO qdisc for mlxsw driver.
      PRIO qdisc is being offloaded by using ndo_setup_tc. It has three
      commands, to set or tune the qdisc, to remove it and to get its stats.
      
      Like RED offloading, offloading this qdisc is not enforced on the driver
      and determining its offload state is done in the dump action, when the
      stats are being updated.
      In the driver, offloading of PRIO is supported as root qdisc only. It
      supports only priorities 0-7 (the range that is used by the current static
      mapping of DSCP to skb prio and by 1:1 PCP values mapping) and up to 8
      bands.
      
      Patches 1-2 offload DSCP to priority mapping in the mlxsw_sp driver.
      Patch 3 adds offload support for PRIO qdisc.
      Patches 4-5 Add PRIO offload support in the mlxsw_sp driver.
      
      ---
      v1->v2:
      - Patch 1/5:
       - Rewrite patch msg
      - Patch 3/5:
       - Send all the qstats in the replace command (and not just backlog)
      - Patch 5/5:
       - Align with the changes from 3/5
       - Move backlog to the generic qdisc stats struct
       - Delete extra newline
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5d498214