]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/cxgb3/common.h
cxgb3 - use immediate data for offload Tx
[linux-2.6-omap-h63xx.git] / drivers / net / cxgb3 / common.h
index 16378004507ad65c253b0b6df22c4c600897e00f..d6c77607a114b46bb82c8f9eda5b0fbd167223c6 100644 (file)
@@ -104,7 +104,7 @@ enum {
        PROTO_SRAM_LINES = 128, /* size of TP sram */
 };
 
-#define MAX_RX_COALESCING_LEN 16224U
+#define MAX_RX_COALESCING_LEN 12288U
 
 enum {
        PAUSE_RX = 1 << 0,
@@ -507,6 +507,7 @@ struct cmac {
        unsigned int tx_xcnt;
        u64 tx_mcnt;
        unsigned int rx_xcnt;
+       unsigned int rx_ocnt;
        u64 rx_mcnt;
        unsigned int toggle_cnt;
        unsigned int txen;
@@ -679,7 +680,8 @@ const struct adapter_info *t3_get_adapter_info(unsigned int board_id);
 int t3_seeprom_read(struct adapter *adapter, u32 addr, u32 *data);
 int t3_seeprom_write(struct adapter *adapter, u32 addr, u32 data);
 int t3_seeprom_wp(struct adapter *adapter, int enable);
-int t3_check_tpsram_version(struct adapter *adapter);
+int t3_get_tp_version(struct adapter *adapter, u32 *vers);
+int t3_check_tpsram_version(struct adapter *adapter, int *must_load);
 int t3_check_tpsram(struct adapter *adapter, u8 *tp_ram, unsigned int size);
 int t3_set_proto_sram(struct adapter *adap, u8 *data);
 int t3_read_flash(struct adapter *adapter, unsigned int addr,