Skip to contentSkip to conversation

s390: qeth features for 2.6.27

PATCH New [email protected] 1 participant 2 messages Jul 14, 2008

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover s390: qeth features for 2.6.27

Hi Jeff,

here are the qeth features for 2.6.27 (only 1 this time)

shortlog:
Frank Blaschka (1)
qeth: preallocated qeth header for hiper socket

Thanks,
Frank

#1 lore raw

PATCH 1/1 qeth: preallocated qeth header for hiper socket

From: Frank Blaschka <[email protected]>

For hiper socket devices this patch will economize the reallocation of the tx skb data segment by allocating separate memory for the qdio transport information (qeth header).

---

 drivers/s390/net/qeth_core.h      |    5 +--
 drivers/s390/net/qeth_core_main.c |   59 +++++++++++++++++++++++++++++---------
 drivers/s390/net/qeth_l2_main.c   |   50 +++++++++++++++++++++++++-------
 drivers/s390/net/qeth_l3_main.c   |   51 ++++++++++++++++++++++++--------
 4 files changed, 126 insertions(+), 39 deletions(-)
drivers/s390/net/qeth_core.h +3 -2
Index: git_linus/drivers/s390/net/qeth_core.h
===================================================================
@@ -424,6 +424,7 @@
 	int next_element_to_fill;
 	struct sk_buff_head skb_list;
 	struct list_head ctx_list;
+	int is_header[16];
 };
 
 struct qeth_card;
@@ -790,7 +791,7 @@
 
 /* exports for qeth discipline device drivers */
 extern struct qeth_card_list_struct qeth_core_card_list;
-
+extern struct kmem_cache *qeth_core_header_cache;
 extern struct qeth_dbf_info qeth_dbf[QETH_DBF_INFOS];
 
 void qeth_set_allowed_threads(struct qeth_card *, unsigned long , int);
@@ -851,7 +852,7 @@
 int qeth_get_elements_no(struct qeth_card *, void *, struct sk_buff *, int);
 int qeth_do_send_packet_fast(struct qeth_card *, struct qeth_qdio_out_q *,
 			struct sk_buff *, struct qeth_hdr *, int,
-			struct qeth_eddp_context *);
+			struct qeth_eddp_context *, int, int);
 int qeth_do_send_packet(struct qeth_card *, struct qeth_qdio_out_q *,
 		    struct sk_buff *, struct qeth_hdr *,
 		    int, struct qeth_eddp_context *);
drivers/s390/net/qeth_core_main.c +46 -13

145 lines not on this page · raw message

drivers/s390/net/qeth_l2_main.c +39 -11

88 lines not on this page · raw message

drivers/s390/net/qeth_l3_main.c +38 -13

97 lines not on this page · raw message