Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tp.h
Go to the documentation of this file.
1 /* $Date: 2005/03/07 23:59:05 $ $RCSfile: tp.h,v $ $Revision: 1.20 $ */
2 #ifndef CHELSIO_TP_H
3 #define CHELSIO_TP_H
4 
5 #include "common.h"
6 
7 #define TP_MAX_RX_COALESCING_SIZE 16224U
8 
10 
11  /* IP */
34 
36 
37  /* TCP */
54 };
55 
56 struct petp;
57 struct tp_params;
58 
59 struct petp *t1_tp_create(adapter_t *adapter, struct tp_params *p);
60 void t1_tp_destroy(struct petp *tp);
61 
62 void t1_tp_intr_disable(struct petp *tp);
63 void t1_tp_intr_enable(struct petp *tp);
64 void t1_tp_intr_clear(struct petp *tp);
65 int t1_tp_intr_handler(struct petp *tp);
66 
68 void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable);
69 void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable);
70 int t1_tp_set_coalescing_size(struct petp *tp, unsigned int size);
71 int t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk);
72 #endif