/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads.c | 51 #define fdb_prio_table(esw, chain, prio, level) \ argument 56 static struct mlx5_eswitch_rep *mlx5_eswitch_get_rep(struct mlx5_eswitch *esw, in mlx5_eswitch_get_rep() 70 bool mlx5_eswitch_prios_supported(struct mlx5_eswitch *esw) in mlx5_eswitch_prios_supported() 75 u32 mlx5_eswitch_get_chain_range(struct mlx5_eswitch *esw) in mlx5_eswitch_get_chain_range() 83 u16 mlx5_eswitch_get_prio_range(struct mlx5_eswitch *esw) in mlx5_eswitch_get_prio_range() 92 mlx5_eswitch_set_rule_source_port(struct mlx5_eswitch *esw, in mlx5_eswitch_set_rule_source_port() 139 mlx5_eswitch_add_offloaded_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_add_offloaded_rule() 246 mlx5_eswitch_add_fwd_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_add_fwd_rule() 308 __mlx5_eswitch_del_rule(struct mlx5_eswitch *esw, in __mlx5_eswitch_del_rule() 337 mlx5_eswitch_del_offloaded_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_del_offloaded_rule() [all …]
|
D | eswitch.c | 65 mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport() 126 int mlx5_eswitch_modify_esw_vport_context(struct mlx5_eswitch *esw, u16 vport, in mlx5_eswitch_modify_esw_vport_context() 144 int mlx5_eswitch_query_esw_vport_context(struct mlx5_eswitch *esw, u16 vport, in mlx5_eswitch_query_esw_vport_context() 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() 313 static int esw_create_legacy_fdb_table(struct mlx5_eswitch *esw) in esw_create_legacy_fdb_table() 408 static void esw_destroy_legacy_vepa_table(struct mlx5_eswitch *esw) in esw_destroy_legacy_vepa_table() [all …]
|
D | eswitch.h | 205 struct mlx5_eswitch *esw; member 480 static inline int mlx5_eswitch_uplink_idx(struct mlx5_eswitch *esw) in mlx5_eswitch_uplink_idx() 486 static inline int mlx5_eswitch_ecpf_idx(struct mlx5_eswitch *esw) in mlx5_eswitch_ecpf_idx() 491 static inline int mlx5_eswitch_vport_num_to_index(struct mlx5_eswitch *esw, in mlx5_eswitch_vport_num_to_index() 506 static inline u16 mlx5_eswitch_index_to_vport_num(struct mlx5_eswitch *esw, in mlx5_eswitch_index_to_vport_num() 525 #define mlx5_esw_for_all_vports(esw, i, vport) \ argument 530 #define mlx5_esw_for_all_vports_reverse(esw, i, vport) \ argument 535 #define mlx5_esw_for_each_vf_vport(esw, i, vport, nvfs) \ argument 540 #define mlx5_esw_for_each_vf_vport_reverse(esw, i, vport, nvfs) \ argument 548 #define mlx5_esw_for_all_reps(esw, i, rep) \ argument [all …]
|
D | eswitch_offloads_termtbl.c | 93 mlx5_eswitch_termtbl_get_create(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_get_create() 144 mlx5_eswitch_termtbl_put(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_put() 180 static bool mlx5_eswitch_offload_is_uplink_port(const struct mlx5_eswitch *esw, in mlx5_eswitch_offload_is_uplink_port() 197 mlx5_eswitch_termtbl_required(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_required() 210 mlx5_eswitch_add_termtbl_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_add_termtbl_rule()
|
D | en_tc.c | 302 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_mod_hdr_table() local 1031 mlx5e_tc_offload_fdb_rules(struct mlx5_eswitch *esw, in mlx5e_tc_offload_fdb_rules() 1054 mlx5e_tc_unoffload_fdb_rules(struct mlx5_eswitch *esw, in mlx5e_tc_unoffload_fdb_rules() 1067 mlx5e_tc_offload_to_slow_path(struct mlx5_eswitch *esw, in mlx5e_tc_offload_to_slow_path() 1087 mlx5e_tc_unoffload_from_slow_path(struct mlx5_eswitch *esw, in mlx5e_tc_unoffload_from_slow_path() 1122 struct mlx5_eswitch *esw; in add_unready_flow() local 1137 struct mlx5_eswitch *esw; in remove_unready_flow() local 1153 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_add_fdb_flow() local 1257 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_del_fdb_flow() local 1298 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_add() local [all …]
|
D | en_rep.c | 137 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_hw_counters() local 240 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_replace_rep_vport_rx_rule() local 408 static void mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_stop() 425 static int mlx5e_sqs2vport_start(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_start() 467 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_add_sqs_fwd_rules() local 496 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_remove_sqs_fwd_rules() local 603 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_flows() local 1539 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_create_rep_vport_rx_rule() local 1979 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_register_vport_reps() local 1986 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_unregister_vport_reps() local
|
/Linux-v5.4/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 | main.c | 164 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_get_rep_roce() local 3490 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_set_rule_source_port() local
|
/Linux-v5.4/include/linux/mlx5/ |
D | eswitch.h | 79 static inline u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_eswitch_mode() 91 mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw) in mlx5_eswitch_vport_match_metadata_enabled() 97 mlx5_eswitch_get_vport_metadata_for_match(const struct mlx5_eswitch *esw, in mlx5_eswitch_get_vport_metadata_for_match()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 29 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_route_and_out_devs() local 89 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_route_lookup_ipv4() local
|
/Linux-v5.4/arch/s390/include/asm/ |
D | cio.h | 243 } esw; member
|
/Linux-v5.4/arch/mips/include/asm/octeon/ |
D | cvmx-npi-defs.h | 1562 uint64_t esw:2; member 1585 uint64_t esw:2; member
|
D | cvmx-npei-defs.h | 2889 uint64_t esw:2; member
|