]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlx5-bulk-flow-stats-sriov-tc-offloads'
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2016 20:34:30 +0000 (13:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2016 20:34:30 +0000 (13:34 -0700)
commit2cd1ef34f163e33c6eb12c40f968674e136cb0ce
tree8f0ab08a8153e692e203749a211578f2f3e5a7d8
parentaa98f63a5ac807b5b71ee2aadff7bece3fc518e1
parent7d47d7bb6eb2ea67bc64af9b5c3e62d9aa33b4b0
Merge branch 'mlx5-bulk-flow-stats-sriov-tc-offloads'

Saeed Mahameed says:

====================
Mellanox 100G mlx5 Bulk flow statistics and SRIOV TC offloads

This series from Amir and Or deals with two enhancements for the mlx5 TC offloads.

The 1st two patches add bulk reading of flow counters. Few bulk counter queries are
used instead of issuing thousands firmware commands per second to get statistics of all
flows set to HW.

The next patches add TC based SRIOV offloading to mlx5, as a follow up for the e-switch
offloads mode and the VF representors. When the e-switch is set to the (new) "offloads"
mode, we can now offload TC/flower drop and forward rules, the forward action we offload
is TC mirred/redirect.

The above is done by the VF representor netdevices exporting the setup_tc ndo where from
there we're re-using and enhancing the existing mlx5 TC offloads sub-module which now
works for both the NIC and the SRIOV cases.

The series is applied on top 4f755ff37ffc ('mlxsw: core: Trace EMAD messages')
and it has no merge issues with the on-going net submission ('mlx5 tx timeout watchdog fixes')

V2:
    - Fixed compilation warning.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>