1. 16 Jan, 2018 20 commits
  2. 15 Jan, 2018 17 commits
  3. 14 Jan, 2018 3 commits
    • David S. Miller's avatar
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 564737f9
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      564737f9
    • David S. Miller's avatar
      Merge branch 'mlxsw-Offload-PRIO-qdisc' · 5d498214
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      5d498214
    • Nogah Frankel's avatar
      mlxsw: spectrum: qdiscs: Support stats for PRIO qdisc · 93d8a4c1
      Nogah Frankel authored
      Support basic stats for PRIO qdisc, which includes tx packets and bytes
      count, drops count and backlog size. The rest of the stats are irrelevant
      for this qdisc offload.
      Since backlog is not only incremental but reflecting momentary value, in
      case of a qdisc that stops being offloaded but is not destroyed, backlog
      value needs to be updated about the un-offloading.
      For that reason an unoffload function is being added to the ops struct.
      Signed-off-by: default avatarNogah Frankel <nogahf@mellanox.com>
      Reviewed-by: default avatarYuval Mintz <yuvalm@mellanox.com>
      Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      93d8a4c1