net/qede/base: refactor code of SP queues
authorRasesh Mody <rasesh.mody@cavium.com>
Wed, 29 Mar 2017 20:36:26 +0000 (13:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:51 +0000 (19:02 +0200)
commitd411a2b5e4274492f15df1da96905172bcd84434
treed42449cd87e681af0ea6cf8332a909e77cd95ca8
parentea7c1c6f3731513cae8163ac165c7e56853ac1f7
net/qede/base: refactor code of SP queues

Maintain slowpath event queue and consumer queue within HW function
structure, update corresponding alloc and free APIs accordingly.
Cleanup unused code under CONFIG_ECORE_LL2 ifdef.

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