diff options
Diffstat (limited to 'drivers/s390/net/qeth.h')
-rw-r--r-- | drivers/s390/net/qeth.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth.h b/drivers/s390/net/qeth.h index b34eb82edd98..ec18bae05df0 100644 --- a/drivers/s390/net/qeth.h +++ b/drivers/s390/net/qeth.h | |||
@@ -211,6 +211,10 @@ struct qeth_perf_stats { | |||
211 | /* initial values when measuring starts */ | 211 | /* initial values when measuring starts */ |
212 | unsigned long initial_rx_packets; | 212 | unsigned long initial_rx_packets; |
213 | unsigned long initial_tx_packets; | 213 | unsigned long initial_tx_packets; |
214 | /* inbound scatter gather data */ | ||
215 | unsigned int sg_skbs_rx; | ||
216 | unsigned int sg_frags_rx; | ||
217 | unsigned int sg_alloc_page_rx; | ||
214 | }; | 218 | }; |
215 | 219 | ||
216 | /* Routing stuff */ | 220 | /* Routing stuff */ |
@@ -341,6 +345,9 @@ qeth_is_ipa_enabled(struct qeth_ipa_info *ipa, enum qeth_ipa_funcs func) | |||
341 | 345 | ||
342 | #define QETH_IP_HEADER_SIZE 40 | 346 | #define QETH_IP_HEADER_SIZE 40 |
343 | 347 | ||
348 | /* large receive scatter gather copy break */ | ||
349 | #define QETH_RX_SG_CB (PAGE_SIZE >> 1) | ||
350 | |||
344 | struct qeth_hdr_layer3 { | 351 | struct qeth_hdr_layer3 { |
345 | __u8 id; | 352 | __u8 id; |
346 | __u8 flags; | 353 | __u8 flags; |
@@ -771,6 +778,7 @@ struct qeth_card_options { | |||
771 | int layer2; | 778 | int layer2; |
772 | enum qeth_large_send_types large_send; | 779 | enum qeth_large_send_types large_send; |
773 | int performance_stats; | 780 | int performance_stats; |
781 | int rx_sg_cb; | ||
774 | }; | 782 | }; |
775 | 783 | ||
776 | /* | 784 | /* |
@@ -828,6 +836,7 @@ struct qeth_card { | |||
828 | int (*orig_hard_header)(struct sk_buff *,struct net_device *, | 836 | int (*orig_hard_header)(struct sk_buff *,struct net_device *, |
829 | unsigned short,void *,void *,unsigned); | 837 | unsigned short,void *,void *,unsigned); |
830 | struct qeth_osn_info osn_info; | 838 | struct qeth_osn_info osn_info; |
839 | atomic_t force_alloc_skb; | ||
831 | }; | 840 | }; |
832 | 841 | ||
833 | struct qeth_card_list_struct { | 842 | struct qeth_card_list_struct { |