From: Igor Romanov Date: Thu, 7 Feb 2019 16:29:31 +0000 (+0000) Subject: net/sfc/base: remove deprecated macros that get queue sizes X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8fcf28a295757c7a15d39f6cf2ed87776a0b6b72;p=dpdk.git net/sfc/base: remove deprecated macros that get queue sizes The macros are deprecated and are not used anymore, so they can be deleted. Signed-off-by: Igor Romanov Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h index cda8d1d901..f7d0a4f67f 100644 --- a/drivers/net/sfc/base/efx.h +++ b/drivers/net/sfc/base/efx.h @@ -1981,18 +1981,6 @@ extern void efx_ev_fini( __in efx_nic_t *enp); -/* - * This macro is deprecated and will be removed. - * Use the function efx_evq_size() instead. - */ -#define EFX_EVQ_SIZE(_nevs) ((_nevs) * sizeof (efx_qword_t)) - -/* - * This macro is deprecated and will be removed. - * Use the function efx_evq_nbufs() instead. - */ -#define EFX_EVQ_NBUFS(_nevs) (EFX_EVQ_SIZE(_nevs) / EFX_BUF_SIZE) - extern __checkReturn size_t efx_evq_size( __in const efx_nic_t *enp, @@ -2485,18 +2473,6 @@ efx_pseudo_hdr_pkt_length_get( __in uint8_t *buffer, __out uint16_t *pkt_lengthp); -/* - * This macro is deprecated and will be removed. - * Use the function efx_rxq_size() instead. - */ -#define EFX_RXQ_SIZE(_ndescs) ((_ndescs) * sizeof (efx_qword_t)) - -/* - * This macro is deprecated and will be removed. - * Use the function efx_rxq_nbufs() instead. - */ -#define EFX_RXQ_NBUFS(_ndescs) (EFX_RXQ_SIZE(_ndescs) / EFX_BUF_SIZE) - extern __checkReturn size_t efx_rxq_size( __in const efx_nic_t *enp, @@ -2667,18 +2643,6 @@ extern void efx_tx_fini( __in efx_nic_t *enp); -/* - * This macro is deprecated and will be removed. - * Use the function efx_txq_size() instead. - */ -#define EFX_TXQ_SIZE(_ndescs) ((_ndescs) * sizeof (efx_qword_t)) - -/* - * This macro is deprecated and will be removed. - * Use the function efx_txq_nbufs() instead. - */ -#define EFX_TXQ_NBUFS(_ndescs) (EFX_TXQ_SIZE(_ndescs) / EFX_BUF_SIZE) - extern __checkReturn size_t efx_txq_size( __in const efx_nic_t *enp,