diff options
Diffstat (limited to 'drivers/net/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/cxgb4/cxgb4.h | 15 |
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); | |||
592 | void t4_os_link_changed(struct adapter *adap, int port_id, int link_stat); | 592 | void t4_os_link_changed(struct adapter *adap, int port_id, int link_stat); |
593 | 593 | ||
594 | void *t4_alloc_mem(size_t size); | 594 | void *t4_alloc_mem(size_t size); |
595 | void t4_free_mem(void *addr); | ||
596 | 595 | ||
597 | void t4_free_sge_resources(struct adapter *adap); | 596 | void t4_free_sge_resources(struct adapter *adap); |
598 | irq_handler_t t4_intr_handler(struct adapter *adap); | 597 | irq_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 | ||
652 | void t4_intr_enable(struct adapter *adapter); | 651 | void t4_intr_enable(struct adapter *adapter); |
653 | void t4_intr_disable(struct adapter *adapter); | 652 | void t4_intr_disable(struct adapter *adapter); |
654 | void t4_intr_clear(struct adapter *adapter); | ||
655 | int t4_slow_intr_handler(struct adapter *adapter); | 653 | int t4_slow_intr_handler(struct adapter *adapter); |
656 | 654 | ||
657 | int t4_wait_dev_ready(struct adapter *adap); | 655 | int t4_wait_dev_ready(struct adapter *adap); |
@@ -664,24 +662,16 @@ int t4_check_fw_version(struct adapter *adapter); | |||
664 | int t4_prep_adapter(struct adapter *adapter); | 662 | int t4_prep_adapter(struct adapter *adapter); |
665 | int t4_port_init(struct adapter *adap, int mbox, int pf, int vf); | 663 | int t4_port_init(struct adapter *adap, int mbox, int pf, int vf); |
666 | void t4_fatal_err(struct adapter *adapter); | 664 | void t4_fatal_err(struct adapter *adapter); |
667 | int t4_set_trace_filter(struct adapter *adapter, const struct trace_params *tp, | ||
668 | int filter_index, int enable); | ||
669 | void t4_get_trace_filter(struct adapter *adapter, struct trace_params *tp, | ||
670 | int filter_index, int *enabled); | ||
671 | int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, | 665 | int 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); |
673 | int t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode, | 667 | int t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode, |
674 | unsigned int flags); | 668 | unsigned int flags); |
675 | int t4_read_rss(struct adapter *adapter, u16 *entries); | ||
676 | int t4_mc_read(struct adapter *adap, u32 addr, __be32 *data, u64 *parity); | 669 | int t4_mc_read(struct adapter *adap, u32 addr, __be32 *data, u64 *parity); |
677 | int t4_edc_read(struct adapter *adap, int idx, u32 addr, __be32 *data, | 670 | int t4_edc_read(struct adapter *adap, int idx, u32 addr, __be32 *data, |
678 | u64 *parity); | 671 | u64 *parity); |
679 | 672 | ||
680 | void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p); | 673 | void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p); |
681 | void t4_get_lb_stats(struct adapter *adap, int idx, struct lb_port_stats *p); | ||
682 | |||
683 | void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log); | 674 | void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log); |
684 | void t4_tp_get_err_stats(struct adapter *adap, struct tp_err_stats *st); | ||
685 | void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4, | 675 | void 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); |
687 | void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, | 677 | void 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, | |||
711 | int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, | 701 | int 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); |
714 | int t4_free_vi(struct adapter *adap, unsigned int mbox, unsigned int pf, | ||
715 | unsigned int vf, unsigned int viid); | ||
716 | int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, | 704 | int 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); |
732 | int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, | 720 | int 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); |
734 | int 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); | ||
737 | int t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, | 722 | int 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); |