From 2baa200ec1b100ada0d6f33631034b68a684936e Mon Sep 17 00:00:00 2001 From: Igor Romanov Date: Thu, 7 Feb 2019 16:29:30 +0000 Subject: [PATCH] net/sfc/base: remove deprecated min/max desc defines Symbols for maximum and minimum number of Tx, Rx and event descriptors are deprecated. They are not used anymore, so they can be deleted. Signed-off-by: Igor Romanov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h index 43de0a8a6c..cda8d1d901 100644 --- a/drivers/net/sfc/base/efx.h +++ b/drivers/net/sfc/base/efx.h @@ -1981,13 +1981,6 @@ extern void efx_ev_fini( __in efx_nic_t *enp); -/* - * These symbols are deprecated and will be removed. - * Use the fields from efx_nic_cfg_t instead. - */ -#define EFX_EVQ_MAXNEVS 32768 -#define EFX_EVQ_MINNEVS 512 - /* * This macro is deprecated and will be removed. * Use the function efx_evq_size() instead. @@ -2492,13 +2485,6 @@ efx_pseudo_hdr_pkt_length_get( __in uint8_t *buffer, __out uint16_t *pkt_lengthp); -/* - * These symbols are deprecated and will be removed. - * Use the fields from efx_nic_cfg_t instead. - */ -#define EFX_RXQ_MAXNDESCS 4096 -#define EFX_RXQ_MINNDESCS 512 - /* * This macro is deprecated and will be removed. * Use the function efx_rxq_size() instead. @@ -2681,12 +2667,6 @@ extern void efx_tx_fini( __in efx_nic_t *enp); -/* - * This symbol is deprecated and will be removed. - * Use the field from efx_nic_cfg_t instead. - */ -#define EFX_TXQ_MINNDESCS 512 - /* * This macro is deprecated and will be removed. * Use the function efx_txq_size() instead. -- 2.20.1