/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | neigh.h | 12 int mlx5e_rep_neigh_init(struct mlx5e_rep_priv *rpriv); 13 void mlx5e_rep_neigh_cleanup(struct mlx5e_rep_priv *rpriv); 29 mlx5e_rep_neigh_init(struct mlx5e_rep_priv *rpriv) { return 0; } argument 31 mlx5e_rep_neigh_cleanup(struct mlx5e_rep_priv *rpriv) {} argument
|
H A D | tc.h | 13 int mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv); 14 void mlx5e_rep_tc_cleanup(struct mlx5e_rep_priv *rpriv); 16 int mlx5e_rep_tc_netdevice_event_register(struct mlx5e_rep_priv *rpriv); 17 void mlx5e_rep_tc_netdevice_event_unregister(struct mlx5e_rep_priv *rpriv); 46 mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv) { return 0; } argument 48 mlx5e_rep_tc_cleanup(struct mlx5e_rep_priv *rpriv) {} argument 51 mlx5e_rep_tc_netdevice_event_register(struct mlx5e_rep_priv *rpriv) { return 0; } argument 53 mlx5e_rep_tc_netdevice_event_unregister(struct mlx5e_rep_priv *rpriv) {} argument
|
H A D | bond.c | 85 struct mlx5e_rep_priv *rpriv; local 91 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); 92 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv->uplink_priv, lag_dev); 107 list_add(&mdata->list, &rpriv->uplink_priv.bond->metadata_list); 121 rpriv = priv->ppriv; 123 err = mlx5_esw_acl_ingress_vport_metadata_update(esw, rpriv->rep->vport, 131 rpriv->rep->vport, lag_dev->name, mdata->metadata_reg_c_0); 150 struct mlx5e_rep_priv *rpriv; local 155 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); 156 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv 193 struct mlx5e_rep_priv *rpriv; local 251 struct mlx5e_rep_priv *rpriv; local 279 struct mlx5e_rep_priv *rpriv; local 307 mlx5e_rep_bond_init(struct mlx5e_rep_priv *rpriv) argument 339 mlx5e_rep_bond_cleanup(struct mlx5e_rep_priv *rpriv) argument [all...] |
H A D | tc.c | 27 struct mlx5e_rep_priv *rpriv; member in struct:mlx5e_rep_indr_block_priv 38 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 39 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; 48 mutex_lock(&rpriv->neigh_update.encap_lock); 53 mutex_unlock(&rpriv->neigh_update.encap_lock); 65 mutex_unlock(&rpriv->neigh_update.encap_lock); 73 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 74 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; 153 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 157 dpkts = priv->stats.rep_stats.vport_rx_packets - rpriv 271 mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv) argument 284 mlx5e_rep_tc_cleanup(struct mlx5e_rep_priv *rpriv) argument 293 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 301 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 308 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 316 mlx5e_rep_indr_block_priv_lookup(struct mlx5e_rep_priv *rpriv, struct net_device *netdev, enum flow_block_binder_type binder_type) argument 444 mlx5e_rep_check_indr_block_supported(struct mlx5e_rep_priv *rpriv, struct net_device *netdev, struct flow_block_offload *f) argument 484 mlx5e_rep_indr_setup_block(struct net_device *netdev, struct Qdisc *sch, struct mlx5e_rep_priv *rpriv, struct flow_block_offload *f, flow_setup_cb_t *setup_cb, void *data, void (*cleanup)(struct flow_block_cb *block_cb)) argument 548 mlx5e_rep_indr_replace_act(struct mlx5e_rep_priv *rpriv, struct flow_offload_action *fl_act) argument 587 mlx5e_rep_indr_destroy_act(struct mlx5e_rep_priv *rpriv, struct flow_offload_action *fl_act) argument 608 mlx5e_rep_indr_stats_act(struct mlx5e_rep_priv *rpriv, struct flow_offload_action *fl_act) argument 630 mlx5e_rep_indr_setup_act(struct mlx5e_rep_priv *rpriv, struct flow_offload_action *fl_act) argument 646 mlx5e_rep_indr_no_dev_setup(struct mlx5e_rep_priv *rpriv, enum tc_setup_type type, void *data) argument 684 mlx5e_rep_tc_netdevice_event_register(struct mlx5e_rep_priv *rpriv) argument 694 mlx5e_rep_tc_netdevice_event_unregister(struct mlx5e_rep_priv *rpriv) argument [all...] |
H A D | neigh.c | 27 static void mlx5e_rep_neigh_update_init_interval(struct mlx5e_rep_priv *rpriv) argument 31 struct net_device *netdev = rpriv->netdev; 34 rpriv->neigh_update.min_interval = min_t(unsigned long, ipv6_interval, ipv4_interval); 35 mlx5_fc_update_sampling_interval(priv->mdev, rpriv->neigh_update.min_interval); 40 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 41 struct mlx5e_neigh_update_table *neigh_update = &rpriv->neigh_update; 64 mlx5e_get_next_nhe(struct mlx5e_rep_priv *rpriv, argument 72 list_next_or_null_rcu(&rpriv->neigh_update.neigh_list, 76 list_first_or_null_rcu(&rpriv->neigh_update.neigh_list, 80 next = list_next_or_null_rcu(&rpriv 97 struct mlx5e_rep_priv *rpriv = container_of(work, struct mlx5e_rep_priv, local 205 struct mlx5e_rep_priv *rpriv = container_of(nb, struct mlx5e_rep_priv, local 276 mlx5e_rep_neigh_init(struct mlx5e_rep_priv *rpriv) argument 307 mlx5e_rep_neigh_cleanup(struct mlx5e_rep_priv *rpriv) argument 328 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 344 struct mlx5e_rep_priv *rpriv = nhe->priv->ppriv; local 363 struct mlx5e_rep_priv *rpriv = priv->ppriv; local [all...] |
H A D | bridge.c | 70 struct mlx5e_rep_priv *rpriv; local 84 rpriv = priv->ppriv; 85 *vport_num = rpriv->rep->vport;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 204 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 205 struct mlx5_eswitch_rep *rep = rpriv->rep; 294 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 295 struct mlx5_eswitch_rep *rep = rpriv->rep; 442 struct mlx5e_rep_priv *rpriv; local 448 rpriv = mlx5e_rep_to_rep_priv(rep); 449 list_for_each_entry_safe(rep_sq, tmp, &rpriv->vport_sqs_list, list) { 506 struct mlx5e_rep_priv *rpriv; local 515 rpriv = mlx5e_rep_to_rep_priv(rep); 550 list_add(&rep_sq->list, &rpriv 573 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 626 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 636 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 657 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 678 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 701 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 717 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 779 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 838 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 956 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 984 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1020 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1031 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1048 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1133 struct mlx5e_rep_priv *rpriv = local 1144 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1162 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1170 mlx5e_init_uplink_rep_tx(struct mlx5e_rep_priv *rpriv) argument 1203 mlx5e_cleanup_uplink_rep_tx(struct mlx5e_rep_priv *rpriv) argument 1212 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1242 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1274 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1414 struct mlx5e_rep_priv *rpriv = devlink_health_reporter_priv(reporter); local 1430 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1448 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1495 struct mlx5e_rep_priv *rpriv = mlx5e_rep_to_rep_priv(rep); local 1503 mlx5e_vport_uplink_rep_unload(struct mlx5e_rep_priv *rpriv) argument 1516 struct mlx5e_rep_priv *rpriv = mlx5e_rep_to_rep_priv(rep); local 1583 struct mlx5e_rep_priv *rpriv; local 1609 struct mlx5e_rep_priv *rpriv = mlx5e_rep_to_rep_priv(rep); local 1630 struct mlx5e_rep_priv *rpriv; local 1641 struct mlx5e_rep_priv *rpriv; local 1665 struct mlx5e_rep_priv *rpriv; local [all...] |
H A D | en_rep.h | 242 int mlx5e_rep_bond_init(struct mlx5e_rep_priv *rpriv); 243 void mlx5e_rep_bond_cleanup(struct mlx5e_rep_priv *rpriv);
|
H A D | en_tc.c | 1623 struct mlx5e_rep_priv *rpriv; local 1627 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); 1628 uplink_priv = &rpriv->uplink_priv; 1638 struct mlx5e_rep_priv *rpriv; local 1642 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); 1643 uplink_priv = &rpriv->uplink_priv; 3040 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 3055 rep = rpriv->rep; 4230 struct mlx5e_rep_priv *rpriv; local 4233 rpriv 4515 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 4643 is_flow_rule_duplicate_allowed(struct net_device *dev, struct mlx5e_rep_priv *rpriv) argument 4698 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 4896 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 4967 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 5274 struct mlx5e_rep_priv *rpriv; local 5358 struct mlx5e_rep_priv *rpriv; local 5403 struct mlx5_rep_uplink_priv *rpriv = local [all...] |
H A D | en_rx.c | 1870 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 1871 struct mlx5_eswitch_rep *rep = rpriv->rep;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | ipsec_fs.c | 147 struct mlx5e_rep_priv *rpriv; local 154 rpriv = rep->rep_data[REP_ETH].priv; 155 if (!rpriv || !rpriv->netdev) 158 rhashtable_walk_enter(&rpriv->tc_ht, &iter);
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 455 * Returns rec tov in jiffies as rpriv->e_d_tov + 1 second 459 struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data; local 462 if (rpriv && rpriv->e_d_tov > e_d_tov) 463 e_d_tov = rpriv->e_d_tov; 1170 struct fc_rport_libfc_priv *rpriv; local 1187 rpriv = rport->dd_data; 1190 rpriv->local_port->port_id, FC_TYPE_FCP, 1202 if (rpriv->flags & FC_RP_FLAGS_REC_SUPPORTED) 1421 struct fc_rport_libfc_priv *rpriv local 1460 struct fc_rport_libfc_priv *rpriv; local 1514 struct fc_rport_libfc_priv *rpriv; local 1718 struct fc_rport_libfc_priv *rpriv; local [all...] |
H A D | fc_rport.c | 263 struct fc_rport_libfc_priv *rpriv; local 304 rpriv = rport->dd_data; 305 rpriv->local_port = lport; 306 rpriv->rp_state = rdata->rp_state; 307 rpriv->flags = rdata->flags; 308 rpriv->e_d_tov = rdata->e_d_tov; 309 rpriv->r_a_tov = rdata->r_a_tov; 356 rpriv = rport->dd_data; 357 rpriv->rp_state = RPORT_ST_DELETE; 2286 struct fc_rport_libfc_priv *rpriv local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mirred.c | 214 struct mlx5e_rep_priv *rpriv = priv->ppriv; local 272 rpriv = out_priv->ppriv; 274 esw_attr->dests[esw_attr->out_count].vport = rpriv->rep->vport;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_encap.c | 1028 struct mlx5e_rep_priv *rpriv; local 1066 rpriv = out_priv->ppriv; 1068 esw_attr->dests[out_index].vport = rpriv->rep->vport;
|