Lines Matching defs:dev

62 void mlx4_init_mac_table(struct mlx4_dev *dev, struct mlx4_mac_table *table)  in mlx4_init_mac_table()
76 void mlx4_init_vlan_table(struct mlx4_dev *dev, struct mlx4_vlan_table *table) in mlx4_init_vlan_table()
90 void mlx4_init_roce_gid_table(struct mlx4_dev *dev, in mlx4_init_roce_gid_table()
100 static int validate_index(struct mlx4_dev *dev, in validate_index()
112 static int find_index(struct mlx4_dev *dev, in find_index()
127 static int mlx4_set_port_mac_table(struct mlx4_dev *dev, u8 port, in mlx4_set_port_mac_table()
150 int mlx4_find_cached_mac(struct mlx4_dev *dev, u8 port, u64 mac, int *idx) in mlx4_find_cached_mac()
170 static bool mlx4_need_mf_bond(struct mlx4_dev *dev) in mlx4_need_mf_bond()
182 int __mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac) in __mlx4_register_mac()
342 int mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac) in mlx4_register_mac()
372 int mlx4_get_base_qpn(struct mlx4_dev *dev, u8 port) in mlx4_get_base_qpn()
379 void __mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac) in __mlx4_unregister_mac()
450 void mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac) in mlx4_unregister_mac()
474 int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac) in __mlx4_replace_mac()
536 static int mlx4_set_port_vlan_table(struct mlx4_dev *dev, u8 port, in mlx4_set_port_vlan_table()
558 int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx) in mlx4_find_cached_vlan()
577 int __mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, in __mlx4_register_vlan()
740 int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index) in mlx4_register_vlan()
762 void __mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan) in __mlx4_unregister_vlan()
826 void mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan) in mlx4_unregister_vlan()
842 int mlx4_bond_mac_table(struct mlx4_dev *dev) in mlx4_bond_mac_table()
896 int mlx4_unbond_mac_table(struct mlx4_dev *dev) in mlx4_unbond_mac_table()
949 int mlx4_bond_vlan_table(struct mlx4_dev *dev) in mlx4_bond_vlan_table()
1003 int mlx4_unbond_vlan_table(struct mlx4_dev *dev) in mlx4_unbond_vlan_table()
1056 int mlx4_get_port_ib_caps(struct mlx4_dev *dev, u8 port, __be32 *caps) in mlx4_get_port_ib_caps()
1092 int mlx4_get_slave_num_gids(struct mlx4_dev *dev, int slave, int port) in mlx4_get_slave_num_gids()
1128 int mlx4_get_base_gid_ix(struct mlx4_dev *dev, int slave, int port) in mlx4_get_base_gid_ix()
1169 static int mlx4_reset_roce_port_gids(struct mlx4_dev *dev, int slave, in mlx4_reset_roce_port_gids()
1204 void mlx4_reset_roce_gids(struct mlx4_dev *dev, int slave) in mlx4_reset_roce_gids()
1248 mlx4_en_set_port_mtu(struct mlx4_dev *dev, int slave, int port, in mlx4_en_set_port_mtu()
1280 mlx4_en_set_port_user_mtu(struct mlx4_dev *dev, int slave, int port, in mlx4_en_set_port_user_mtu()
1312 mlx4_en_set_port_global_pause(struct mlx4_dev *dev, int slave, in mlx4_en_set_port_global_pause()
1332 static int mlx4_common_set_port(struct mlx4_dev *dev, int slave, u32 in_mod, in mlx4_common_set_port()
1540 int mlx4_SET_PORT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SET_PORT_wrapper()
1568 int mlx4_SET_PORT(struct mlx4_dev *dev, u8 port, int pkey_tbl_sz) in mlx4_SET_PORT()
1608 int mlx4_SET_PORT_general(struct mlx4_dev *dev, u8 port, int mtu, in mlx4_SET_PORT_general()
1642 int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, in mlx4_SET_PORT_qpn_calc()
1680 int mlx4_SET_PORT_user_mtu(struct mlx4_dev *dev, u8 port, u16 user_mtu) in mlx4_SET_PORT_user_mtu()
1704 int mlx4_SET_PORT_user_mac(struct mlx4_dev *dev, u8 port, u8 *user_mac) in mlx4_SET_PORT_user_mac()
1728 int mlx4_SET_PORT_fcs_check(struct mlx4_dev *dev, u8 port, u8 ignore_fcs_value) in mlx4_SET_PORT_fcs_check()
1769 int mlx4_SET_PORT_VXLAN(struct mlx4_dev *dev, u8 port, u8 steering, int enable) in mlx4_SET_PORT_VXLAN()
1797 int mlx4_SET_PORT_BEACON(struct mlx4_dev *dev, u8 port, u16 time) in mlx4_SET_PORT_BEACON()
1817 int mlx4_SET_MCAST_FLTR_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SET_MCAST_FLTR_wrapper()
1828 int mlx4_SET_MCAST_FLTR(struct mlx4_dev *dev, u8 port, in mlx4_SET_MCAST_FLTR()
1837 int mlx4_SET_VLAN_FLTR_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SET_VLAN_FLTR_wrapper()
1848 int mlx4_DUMP_ETH_STATS_wrapper(struct mlx4_dev *dev, int slave, in mlx4_DUMP_ETH_STATS_wrapper()
1857 int mlx4_get_slave_from_roce_gid(struct mlx4_dev *dev, int port, u8 *gid, in mlx4_get_slave_from_roce_gid()
1956 int mlx4_get_roce_gid_from_slave(struct mlx4_dev *dev, int port, int slave_id, in mlx4_get_roce_gid_from_slave()
2030 static int mlx4_get_module_id(struct mlx4_dev *dev, u8 port, u8 *module_id) in mlx4_get_module_id()
2125 int mlx4_get_module_info(struct mlx4_dev *dev, u8 port, in mlx4_get_module_info()
2220 int mlx4_max_tc(struct mlx4_dev *dev) in mlx4_max_tc()