net/qede/base: add new chain API
authorRasesh Mody <rasesh.mody@cavium.com>
Mon, 9 Apr 2018 04:48:02 +0000 (21:48 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commitfe7572b6b6e31f614bb3365bcfc970ec00f03ae7
treef2980ffe548574db6bcf045a26fde6012b561666
parent1fc24374a7e860b0a15d94ab7a8dc55ae4849ba2
net/qede/base: add new chain API

Add new API ecore_chain_set_cons() and fix page index setting in
ecore_chain_set_prod(). The new API is for future use.

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