net/qede/base: use function pointers for spq async callback
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:51:24 +0000 (18:51 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commit7f47458874454a3822e6b2dabd8dc15ad88d5a82
tree47ad9cc111ac3f01b6dfd8b8218e27de45f08fc7
parent6844eac8a0d80efe966d909a71ea0d0a549ee676
net/qede/base: use function pointers for spq async callback

Change spq async callback to use function pointers instead of switch case
on protocolid.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_spq.c
drivers/net/qede/base/ecore_spq.h
drivers/net/qede/base/ecore_sriov.c
drivers/net/qede/base/ecore_sriov.h