net/sfc/base: move a macro to Siena implementation header
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Thu, 7 Feb 2019 16:29:20 +0000 (16:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 10:35:41 +0000 (11:35 +0100)
commit5b5c345c1e6931005b1603eb6c0ebfa1c8af1730
tree9d32f66774fde63ea75c26c48a0a5805c403e29b
parent802354e5a6acb222ccc194891abfce6fedb5e81a
net/sfc/base: move a macro to Siena implementation header

The macro EFX_RXQ_DC_NDESCS() is used only by Siena implementation.
Since the macro is not used by any drivers, it does not require
exposed libefx interface.
Make the macro Siena-specific.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/siena_impl.h