net: Revoke export for __skb_tx_hash, update it to just be static skb_tx_hash
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 27 Apr 2018 18:06:53 +0000 (14:06 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Apr 2018 02:01:33 +0000 (22:01 -0400)
commit1b837d489e06a5289753ddbee99cfbc26d251d6d
tree79b017d20c0cc9ad084b4834ae026288b7dd9e1e
parentb86629ebd5447c1e263d89be765ba6fd747c5e4d
net: Revoke export for __skb_tx_hash, update it to just be static skb_tx_hash

I am dropping the export of __skb_tx_hash as after my patches nobody is
using it outside of the net/core/dev.c file. In addition I am renaming and
repurposing it to just be a static declaration of skb_tx_hash since that
was the only user for it at this point. By doing this the compiler can
inline it into __netdev_pick_tx as that will improve performance.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c