Patchwork [dpdk-dev,25/38] net/sfc/base: remove deprecated min/max desc defines

login
register
mail settings
Submitter Andrew Rybchenko
Date Feb. 7, 2019, 4:29 p.m.
Message ID <1549556983-10896-26-git-send-email-arybchenko@solarflare.com>
Download mbox | patch
Permalink /patch/720865/
State New
Headers show

Comments

Andrew Rybchenko - Feb. 7, 2019, 4:29 p.m.
From: Igor Romanov <igor.romanov@oktetlabs.ru>

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 <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
---
 drivers/net/sfc/base/efx.h | 20 --------------------
 1 file changed, 20 deletions(-)

Patch

diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h
index 43de0a8a6..cda8d1d90 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.