Lines Matching refs:port

840 			__be32	port;
848 u8 port;
861 u8 port;
879 u8 port;
922 #define mlx4_foreach_port(port, dev, type) \
923 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
924 if ((type) == (dev)->caps.port_mask[(port)])
926 #define mlx4_foreach_non_ib_transport_port(port, dev) \
927 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
928 if (((dev)->caps.port_mask[port] != MLX4_PORT_TYPE_IB))
930 #define mlx4_foreach_ib_transport_port(port, dev) \
931 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
932 if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
1049 int mlx4_INIT_PORT(struct mlx4_dev *dev, int port);
1050 int mlx4_CLOSE_PORT(struct mlx4_dev *dev, int port);
1057 u8 port, int block_mcast_loopback,
1157 u8 port;
1169 u8 port;
1243 int mlx4_flow_steer_promisc_add(struct mlx4_dev *dev, u8 port, u32 qpn,
1245 int mlx4_flow_steer_promisc_remove(struct mlx4_dev *dev, u8 port,
1247 int mlx4_multicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port);
1248 int mlx4_multicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port);
1249 int mlx4_unicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port);
1250 int mlx4_unicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port);
1252 int mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac);
1253 void mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac);
1254 int mlx4_get_base_qpn(struct mlx4_dev *dev, u8 port);
1255 int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac);
1257 int mlx4_SET_PORT_general(struct mlx4_dev *dev, u8 port, int mtu,
1259 int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn,
1261 int mlx4_SET_PORT_PRIO2TC(struct mlx4_dev *dev, u8 port, u8 *prio2tc);
1262 int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw,
1264 int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx);
1265 int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index);
1266 void mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan);
1285 int mlx4_wol_read(struct mlx4_dev *dev, u64 *config, int port);
1286 int mlx4_wol_write(struct mlx4_dev *dev, u64 config, int port);
1288 int mlx4_counter_alloc(struct mlx4_dev *dev, u8 port, u32 *idx);
1289 void mlx4_counter_free(struct mlx4_dev *dev, u8 port, u32 idx);
1300 void mlx4_sync_pkey_table(struct mlx4_dev *dev, int slave, int port,
1306 int mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port);
1307 int mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port);
1308 int mlx4_gen_slaves_port_mgt_ev(struct mlx4_dev *dev, u8 port, int attr, u16 lid, u8 sl);
1309 int mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, u8 port_subtype_change);
1310 enum slave_port_state mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port);
1311 int set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, int event, enum slave_port_gen_event *gen_event);
1315 int mlx4_get_slave_from_roce_gid(struct mlx4_dev *dev, int port, u8 *gid, int *slave_id);
1316 int mlx4_get_roce_gid_from_slave(struct mlx4_dev *dev, int port, int slave_id, u8 *gid);
1324 int mlx4_get_module_info(struct mlx4_dev *dev, u8 port,