mlx5_eswitch       99 drivers/infiniband/hw/mlx5/ib_rep.c 	struct mlx5_eswitch *esw = mdev->priv.eswitch;
mlx5_eswitch      106 drivers/infiniband/hw/mlx5/ib_rep.c 	struct mlx5_eswitch *esw = mdev->priv.eswitch;
mlx5_eswitch      111 drivers/infiniband/hw/mlx5/ib_rep.c u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw)
mlx5_eswitch      116 drivers/infiniband/hw/mlx5/ib_rep.c struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw,
mlx5_eswitch      122 drivers/infiniband/hw/mlx5/ib_rep.c struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw,
mlx5_eswitch      128 drivers/infiniband/hw/mlx5/ib_rep.c struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw)
mlx5_eswitch      133 drivers/infiniband/hw/mlx5/ib_rep.c struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw,
mlx5_eswitch      143 drivers/infiniband/hw/mlx5/ib_rep.c 	struct mlx5_eswitch *esw = dev->mdev->priv.eswitch;
mlx5_eswitch       15 drivers/infiniband/hw/mlx5/ib_rep.h u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw);
mlx5_eswitch       16 drivers/infiniband/hw/mlx5/ib_rep.h struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw,
mlx5_eswitch       18 drivers/infiniband/hw/mlx5/ib_rep.h struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw);
mlx5_eswitch       19 drivers/infiniband/hw/mlx5/ib_rep.h struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw,
mlx5_eswitch       26 drivers/infiniband/hw/mlx5/ib_rep.h struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw,
mlx5_eswitch       29 drivers/infiniband/hw/mlx5/ib_rep.h static inline u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw)
mlx5_eswitch       35 drivers/infiniband/hw/mlx5/ib_rep.h struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw,
mlx5_eswitch       42 drivers/infiniband/hw/mlx5/ib_rep.h struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw)
mlx5_eswitch       48 drivers/infiniband/hw/mlx5/ib_rep.h struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw,
mlx5_eswitch       65 drivers/infiniband/hw/mlx5/ib_rep.h struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw,
mlx5_eswitch      164 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_eswitch *esw = dev->mdev->priv.eswitch;
mlx5_eswitch     3487 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_eswitch *esw = dev->mdev->priv.eswitch;
mlx5_eswitch       29 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch       89 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 		struct mlx5_eswitch *esw = mdev->priv.eswitch;
mlx5_eswitch      137 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch      240 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch      408 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c static void mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw,
mlx5_eswitch      425 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c static int mlx5e_sqs2vport_start(struct mlx5_eswitch *esw,
mlx5_eswitch      467 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch      496 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch      603 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1539 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1980 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	struct mlx5_eswitch *esw = mdev->priv.eswitch;
mlx5_eswitch     1987 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	struct mlx5_eswitch *esw = mdev->priv.eswitch;
mlx5_eswitch      302 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1031 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_offload_fdb_rules(struct mlx5_eswitch *esw,
mlx5_eswitch     1054 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_unoffload_fdb_rules(struct mlx5_eswitch *esw,
mlx5_eswitch     1067 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_offload_to_slow_path(struct mlx5_eswitch *esw,
mlx5_eswitch     1087 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_unoffload_from_slow_path(struct mlx5_eswitch *esw,
mlx5_eswitch     1122 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw;
mlx5_eswitch     1137 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw;
mlx5_eswitch     1153 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1257 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1298 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1363 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1505 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 		struct mlx5_eswitch *esw;
mlx5_eswitch     1571 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1585 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     1606 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = flow->priv->mdev->priv.eswitch;
mlx5_eswitch     1630 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *peer_esw;
mlx5_eswitch     2161 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = dev->priv.eswitch;
mlx5_eswitch     2965 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     2996 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     3216 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     3289 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 				struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     3493 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     3570 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     3643 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch, *peer_esw;
mlx5_eswitch     3780 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw = priv->mdev->priv.eswitch;
mlx5_eswitch     3885 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *peer_esw;
mlx5_eswitch     3950 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	struct mlx5_eswitch *esw;
mlx5_eswitch     4175 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c void mlx5e_tc_clean_fdb_peer_flows(struct mlx5_eswitch *esw)
mlx5_eswitch       61 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_destroy_legacy_fdb_table(struct mlx5_eswitch *esw);
mlx5_eswitch       62 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_cleanup_vepa_rules(struct mlx5_eswitch *esw);
mlx5_eswitch       65 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num)
mlx5_eswitch      126 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_modify_esw_vport_context(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch      144 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_query_esw_vport_context(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch      187 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u16 vport, bool rx_rule,
mlx5_eswitch      250 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u16 vport)
mlx5_eswitch      259 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw_fdb_set_vport_allmulti_rule(struct mlx5_eswitch *esw, u16 vport)
mlx5_eswitch      272 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw_fdb_set_vport_promisc_rule(struct mlx5_eswitch *esw, u16 vport)
mlx5_eswitch      287 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_create_legacy_vepa_table(struct mlx5_eswitch *esw)
mlx5_eswitch      313 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_create_legacy_fdb_table(struct mlx5_eswitch *esw)
mlx5_eswitch      408 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_destroy_legacy_vepa_table(struct mlx5_eswitch *esw)
mlx5_eswitch      418 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_destroy_legacy_fdb_table(struct mlx5_eswitch *esw)
mlx5_eswitch      438 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_create_legacy_table(struct mlx5_eswitch *esw)
mlx5_eswitch      459 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_legacy_enable(struct mlx5_eswitch *esw)
mlx5_eswitch      471 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_destroy_legacy_table(struct mlx5_eswitch *esw)
mlx5_eswitch      478 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_legacy_disable(struct mlx5_eswitch *esw)
mlx5_eswitch      492 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c typedef int (*vport_addr_action)(struct mlx5_eswitch *esw,
mlx5_eswitch      495 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_add_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
mlx5_eswitch      527 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_del_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
mlx5_eswitch      554 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void update_allmulti_vports(struct mlx5_eswitch *esw,
mlx5_eswitch      602 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_add_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
mlx5_eswitch      642 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_del_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
mlx5_eswitch      685 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_apply_vport_addr_list(struct mlx5_eswitch *esw,
mlx5_eswitch      719 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_update_vport_addr_list(struct mlx5_eswitch *esw,
mlx5_eswitch      806 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_update_vport_mc_promisc(struct mlx5_eswitch *esw,
mlx5_eswitch      841 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_apply_vport_rx_mode(struct mlx5_eswitch *esw,
mlx5_eswitch      884 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_update_vport_rx_mode(struct mlx5_eswitch *esw,
mlx5_eswitch      915 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	struct mlx5_eswitch *esw = dev->priv.eswitch;
mlx5_eswitch      949 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	struct mlx5_eswitch *esw = vport->dev->priv.eswitch;
mlx5_eswitch      956 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int esw_vport_enable_egress_acl(struct mlx5_eswitch *esw,
mlx5_eswitch     1040 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void esw_vport_cleanup_egress_rules(struct mlx5_eswitch *esw,
mlx5_eswitch     1053 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void esw_vport_disable_egress_acl(struct mlx5_eswitch *esw,
mlx5_eswitch     1070 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int esw_vport_enable_ingress_acl(struct mlx5_eswitch *esw,
mlx5_eswitch     1202 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void esw_vport_cleanup_ingress_rules(struct mlx5_eswitch *esw,
mlx5_eswitch     1217 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void esw_vport_disable_ingress_acl(struct mlx5_eswitch *esw,
mlx5_eswitch     1238 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_vport_ingress_config(struct mlx5_eswitch *esw,
mlx5_eswitch     1331 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_vport_egress_config(struct mlx5_eswitch *esw,
mlx5_eswitch     1414 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static bool element_type_supported(struct mlx5_eswitch *esw, int type)
mlx5_eswitch     1436 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_create_tsar(struct mlx5_eswitch *esw)
mlx5_eswitch     1470 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_destroy_tsar(struct mlx5_eswitch *esw)
mlx5_eswitch     1486 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_vport_enable_qos(struct mlx5_eswitch *esw,
mlx5_eswitch     1527 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_vport_disable_qos(struct mlx5_eswitch *esw,
mlx5_eswitch     1545 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int esw_vport_qos_config(struct mlx5_eswitch *esw,
mlx5_eswitch     1588 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_esw_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num,
mlx5_eswitch     1616 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_apply_vport_conf(struct mlx5_eswitch *esw,
mlx5_eswitch     1685 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_enable_vport(struct mlx5_eswitch *esw, struct mlx5_vport *vport,
mlx5_eswitch     1725 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_disable_vport(struct mlx5_eswitch *esw,
mlx5_eswitch     1766 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	struct mlx5_eswitch *esw = mlx5_nb_cof(nb, struct mlx5_eswitch, nb);
mlx5_eswitch     1812 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void mlx5_eswitch_event_handlers_register(struct mlx5_eswitch *esw)
mlx5_eswitch     1824 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void mlx5_eswitch_event_handlers_unregister(struct mlx5_eswitch *esw)
mlx5_eswitch     1841 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eswitch_enable_pf_vf_vports(struct mlx5_eswitch *esw,
mlx5_eswitch     1865 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void mlx5_eswitch_disable_pf_vf_vports(struct mlx5_eswitch *esw)
mlx5_eswitch     1874 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_enable(struct mlx5_eswitch *esw, int mode)
mlx5_eswitch     1926 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void mlx5_eswitch_disable(struct mlx5_eswitch *esw)
mlx5_eswitch     1959 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	struct mlx5_eswitch *esw;
mlx5_eswitch     2032 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw)
mlx5_eswitch     2049 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw,
mlx5_eswitch     2093 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw,
mlx5_eswitch     2123 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw,
mlx5_eswitch     2148 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int __mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
mlx5_eswitch     2177 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
mlx5_eswitch     2193 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_set_vport_spoofchk(struct mlx5_eswitch *esw,
mlx5_eswitch     2221 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static void esw_cleanup_vepa_rules(struct mlx5_eswitch *esw)
mlx5_eswitch     2233 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int _mlx5_eswitch_set_vepa_locked(struct mlx5_eswitch *esw,
mlx5_eswitch     2297 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_set_vepa(struct mlx5_eswitch *esw, u8 setting)
mlx5_eswitch     2320 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_get_vepa(struct mlx5_eswitch *esw, u8 *setting)
mlx5_eswitch     2335 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_set_vport_trust(struct mlx5_eswitch *esw,
mlx5_eswitch     2354 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static u32 calculate_vports_min_rate_divider(struct mlx5_eswitch *esw)
mlx5_eswitch     2370 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int normalize_vports_min_rate(struct mlx5_eswitch *esw, u32 divider)
mlx5_eswitch     2406 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_set_vport_rate(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch     2461 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	struct mlx5_eswitch *esw = dev->priv.eswitch;
mlx5_eswitch     2495 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int mlx5_eswitch_get_vport_stats(struct mlx5_eswitch *esw,
mlx5_eswitch     2573 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw)
mlx5_eswitch     2582 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	struct mlx5_eswitch *esw;
mlx5_eswitch     2608 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void mlx5_eswitch_update_num_of_vfs(struct mlx5_eswitch *esw, const int num_vfs)
mlx5_eswitch      205 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h 	struct mlx5_eswitch	*esw;
mlx5_eswitch      248 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void esw_offloads_disable(struct mlx5_eswitch *esw);
mlx5_eswitch      249 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int esw_offloads_enable(struct mlx5_eswitch *esw);
mlx5_eswitch      250 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void esw_offloads_cleanup_reps(struct mlx5_eswitch *esw);
mlx5_eswitch      251 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int esw_offloads_init_reps(struct mlx5_eswitch *esw);
mlx5_eswitch      252 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void esw_vport_cleanup_ingress_rules(struct mlx5_eswitch *esw,
mlx5_eswitch      254 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int esw_vport_enable_ingress_acl(struct mlx5_eswitch *esw,
mlx5_eswitch      256 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void esw_vport_cleanup_egress_rules(struct mlx5_eswitch *esw,
mlx5_eswitch      258 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int esw_vport_enable_egress_acl(struct mlx5_eswitch *esw,
mlx5_eswitch      260 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void esw_vport_disable_egress_acl(struct mlx5_eswitch *esw,
mlx5_eswitch      262 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void esw_vport_disable_ingress_acl(struct mlx5_eswitch *esw,
mlx5_eswitch      264 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void esw_vport_del_ingress_acl_modify_metadata(struct mlx5_eswitch *esw,
mlx5_eswitch      266 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_esw_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num,
mlx5_eswitch      271 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw);
mlx5_eswitch      272 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_enable(struct mlx5_eswitch *esw, int mode);
mlx5_eswitch      273 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void mlx5_eswitch_disable(struct mlx5_eswitch *esw);
mlx5_eswitch      274 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw,
mlx5_eswitch      276 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw,
mlx5_eswitch      278 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
mlx5_eswitch      280 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_set_vport_spoofchk(struct mlx5_eswitch *esw,
mlx5_eswitch      282 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_set_vport_trust(struct mlx5_eswitch *esw,
mlx5_eswitch      284 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_set_vport_rate(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch      286 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_set_vepa(struct mlx5_eswitch *esw, u8 setting);
mlx5_eswitch      287 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_get_vepa(struct mlx5_eswitch *esw, u8 *setting);
mlx5_eswitch      288 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw,
mlx5_eswitch      290 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_get_vport_stats(struct mlx5_eswitch *esw,
mlx5_eswitch      295 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_modify_esw_vport_context(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch      297 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_query_esw_vport_context(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch      305 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_termtbl_required(struct mlx5_eswitch *esw,
mlx5_eswitch      310 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_add_termtbl_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      319 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_termtbl_put(struct mlx5_eswitch *esw,
mlx5_eswitch      323 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_add_offloaded_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      327 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_add_fwd_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      331 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_del_offloaded_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      335 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_del_fwd_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      340 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_prios_supported(struct mlx5_eswitch *esw);
mlx5_eswitch      343 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_get_prio_range(struct mlx5_eswitch *esw);
mlx5_eswitch      346 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_get_chain_range(struct mlx5_eswitch *esw);
mlx5_eswitch      349 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch      409 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_inline_mode_get(struct mlx5_eswitch *esw, u8 *mode);
mlx5_eswitch      415 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void *mlx5_eswitch_get_uplink_priv(struct mlx5_eswitch *esw, u8 rep_type);
mlx5_eswitch      417 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_add_vlan_action(struct mlx5_eswitch *esw,
mlx5_eswitch      419 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_eswitch_del_vlan_action(struct mlx5_eswitch *esw,
mlx5_eswitch      421 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int __mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
mlx5_eswitch      480 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline int mlx5_eswitch_uplink_idx(struct mlx5_eswitch *esw)
mlx5_eswitch      486 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline int mlx5_eswitch_ecpf_idx(struct mlx5_eswitch *esw)
mlx5_eswitch      491 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline int mlx5_eswitch_vport_num_to_index(struct mlx5_eswitch *esw,
mlx5_eswitch      506 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline u16 mlx5_eswitch_index_to_vport_num(struct mlx5_eswitch *esw,
mlx5_eswitch      520 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void mlx5e_tc_clean_fdb_peer_flows(struct mlx5_eswitch *esw);
mlx5_eswitch      589 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num);
mlx5_eswitch      591 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h bool mlx5_eswitch_is_vf_vport(const struct mlx5_eswitch *esw, u16 vport_num);
mlx5_eswitch      593 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void mlx5_eswitch_update_num_of_vfs(struct mlx5_eswitch *esw, const int num_vfs);
mlx5_eswitch      597 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_eswitch_enable_pf_vf_vports(struct mlx5_eswitch *esw,
mlx5_eswitch      599 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void mlx5_eswitch_disable_pf_vf_vports(struct mlx5_eswitch *esw);
mlx5_eswitch      604 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw) {}
mlx5_eswitch      605 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline int  mlx5_eswitch_enable(struct mlx5_eswitch *esw, int mode) { return 0; }
mlx5_eswitch      606 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline void mlx5_eswitch_disable(struct mlx5_eswitch *esw) {}
mlx5_eswitch      614 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline void mlx5_eswitch_update_num_of_vfs(struct mlx5_eswitch *esw, const int num_vfs) {}
mlx5_eswitch       56 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static struct mlx5_eswitch_rep *mlx5_eswitch_get_rep(struct mlx5_eswitch *esw,
mlx5_eswitch       66 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_get_prio_table(struct mlx5_eswitch *esw, u32 chain, u16 prio, int level);
mlx5_eswitch       68 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_put_prio_table(struct mlx5_eswitch *esw, u32 chain, u16 prio, int level);
mlx5_eswitch       70 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c bool mlx5_eswitch_prios_supported(struct mlx5_eswitch *esw)
mlx5_eswitch       75 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c u32 mlx5_eswitch_get_chain_range(struct mlx5_eswitch *esw)
mlx5_eswitch       83 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c u16 mlx5_eswitch_get_prio_range(struct mlx5_eswitch *esw)
mlx5_eswitch       92 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_eswitch_set_rule_source_port(struct mlx5_eswitch *esw,
mlx5_eswitch      139 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_eswitch_add_offloaded_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      246 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_eswitch_add_fwd_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      308 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c __mlx5_eswitch_del_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      337 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_eswitch_del_offloaded_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      345 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_eswitch_del_fwd_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      352 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_set_global_vlan_pop(struct mlx5_eswitch *esw, u8 val)
mlx5_eswitch      423 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int mlx5_eswitch_add_vlan_action(struct mlx5_eswitch *esw,
mlx5_eswitch      491 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int mlx5_eswitch_del_vlan_action(struct mlx5_eswitch *esw,
mlx5_eswitch      548 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch      592 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_set_passing_vport_metadata(struct mlx5_eswitch *esw, bool enable)
mlx5_eswitch      625 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void peer_miss_rules_setup(struct mlx5_eswitch *esw,
mlx5_eswitch      660 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_set_peer_miss_rule_source_port(struct mlx5_eswitch *esw,
mlx5_eswitch      661 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 					       struct mlx5_eswitch *peer_esw,
mlx5_eswitch      680 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_add_fdb_peer_miss_rules(struct mlx5_eswitch *esw,
mlx5_eswitch      770 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_del_fdb_peer_miss_rules(struct mlx5_eswitch *esw)
mlx5_eswitch      790 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_add_fdb_miss_rule(struct mlx5_eswitch *esw)
mlx5_eswitch      864 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c get_sz_from_pool(struct mlx5_eswitch *esw)
mlx5_eswitch      880 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c put_sz_to_pool(struct mlx5_eswitch *esw, int sz)
mlx5_eswitch      893 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c create_next_size_table(struct mlx5_eswitch *esw,
mlx5_eswitch      922 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_get_prio_table(struct mlx5_eswitch *esw, u32 chain, u16 prio, int level)
mlx5_eswitch      988 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_put_prio_table(struct mlx5_eswitch *esw, u32 chain, u16 prio, int level)
mlx5_eswitch     1009 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_destroy_offloads_fast_fdb_tables(struct mlx5_eswitch *esw)
mlx5_eswitch     1021 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_set_flow_group_source_port(struct mlx5_eswitch *esw,
mlx5_eswitch     1045 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_create_offloads_fdb_tables(struct mlx5_eswitch *esw, int nvports)
mlx5_eswitch     1223 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_destroy_offloads_fdb_tables(struct mlx5_eswitch *esw)
mlx5_eswitch     1242 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_create_offloads_table(struct mlx5_eswitch *esw, int nvports)
mlx5_eswitch     1269 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_destroy_offloads_table(struct mlx5_eswitch *esw)
mlx5_eswitch     1276 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_create_vport_rx_group(struct mlx5_eswitch *esw, int nvports)
mlx5_eswitch     1308 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_destroy_vport_rx_group(struct mlx5_eswitch *esw)
mlx5_eswitch     1314 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch *esw, u16 vport,
mlx5_eswitch     1360 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_offloads_start(struct mlx5_eswitch *esw,
mlx5_eswitch     1395 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void esw_offloads_cleanup_reps(struct mlx5_eswitch *esw)
mlx5_eswitch     1400 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int esw_offloads_init_reps(struct mlx5_eswitch *esw)
mlx5_eswitch     1425 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void __esw_offloads_unload_rep(struct mlx5_eswitch *esw,
mlx5_eswitch     1433 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void __unload_reps_special_vport(struct mlx5_eswitch *esw, u8 rep_type)
mlx5_eswitch     1451 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void __unload_reps_vf_vport(struct mlx5_eswitch *esw, int nvports,
mlx5_eswitch     1461 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_offloads_unload_vf_reps(struct mlx5_eswitch *esw, int nvports)
mlx5_eswitch     1469 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void __unload_reps_all_vport(struct mlx5_eswitch *esw, u8 rep_type)
mlx5_eswitch     1477 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_offloads_unload_all_reps(struct mlx5_eswitch *esw)
mlx5_eswitch     1485 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int __esw_offloads_load_rep(struct mlx5_eswitch *esw,
mlx5_eswitch     1501 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int __load_reps_special_vport(struct mlx5_eswitch *esw, u8 rep_type)
mlx5_eswitch     1539 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int __load_reps_vf_vport(struct mlx5_eswitch *esw, int nvports,
mlx5_eswitch     1558 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int __load_reps_all_vport(struct mlx5_eswitch *esw, u8 rep_type)
mlx5_eswitch     1578 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_offloads_load_vf_reps(struct mlx5_eswitch *esw, int nvports)
mlx5_eswitch     1597 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_offloads_load_all_reps(struct mlx5_eswitch *esw)
mlx5_eswitch     1619 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int mlx5_esw_offloads_pair(struct mlx5_eswitch *esw,
mlx5_eswitch     1620 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 				  struct mlx5_eswitch *peer_esw)
mlx5_eswitch     1631 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void mlx5_esw_offloads_unpair(struct mlx5_eswitch *esw)
mlx5_eswitch     1637 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int mlx5_esw_offloads_set_ns_peer(struct mlx5_eswitch *esw,
mlx5_eswitch     1638 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 					 struct mlx5_eswitch *peer_esw,
mlx5_eswitch     1670 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	struct mlx5_eswitch *esw = my_data;
mlx5_eswitch     1672 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	struct mlx5_eswitch *peer_esw = event_data;
mlx5_eswitch     1718 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_offloads_devcom_init(struct mlx5_eswitch *esw)
mlx5_eswitch     1738 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_offloads_devcom_cleanup(struct mlx5_eswitch *esw)
mlx5_eswitch     1751 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_vport_ingress_prio_tag_config(struct mlx5_eswitch *esw,
mlx5_eswitch     1805 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_vport_add_ingress_acl_modify_metadata(struct mlx5_eswitch *esw,
mlx5_eswitch     1848 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void esw_vport_del_ingress_acl_modify_metadata(struct mlx5_eswitch *esw,
mlx5_eswitch     1859 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_vport_egress_prio_tag_config(struct mlx5_eswitch *esw,
mlx5_eswitch     1922 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_vport_ingress_common_config(struct mlx5_eswitch *esw,
mlx5_eswitch     1964 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_check_vport_match_metadata_supported(const struct mlx5_eswitch *esw)
mlx5_eswitch     1983 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_create_offloads_acl_tables(struct mlx5_eswitch *esw)
mlx5_eswitch     2021 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_destroy_offloads_acl_tables(struct mlx5_eswitch *esw)
mlx5_eswitch     2034 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_offloads_steering_init(struct mlx5_eswitch *esw)
mlx5_eswitch     2078 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_offloads_steering_cleanup(struct mlx5_eswitch *esw)
mlx5_eswitch     2087 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_vfs_changed_event_handler(struct mlx5_eswitch *esw, const u32 *out)
mlx5_eswitch     2116 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	struct mlx5_eswitch *esw;
mlx5_eswitch     2136 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	struct mlx5_eswitch *esw;
mlx5_eswitch     2143 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	esw = container_of(esw_funcs, struct mlx5_eswitch, esw_funcs);
mlx5_eswitch     2153 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int esw_offloads_enable(struct mlx5_eswitch *esw)
mlx5_eswitch     2193 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_offloads_stop(struct mlx5_eswitch *esw,
mlx5_eswitch     2212 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void esw_offloads_disable(struct mlx5_eswitch *esw)
mlx5_eswitch     2359 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	struct mlx5_eswitch *esw = dev->priv.eswitch;
mlx5_eswitch     2414 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	struct mlx5_eswitch *esw = dev->priv.eswitch;
mlx5_eswitch     2424 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int mlx5_eswitch_inline_mode_get(struct mlx5_eswitch *esw, u8 *mode)
mlx5_eswitch     2466 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	struct mlx5_eswitch *esw = dev->priv.eswitch;
mlx5_eswitch     2515 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	struct mlx5_eswitch *esw = dev->priv.eswitch;
mlx5_eswitch     2526 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void mlx5_eswitch_register_vport_reps(struct mlx5_eswitch *esw,
mlx5_eswitch     2542 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type)
mlx5_eswitch     2555 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void *mlx5_eswitch_get_uplink_priv(struct mlx5_eswitch *esw, u8 rep_type)
mlx5_eswitch     2563 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw,
mlx5_eswitch     2578 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type)
mlx5_eswitch     2584 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw,
mlx5_eswitch     2591 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c bool mlx5_eswitch_is_vf_vport(const struct mlx5_eswitch *esw, u16 vport_num)
mlx5_eswitch     2597 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c bool mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw)
mlx5_eswitch     2603 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c u32 mlx5_eswitch_get_vport_metadata_for_match(const struct mlx5_eswitch *esw,
mlx5_eswitch       93 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mlx5_eswitch_termtbl_get_create(struct mlx5_eswitch *esw,
mlx5_eswitch      144 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mlx5_eswitch_termtbl_put(struct mlx5_eswitch *esw,
mlx5_eswitch      180 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c static bool mlx5_eswitch_offload_is_uplink_port(const struct mlx5_eswitch *esw,
mlx5_eswitch      197 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mlx5_eswitch_termtbl_required(struct mlx5_eswitch *esw,
mlx5_eswitch      210 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mlx5_eswitch_add_termtbl_rule(struct mlx5_eswitch *esw,
mlx5_eswitch      501 include/linux/mlx5/driver.h struct mlx5_eswitch;
mlx5_eswitch      582 include/linux/mlx5/driver.h 	struct mlx5_eswitch     *eswitch;
mlx5_eswitch       53 include/linux/mlx5/eswitch.h void mlx5_eswitch_register_vport_reps(struct mlx5_eswitch *esw,
mlx5_eswitch       56 include/linux/mlx5/eswitch.h void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type);
mlx5_eswitch       57 include/linux/mlx5/eswitch.h void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw,
mlx5_eswitch       60 include/linux/mlx5/eswitch.h struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw,
mlx5_eswitch       62 include/linux/mlx5/eswitch.h void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type);
mlx5_eswitch       64 include/linux/mlx5/eswitch.h mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw,
mlx5_eswitch       73 include/linux/mlx5/eswitch.h bool mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw);
mlx5_eswitch       74 include/linux/mlx5/eswitch.h u32 mlx5_eswitch_get_vport_metadata_for_match(const struct mlx5_eswitch *esw,
mlx5_eswitch       76 include/linux/mlx5/eswitch.h u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw);
mlx5_eswitch       79 include/linux/mlx5/eswitch.h static inline u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw)
mlx5_eswitch       91 include/linux/mlx5/eswitch.h mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw)
mlx5_eswitch       97 include/linux/mlx5/eswitch.h mlx5_eswitch_get_vport_metadata_for_match(const struct mlx5_eswitch *esw,