/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads.c | 86 esw_vport_tbl_create(struct mlx5_eswitch *esw, struct mlx5_flow_namespace *ns) in esw_vport_tbl_create() 103 static u32 flow_attr_to_vport_key(struct mlx5_eswitch *esw, in flow_attr_to_vport_key() 116 esw_vport_tbl_lookup(struct mlx5_eswitch *esw, struct mlx5_vport_key *skey, u32 key) in esw_vport_tbl_lookup() 128 esw_vport_tbl_put(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) in esw_vport_tbl_put() 148 esw_vport_tbl_get(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) in esw_vport_tbl_get() 197 int mlx5_esw_vport_tbl_get(struct mlx5_eswitch *esw) in mlx5_esw_vport_tbl_get() 219 void mlx5_esw_vport_tbl_put(struct mlx5_eswitch *esw) in mlx5_esw_vport_tbl_put() 235 static struct mlx5_eswitch_rep *mlx5_eswitch_get_rep(struct mlx5_eswitch *esw, in mlx5_eswitch_get_rep() 245 mlx5_eswitch_set_rule_flow_source(struct mlx5_eswitch *esw, in mlx5_eswitch_set_rule_flow_source() 258 mlx5_eswitch_set_rule_source_port(struct mlx5_eswitch *esw, in mlx5_eswitch_set_rule_source_port() [all …]
|
D | eswitch.c | 92 mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport() 187 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u16 vport, bool rx_rule, in __esw_fdb_set_vport_rule() 250 esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u16 vport) in esw_fdb_set_vport_rule() 259 esw_fdb_set_vport_allmulti_rule(struct mlx5_eswitch *esw, u16 vport) in esw_fdb_set_vport_allmulti_rule() 272 esw_fdb_set_vport_promisc_rule(struct mlx5_eswitch *esw, u16 vport) in esw_fdb_set_vport_promisc_rule() 287 static int esw_create_legacy_vepa_table(struct mlx5_eswitch *esw) in esw_create_legacy_vepa_table() 316 static int esw_create_legacy_fdb_table(struct mlx5_eswitch *esw) in esw_create_legacy_fdb_table() 411 static void esw_destroy_legacy_vepa_table(struct mlx5_eswitch *esw) in esw_destroy_legacy_vepa_table() 421 static void esw_destroy_legacy_fdb_table(struct mlx5_eswitch *esw) in esw_destroy_legacy_fdb_table() 441 static int esw_create_legacy_table(struct mlx5_eswitch *esw) in esw_create_legacy_table() [all …]
|
D | eswitch.h | 66 #define esw_chains(esw) \ argument 231 struct mlx5_eswitch *esw; member 447 static inline bool mlx5_esw_qos_enabled(struct mlx5_eswitch *esw) in mlx5_esw_qos_enabled() 491 mlx5_esw_is_manager_vport(const struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_is_manager_vport() 507 static inline int mlx5_eswitch_uplink_idx(struct mlx5_eswitch *esw) in mlx5_eswitch_uplink_idx() 513 static inline int mlx5_eswitch_ecpf_idx(struct mlx5_eswitch *esw) in mlx5_eswitch_ecpf_idx() 518 static inline int mlx5_eswitch_vport_num_to_index(struct mlx5_eswitch *esw, in mlx5_eswitch_vport_num_to_index() 533 static inline u16 mlx5_eswitch_index_to_vport_num(struct mlx5_eswitch *esw, in mlx5_eswitch_index_to_vport_num() 565 #define mlx5_esw_for_all_vports(esw, i, vport) \ argument 570 #define mlx5_esw_for_all_vports_reverse(esw, i, vport) \ argument [all …]
|
D | eswitch_offloads_termtbl.c | 110 mlx5_eswitch_termtbl_get_create(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_get_create() 162 mlx5_eswitch_termtbl_put(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_put() 196 static bool mlx5_eswitch_offload_is_uplink_port(const struct mlx5_eswitch *esw, in mlx5_eswitch_offload_is_uplink_port() 213 mlx5_eswitch_termtbl_required(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_required() 240 mlx5_eswitch_add_termtbl_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_add_termtbl_rule()
|
D | en_tc.c | 275 #define esw_offloads_mode(esw) (mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS) argument 280 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_ct_priv() local 299 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_rule_insert() local 312 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_rule_delete() local 442 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_mod_hdr_table() local 1189 mlx5e_tc_offload_fdb_rules(struct mlx5_eswitch *esw, in mlx5e_tc_offload_fdb_rules() 1224 mlx5e_tc_unoffload_fdb_rules(struct mlx5_eswitch *esw, in mlx5e_tc_unoffload_fdb_rules() 1246 mlx5e_tc_offload_to_slow_path(struct mlx5_eswitch *esw, in mlx5e_tc_offload_to_slow_path() 1272 mlx5e_tc_unoffload_from_slow_path(struct mlx5_eswitch *esw, in mlx5e_tc_unoffload_from_slow_path() 1315 struct mlx5_eswitch *esw; in add_unready_flow() local [all …]
|
D | en_rep.c | 174 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 377 static void mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_stop() 394 static int mlx5e_sqs2vport_start(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_start() 436 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_add_sqs_fwd_rules() local 465 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_remove_sqs_fwd_rules() local 866 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_create_rep_vport_rx_rule() local 1325 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_register_vport_reps() local 1332 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_unregister_vport_reps() local
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
D | ingress_ofld.c | 10 esw_acl_ingress_prio_tag_enabled(const struct mlx5_eswitch *esw, in esw_acl_ingress_prio_tag_enabled() 17 static int esw_acl_ingress_prio_tag_create(struct mlx5_eswitch *esw, in esw_acl_ingress_prio_tag_create() 62 static int esw_acl_ingress_mod_metadata_create(struct mlx5_eswitch *esw, in esw_acl_ingress_mod_metadata_create() 109 static void esw_acl_ingress_mod_metadata_destroy(struct mlx5_eswitch *esw, in esw_acl_ingress_mod_metadata_destroy() 120 static int esw_acl_ingress_ofld_rules_create(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_rules_create() 152 static void esw_acl_ingress_ofld_rules_destroy(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_rules_destroy() 159 static int esw_acl_ingress_ofld_groups_create(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_groups_create() 241 int esw_acl_ingress_ofld_setup(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_setup() 287 void esw_acl_ingress_ofld_cleanup(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_cleanup() 296 int mlx5_esw_acl_ingress_vport_bond_update(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_esw_acl_ingress_vport_bond_update()
|
D | egress_ofld.c | 18 static int esw_acl_egress_ofld_fwd2vport_create(struct mlx5_eswitch *esw, in esw_acl_egress_ofld_fwd2vport_create() 47 static int esw_acl_egress_ofld_rules_create(struct mlx5_eswitch *esw, in esw_acl_egress_ofld_rules_create() 92 static int esw_acl_egress_ofld_groups_create(struct mlx5_eswitch *esw, in esw_acl_egress_ofld_groups_create() 151 static bool esw_acl_egress_needed(const struct mlx5_eswitch *esw, u16 vport_num) in esw_acl_egress_needed() 156 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_ofld_setup() 208 int mlx5_esw_acl_egress_vport_bond(struct mlx5_eswitch *esw, u16 active_vport_num, in mlx5_esw_acl_egress_vport_bond() 234 int mlx5_esw_acl_egress_vport_unbond(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_acl_egress_vport_unbond()
|
D | egress_lgcy.c | 18 static int esw_acl_egress_lgcy_groups_create(struct mlx5_eswitch *esw, in esw_acl_egress_lgcy_groups_create() 67 int esw_acl_egress_lgcy_setup(struct mlx5_eswitch *esw, in esw_acl_egress_lgcy_setup() 156 void esw_acl_egress_lgcy_cleanup(struct mlx5_eswitch *esw, in esw_acl_egress_lgcy_cleanup()
|
D | ingress_lgcy.c | 18 static int esw_acl_ingress_lgcy_groups_create(struct mlx5_eswitch *esw, in esw_acl_ingress_lgcy_groups_create() 139 int esw_acl_ingress_lgcy_setup(struct mlx5_eswitch *esw, in esw_acl_ingress_lgcy_setup() 265 void esw_acl_ingress_lgcy_cleanup(struct mlx5_eswitch *esw, in esw_acl_ingress_lgcy_cleanup()
|
D | helper.c | 9 esw_acl_table_create(struct mlx5_eswitch *esw, u16 vport_num, int ns, int size) in esw_acl_table_create() 45 int esw_egress_acl_vlan_create(struct mlx5_eswitch *esw, in esw_egress_acl_vlan_create() 91 int esw_acl_egress_vlan_grp_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_vlan_grp_create()
|
D | ofld.h | 16 static inline bool mlx5_esw_acl_egress_fwd2vport_supported(struct mlx5_eswitch *esw) in mlx5_esw_acl_egress_fwd2vport_supported()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | ib_rep.c | 99 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5_ib_register_vport_reps() local 106 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5_ib_unregister_vport_reps() local 111 u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() 116 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_ibdev() 122 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev() 128 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw) in mlx5_ib_get_uplink_ibdev() 133 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, in mlx5_ib_vport_rep() 143 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in create_flow_rule_vport_sq() local
|
D | ib_rep.h | 29 static inline u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() 35 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_ibdev() 42 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw) in mlx5_ib_get_uplink_ibdev() 48 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, in mlx5_ib_vport_rep() 65 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev()
|
D | fs.c | 874 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_set_rule_source_port() local
|
D | main.c | 134 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_get_rep_roce() local
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | devlink_port.c | 18 mlx5_esw_devlink_port_supported(const struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_devlink_port_supported() 25 static struct devlink_port *mlx5_esw_dl_port_alloc(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_dl_port_alloc() 69 int mlx5_esw_offloads_devlink_port_register(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_devlink_port_register() 103 void mlx5_esw_offloads_devlink_port_unregister(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_devlink_port_unregister() 118 struct devlink_port *mlx5_esw_offloads_devlink_port(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_devlink_port()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | eswitch.h | 102 static inline u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_eswitch_mode() 114 mlx5_eswitch_reg_c1_loopback_enabled(const struct mlx5_eswitch *esw) in mlx5_eswitch_reg_c1_loopback_enabled() 120 mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw) in mlx5_eswitch_vport_match_metadata_enabled() 126 mlx5_eswitch_get_vport_metadata_for_match(struct mlx5_eswitch *esw, in mlx5_eswitch_get_vport_metadata_for_match()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 88 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_flows() local 185 struct mlx5_eswitch *esw; in mlx5e_rep_setup_ft_cb() local 358 struct mlx5_eswitch *esw; in mlx5e_rep_indr_setup_ft_cb() local 516 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_restore_tunnel() local 614 struct mlx5_eswitch *esw; in mlx5e_rep_tc_update_skb() local
|
D | bond.c | 26 struct mlx5_eswitch *esw; member 80 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev, in mlx5e_rep_bond_enslave() 144 void mlx5e_rep_bond_unslave(struct mlx5_eswitch *esw, in mlx5e_rep_bond_unslave()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 34 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_route_and_out_devs() local 97 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_route_lookup_ipv4_get() local
|
D | tc_ct.c | 2004 mlx5_tc_ct_init_check_esw_support(struct mlx5_eswitch *esw, in mlx5_tc_ct_init_check_esw_support() 2057 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_ct_init_check_support() local
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | cio.h | 243 } esw; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | fs_chains.c | 294 struct mlx5_eswitch *esw = chain->chains->dev->priv.eswitch; in create_chain_restore() local
|
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
D | cvmx-npi-defs.h | 1562 uint64_t esw:2; member 1585 uint64_t esw:2; member
|