aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/cxgb4.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb4/cxgb4.h')
-rw-r--r--drivers/net/cxgb4/cxgb4.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h
index 3ece9f5069fa..eaa49e4119f1 100644
--- a/drivers/net/cxgb4/cxgb4.h
+++ b/drivers/net/cxgb4/cxgb4.h
@@ -592,7 +592,6 @@ void t4_os_portmod_changed(const struct adapter *adap, int port_id);
592void t4_os_link_changed(struct adapter *adap, int port_id, int link_stat); 592void t4_os_link_changed(struct adapter *adap, int port_id, int link_stat);
593 593
594void *t4_alloc_mem(size_t size); 594void *t4_alloc_mem(size_t size);
595void t4_free_mem(void *addr);
596 595
597void t4_free_sge_resources(struct adapter *adap); 596void t4_free_sge_resources(struct adapter *adap);
598irq_handler_t t4_intr_handler(struct adapter *adap); 597irq_handler_t t4_intr_handler(struct adapter *adap);
@@ -651,7 +650,6 @@ static inline int t4_wr_mbox_ns(struct adapter *adap, int mbox, const void *cmd,
651 650
652void t4_intr_enable(struct adapter *adapter); 651void t4_intr_enable(struct adapter *adapter);
653void t4_intr_disable(struct adapter *adapter); 652void t4_intr_disable(struct adapter *adapter);
654void t4_intr_clear(struct adapter *adapter);
655int t4_slow_intr_handler(struct adapter *adapter); 653int t4_slow_intr_handler(struct adapter *adapter);
656 654
657int t4_wait_dev_ready(struct adapter *adap); 655int t4_wait_dev_ready(struct adapter *adap);
@@ -664,24 +662,16 @@ int t4_check_fw_version(struct adapter *adapter);
664int t4_prep_adapter(struct adapter *adapter); 662int t4_prep_adapter(struct adapter *adapter);
665int t4_port_init(struct adapter *adap, int mbox, int pf, int vf); 663int t4_port_init(struct adapter *adap, int mbox, int pf, int vf);
666void t4_fatal_err(struct adapter *adapter); 664void t4_fatal_err(struct adapter *adapter);
667int t4_set_trace_filter(struct adapter *adapter, const struct trace_params *tp,
668 int filter_index, int enable);
669void t4_get_trace_filter(struct adapter *adapter, struct trace_params *tp,
670 int filter_index, int *enabled);
671int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, 665int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid,
672 int start, int n, const u16 *rspq, unsigned int nrspq); 666 int start, int n, const u16 *rspq, unsigned int nrspq);
673int t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode, 667int t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode,
674 unsigned int flags); 668 unsigned int flags);
675int t4_read_rss(struct adapter *adapter, u16 *entries);
676int t4_mc_read(struct adapter *adap, u32 addr, __be32 *data, u64 *parity); 669int t4_mc_read(struct adapter *adap, u32 addr, __be32 *data, u64 *parity);
677int t4_edc_read(struct adapter *adap, int idx, u32 addr, __be32 *data, 670int t4_edc_read(struct adapter *adap, int idx, u32 addr, __be32 *data,
678 u64 *parity); 671 u64 *parity);
679 672
680void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p); 673void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p);
681void t4_get_lb_stats(struct adapter *adap, int idx, struct lb_port_stats *p);
682
683void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log); 674void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log);
684void t4_tp_get_err_stats(struct adapter *adap, struct tp_err_stats *st);
685void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4, 675void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4,
686 struct tp_tcp_stats *v6); 676 struct tp_tcp_stats *v6);
687void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, 677void t4_load_mtus(struct adapter *adap, const unsigned short *mtus,
@@ -711,8 +701,6 @@ int t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf,
711int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, 701int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port,
712 unsigned int pf, unsigned int vf, unsigned int nmac, u8 *mac, 702 unsigned int pf, unsigned int vf, unsigned int nmac, u8 *mac,
713 unsigned int *rss_size); 703 unsigned int *rss_size);
714int t4_free_vi(struct adapter *adap, unsigned int mbox, unsigned int pf,
715 unsigned int vf, unsigned int viid);
716int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, 704int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid,
717 int mtu, int promisc, int all_multi, int bcast, int vlanex, 705 int mtu, int promisc, int all_multi, int bcast, int vlanex,
718 bool sleep_ok); 706 bool sleep_ok);
@@ -731,9 +719,6 @@ int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr,
731 unsigned int mmd, unsigned int reg, u16 *valp); 719 unsigned int mmd, unsigned int reg, u16 *valp);
732int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, 720int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr,
733 unsigned int mmd, unsigned int reg, u16 val); 721 unsigned int mmd, unsigned int reg, u16 val);
734int t4_iq_start_stop(struct adapter *adap, unsigned int mbox, bool start,
735 unsigned int pf, unsigned int vf, unsigned int iqid,
736 unsigned int fl0id, unsigned int fl1id);
737int t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, 722int t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf,
738 unsigned int vf, unsigned int iqtype, unsigned int iqid, 723 unsigned int vf, unsigned int iqtype, unsigned int iqid,
739 unsigned int fl0id, unsigned int fl1id); 724 unsigned int fl0id, unsigned int fl1id);