]> git.karo-electronics.de Git - linux-beck.git/commit
Merge branch 'mlx5e-next'
authorDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 05:00:59 +0000 (22:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 05:00:59 +0000 (22:00 -0700)
commitc71b5ad06e7306f73815cd64a5fe039a67126c99
tree5138363ece7324da94ba2a9827a51fff73b4c915
parentadc4cc99b765d49b0613365a89212cfc75c06c22
parentefea389d3cc6427a9a94e92b2d7bf4c862f2cfcf
Merge branch 'mlx5e-next'

Amir Vadai says:

====================
net/mlx5e: Driver updates 04-Aug-2015

This patchset introduces two features to the ConnectX-4 driver: Patch 8/8
("Support physical port counters") exposes some hardware counters through
ethtool. Rest of the patches are preparation and usage of what we call
light-weight netdev open/close. Some flows that used to be in the ndo_open/stop
are moved to the PCI probe/remove flows - i.e. we will make the netdev
open/close operations more "light-weight".

The benefits of this change are:
1) Reduce the execution time of the stop/open operations.
2) Avoid saving SW shadows of resource configurations that must
   persist through stop/open operations (e.g flow table steering
   rules), and avoid deleting/applying them from/to the device upon
   netdev stop/open.
3) Avoid synchronizing threads that access those resources with the
   netdev stop/open threads.

Instead of create/destroy the resource during netdev open/stop, This patchset
changes the behavior such that upon netdev stop, traffic is redirected to a
"Drop RQ" (a RQ that silently drops, at the NIC HW level all incoming traffic).
After redirecting the traffic, RX/TX software resources could be destroyed.
During netdev open, the RX/TX rings are created and traffic is redirected to
the RX rings.

Patchset was applied and tested over commit ba7591d ("ebpf: add skb->hash to
offset map for usage in {cls, act}_bpf or filters")
====================

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