.. | .. |
---|
502 | 502 | struct ipoib_path *__path_find(struct net_device *dev, void *gid); |
---|
503 | 503 | void ipoib_mark_paths_invalid(struct net_device *dev); |
---|
504 | 504 | void ipoib_flush_paths(struct net_device *dev); |
---|
505 | | -struct ipoib_dev_priv *ipoib_intf_alloc(struct ib_device *hca, u8 port, |
---|
506 | | - const char *format); |
---|
| 505 | +struct net_device *ipoib_intf_alloc(struct ib_device *hca, u8 port, |
---|
| 506 | + const char *format); |
---|
| 507 | +int ipoib_intf_init(struct ib_device *hca, u8 port, const char *format, |
---|
| 508 | + struct net_device *dev); |
---|
507 | 509 | void ipoib_ib_tx_timer_func(struct timer_list *t); |
---|
508 | 510 | void ipoib_ib_dev_flush_light(struct work_struct *work); |
---|
509 | 511 | void ipoib_ib_dev_flush_normal(struct work_struct *work); |
---|
.. | .. |
---|
525 | 527 | |
---|
526 | 528 | void ipoib_mcast_restart_task(struct work_struct *work); |
---|
527 | 529 | void ipoib_mcast_start_thread(struct net_device *dev); |
---|
528 | | -int ipoib_mcast_stop_thread(struct net_device *dev); |
---|
| 530 | +void ipoib_mcast_stop_thread(struct net_device *dev); |
---|
529 | 531 | |
---|
530 | 532 | void ipoib_mcast_dev_down(struct net_device *dev); |
---|
531 | 533 | void ipoib_mcast_dev_flush(struct net_device *dev); |
---|
.. | .. |
---|
533 | 535 | int ipoib_dma_map_tx(struct ib_device *ca, struct ipoib_tx_buf *tx_req); |
---|
534 | 536 | void ipoib_dma_unmap_tx(struct ipoib_dev_priv *priv, |
---|
535 | 537 | struct ipoib_tx_buf *tx_req); |
---|
| 538 | + |
---|
| 539 | +struct rtnl_link_ops *ipoib_get_link_ops(void); |
---|
536 | 540 | |
---|
537 | 541 | static inline void ipoib_build_sge(struct ipoib_dev_priv *priv, |
---|
538 | 542 | struct ipoib_tx_buf *tx_req) |
---|
.. | .. |
---|
780 | 784 | #ifdef CONFIG_INFINIBAND_IPOIB_DEBUG |
---|
781 | 785 | void ipoib_create_debug_files(struct net_device *dev); |
---|
782 | 786 | void ipoib_delete_debug_files(struct net_device *dev); |
---|
783 | | -int ipoib_register_debugfs(void); |
---|
| 787 | +void ipoib_register_debugfs(void); |
---|
784 | 788 | void ipoib_unregister_debugfs(void); |
---|
785 | 789 | #else |
---|
786 | 790 | static inline void ipoib_create_debug_files(struct net_device *dev) { } |
---|
787 | 791 | static inline void ipoib_delete_debug_files(struct net_device *dev) { } |
---|
788 | | -static inline int ipoib_register_debugfs(void) { return 0; } |
---|
| 792 | +static inline void ipoib_register_debugfs(void) { } |
---|
789 | 793 | static inline void ipoib_unregister_debugfs(void) { } |
---|
790 | 794 | #endif |
---|
791 | 795 | |
---|
.. | .. |
---|
837 | 841 | #endif /* CONFIG_INFINIBAND_IPOIB_DEBUG_DATA */ |
---|
838 | 842 | |
---|
839 | 843 | #define IPOIB_QPN(ha) (be32_to_cpup((__be32 *) ha) & 0xffffff) |
---|
840 | | - |
---|
841 | | -extern const char ipoib_driver_version[]; |
---|
842 | 844 | |
---|
843 | 845 | #endif /* _IPOIB_H */ |
---|