net: Add generic ndo_select_queue functions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 9 Jul 2018 16:19:54 +0000 (12:19 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Jul 2018 20:15:34 +0000 (13:15 -0700)
commita4ea8a3dacc312c3402c78f6e4843afdda9b43a0
tree56b8cb99e2356716f23895ccda1364c3911bf4c8
parenteadec877ce9ca46a94e9036b5a44e7941d4fc501
net: Add generic ndo_select_queue functions

This patch adds a generic version of the ndo_select_queue functions for
either returning 0 or selecting a queue based on the processor ID. This is
generally meant to just reduce the number of functions we have to change
in the future when we have to deal with ndo_select_queue changes.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/lantiq_etop.c
drivers/net/ethernet/ti/netcp_core.c
drivers/staging/netlogic/xlr_net.c
include/linux/netdevice.h
net/core/dev.c
net/packet/af_packet.c