s390: qeth network driver.
Subsystems (3)
PATCH 1/1 s390: qeth network driver.
[PATCH] s390: qeth network driver.
From: Frank Pavlic <[email protected]>
From: Thomas Spatzier <[email protected]>
qeth network driver changes:
- Use correct request length in arp/snmp requests.
- Simplify handling of empty vs. primed buffers.
Signed-off-by Martin Schwidefsky <[email protected]>
diffstat:
drivers/s390/net/qeth.h | 9 - drivers/s390/net/qeth_main.c | 209 +++++++++++++++++++++++++------------------ 2 files changed, 128 insertions(+), 90 deletions(-)
drivers/s390/net/qeth.h +2 -7
@@ -23,7 +23,7 @@#include "qeth_mpc.h" -#define VERSION_QETH_H "$Revision: 1.109 $" +#define VERSION_QETH_H "$Revision: 1.110 $"#ifdef CONFIG_QETH_IPV6 #define QETH_VERSION_IPV6 ":IPv6"
@@ -380,11 +380,6 @@* outbound: filled by driver; owned by hardware in order to be sent */ QETH_QDIO_BUF_PRIMED, -/* -* inbound only: an error condition has been detected for a buffer -* the buffer will be discarded (not read out) -*/ - QETH_QDIO_BUF_ERROR, };enum qeth_qdio_info_states {
@@ -423,7 +418,7 @@struct qeth_qdio_out_buffer {struct qdio_buffer *buffer; -volatile enum qeth_qdio_buffer_states state; +atomic_t state;volatile int next_element_to_fill;struct sk_buff_head skb_list; };
drivers/s390/net/qeth_main.c +126 -83
394 lines not on this page · raw message