commit | 02786475c74c7d0721b0142fac74108112cb456c | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <dave@stgolabs.net> | Tue May 08 09:07:02 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu May 10 15:13:34 2018 -0400 |
tree | b113ce12cd5e7cd33574ef2844fdeb9ff2668d5b | |
parent | 39e8392201dcd02b7d70f2149e678035b20cc26a [diff] |
net: Update generic_xdp_needed static key to modern api No changes in refcount semantics -- key init is false; replace static_key_slow_inc|dec with static_branch_inc|dec static_key_false with static_branch_unlikely Added a '_key' suffix to generic_xdp_needed, for better self documentation. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>