Thread (12 messages) 12 messages, 2 authors, 2021-11-01

Re: [PATCH V5 net-next 6/6] net: hns3: remove the way to set tx spare buf via module parameter

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-10-30 18:06:34
Also in: linux-s390

On Sat, Oct 30, 2021 at 09:10:01PM +0800, Guangbin Huang wrote:
quoted hunk ↗ jump to hunk
From: Hao Chen <redacted>

The way to set tx spare buf via module parameter is not such
convenient as the way to set it via ethtool.

So,remove the way to set tx spare buf via module parameter.

Signed-off-by: Hao Chen <redacted>
Signed-off-by: Guangbin Huang <redacted>
---
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
index 076631d7727d..032547a2ad2f 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
@@ -53,10 +53,6 @@ static int debug = -1;
 module_param(debug, int, 0);
 MODULE_PARM_DESC(debug, " Network interface message level setting");
 
-static unsigned int tx_spare_buf_size;
-module_param(tx_spare_buf_size, uint, 0400);
-MODULE_PARM_DESC(tx_spare_buf_size, "Size used to allocate tx spare buffer");
-
This might be considered ABI. By removing it, are you breaking users
setup?

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help