s390: qeth bug fixes for net
Subsystems (4)
cover s390: qeth bug fixes for net
Hi Dave,
here are two small qeth bug fixes for net.
shortlog:
Ursula Braun (1)
qeth: allow change of blkt default values
Stefan Raspl (1)
qeth: Use blkt defaults for OSA Express 4
Thanks,
Frank
PATCH 1/2 qeth: allow change of blkt default values
From: Ursula Braun <[email protected]>
There exist qeth sysfs blkt attributes to change the default blkt values. But blkt changes are reset during online setting due to a 2nd invocation of qeth_determine_capabilites(). This patch makes sure blkt default values are configured during 1st run of qeth_determine_capabilities() only. Thus blkt changes are kept during online setting.
---
drivers/s390/net/qeth_core_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/s390/net/qeth_core_main.c +2 -1
@@ -4540,7 +4540,8 @@ static void qeth_determine_capabilities( goto out_offline; }qeth_configure_unitaddr (card, prcd); -qeth_configure_blkt_default (card, prcd); +if (ddev_offline) +qeth_configure_blkt_default (card, prcd);kfree (prcd); rc =qdio_get_ssqd_desc (ddev, &card->ssqd);
PATCH 2/2 qeth: Use blkt defaults for OSA Express 4
In reply to [email protected]From: Stefan Raspl <[email protected]>
The previous blkt defaults for OSA Express 4 cards produced inadequate performance for streaming workloads. The present patch will apply a set of more appropriate defaults.
---
drivers/s390/net/qeth_core_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/s390/net/qeth_core_main.c +2 -1
@@ -1672,7 +1672,8 @@ static void qeth_configure_blkt_default( {QETH_DBF_TEXT (SETUP ,2 ,"cfgblkt" ); -if (prcd[74 ] ==0xF0 && prcd[75 ] ==0xF0 && prcd[76 ] ==0xF5 ) { +if (prcd[74 ] ==0xF0 && prcd[75 ] ==0xF0 && + (prcd[76 ] ==0xF5 || prcd[76 ] ==0xF6 )) { card->info.blkt.time_total =250 ; card->info.blkt.inter_packet =5 ; card->info.blkt.inter_packet_jumbo =15 ;
David Miller
maintainerFrom: [email protected]
Date: Mon, 23 Apr 2012 09:21:40 +0200
Quoted 9 lines
here are two small qeth bug fixes for net.
shortlog:
Ursula Braun (1)
qeth: allow change of blkt default valuesStefan Raspl (1)
qeth: Use blkt defaults for OSA Express 4
Both applied, thanks Frank.