Home
last modified time | relevance | path

Searched refs:esw (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c65 static void esw_destroy_legacy_fdb_table(struct mlx5_eswitch *esw);
66 static void esw_cleanup_vepa_rules(struct mlx5_eswitch *esw);
92 mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport() argument
96 if (!esw || !MLX5_CAP_GEN(esw->dev, vport_group_manager)) in mlx5_eswitch_get_vport()
99 idx = mlx5_eswitch_vport_num_to_index(esw, vport_num); in mlx5_eswitch_get_vport()
101 if (idx > esw->total_vports - 1) { in mlx5_eswitch_get_vport()
102 esw_debug(esw->dev, "vport out of range: num(0x%x), idx(0x%x)\n", in mlx5_eswitch_get_vport()
107 return &esw->vports[idx]; 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() argument
230 esw_debug(esw->dev, in __esw_fdb_set_vport_rule()
[all …]
Deswitch_offloads.c86 esw_vport_tbl_create(struct mlx5_eswitch *esw, struct mlx5_flow_namespace *ns) in esw_vport_tbl_create() argument
96 esw_warn(esw->dev, "Failed to create per vport FDB Table err %ld\n", in esw_vport_tbl_create()
103 static u32 flow_attr_to_vport_key(struct mlx5_eswitch *esw, in flow_attr_to_vport_key() argument
110 key->vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); 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() argument
120 hash_for_each_possible(esw->fdb_table.offloads.vports.table, e, hlist, 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() argument
134 mutex_lock(&esw->fdb_table.offloads.vports.lock); in esw_vport_tbl_put()
135 hkey = flow_attr_to_vport_key(esw, attr, &key); in esw_vport_tbl_put()
136 e = esw_vport_tbl_lookup(esw, &key, hkey); in esw_vport_tbl_put()
[all …]
Deswitch.h66 #define esw_chains(esw) \ argument
67 ((esw)->fdb_table.offloads.esw_chains_priv)
231 struct mlx5_eswitch *esw; member
282 void esw_offloads_disable(struct mlx5_eswitch *esw);
283 int esw_offloads_enable(struct mlx5_eswitch *esw);
284 void esw_offloads_cleanup_reps(struct mlx5_eswitch *esw);
285 int esw_offloads_init_reps(struct mlx5_eswitch *esw);
287 u32 mlx5_esw_match_metadata_alloc(struct mlx5_eswitch *esw);
288 void mlx5_esw_match_metadata_free(struct mlx5_eswitch *esw, u32 metadata);
290 int mlx5_esw_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num,
[all …]
Deswitch_offloads_termtbl.c110 mlx5_eswitch_termtbl_get_create(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_get_create() argument
120 mutex_lock(&esw->offloads.termtbl_mutex); in mlx5_eswitch_termtbl_get_create()
122 hash_for_each_possible(esw->offloads.termtbl_tbl, tt, in mlx5_eswitch_termtbl_get_create()
145 err = mlx5_eswitch_termtbl_create(esw->dev, tt, flow_act); in mlx5_eswitch_termtbl_get_create()
147 esw_warn(esw->dev, "Failed to create termination table\n"); in mlx5_eswitch_termtbl_get_create()
150 hash_add(esw->offloads.termtbl_tbl, &tt->termtbl_hlist, hash_key); in mlx5_eswitch_termtbl_get_create()
153 mutex_unlock(&esw->offloads.termtbl_mutex); in mlx5_eswitch_termtbl_get_create()
157 mutex_unlock(&esw->offloads.termtbl_mutex); in mlx5_eswitch_termtbl_get_create()
162 mlx5_eswitch_termtbl_put(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_put() argument
165 mutex_lock(&esw->offloads.termtbl_mutex); in mlx5_eswitch_termtbl_put()
[all …]
Den_tc.c275 #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
284 if (esw_offloads_mode(esw)) { in get_ct_priv()
285 uplink_rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in get_ct_priv()
299 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_rule_insert() local
301 if (esw_offloads_mode(esw)) in mlx5_tc_rule_insert()
302 return mlx5_eswitch_add_offloaded_rule(esw, spec, attr); in mlx5_tc_rule_insert()
312 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_rule_delete() local
314 if (esw_offloads_mode(esw)) { in mlx5_tc_rule_delete()
315 mlx5_eswitch_del_offloaded_rule(esw, rule, attr); in mlx5_tc_rule_delete()
[all …]
DMakefile50 mlx5_core-$(CONFIG_MLX5_ESWITCH) += esw/acl/helper.o \
51 esw/acl/egress_lgcy.o esw/acl/egress_ofld.o \
52 esw/acl/ingress_lgcy.o esw/acl/ingress_ofld.o \
53 esw/devlink_port.o
Den_rep.c174 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
181 err = mlx5_eswitch_get_vport_stats(esw, rep->vport, &vf_stats); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
377 static void mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_stop() argument
383 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()
394 static int mlx5e_sqs2vport_start(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_start() argument
404 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
416 flow_rule = mlx5_eswitch_add_send_to_vport_rule(esw, in mlx5e_sqs2vport_start()
430 mlx5e_sqs2vport_stop(esw, rep); in mlx5e_sqs2vport_start()
436 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_add_sqs_fwd_rules() local
454 err = mlx5e_sqs2vport_start(esw, rep, sqs, num_sqs); in mlx5e_add_sqs_fwd_rules()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_ofld.c10 esw_acl_ingress_prio_tag_enabled(const struct mlx5_eswitch *esw, in esw_acl_ingress_prio_tag_enabled() argument
13 return (MLX5_CAP_GEN(esw->dev, prio_tag_required) && in esw_acl_ingress_prio_tag_enabled()
14 mlx5_eswitch_is_vf_vport(esw, vport->vport)); 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() argument
52 esw_warn(esw->dev, 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() argument
70 key = mlx5_eswitch_get_vport_metadata_for_match(esw, vport->vport); in esw_acl_ingress_mod_metadata_create()
83 mlx5_modify_header_alloc(esw->dev, MLX5_FLOW_NAMESPACE_ESW_INGRESS, in esw_acl_ingress_mod_metadata_create()
87 esw_warn(esw->dev, in esw_acl_ingress_mod_metadata_create()
100 esw_warn(esw->dev, in esw_acl_ingress_mod_metadata_create()
[all …]
Degress_ofld.c18 static int esw_acl_egress_ofld_fwd2vport_create(struct mlx5_eswitch *esw, in esw_acl_egress_ofld_fwd2vport_create() argument
25 esw_debug(esw->dev, "vport(%d) configure egress acl rule fwd2vport(%d)\n", in esw_acl_egress_ofld_fwd2vport_create()
38 esw_warn(esw->dev, 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() argument
54 if (MLX5_CAP_GEN(esw->dev, prio_tag_required)) { in esw_acl_egress_ofld_rules_create()
59 esw_debug(esw->dev, in esw_acl_egress_ofld_rules_create()
67 err = esw_egress_acl_vlan_create(esw, vport, fwd_dest, 0, action); in esw_acl_egress_ofld_rules_create()
73 err = esw_acl_egress_ofld_fwd2vport_create(esw, vport, fwd_dest); 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() argument
101 if (MLX5_CAP_GEN(esw->dev, prio_tag_required)) { in esw_acl_egress_ofld_groups_create()
[all …]
Dofld.h10 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
12 int mlx5_esw_acl_egress_vport_bond(struct mlx5_eswitch *esw, u16 active_vport_num,
14 int mlx5_esw_acl_egress_vport_unbond(struct mlx5_eswitch *esw, u16 vport_num);
16 static inline bool mlx5_esw_acl_egress_fwd2vport_supported(struct mlx5_eswitch *esw) in mlx5_esw_acl_egress_fwd2vport_supported() argument
18 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
19 mlx5_eswitch_vport_match_metadata_enabled(esw) && in mlx5_esw_acl_egress_fwd2vport_supported()
20 MLX5_CAP_ESW_FLOWTABLE(esw->dev, egress_acl_forward_to_vport); in mlx5_esw_acl_egress_fwd2vport_supported()
24 int esw_acl_ingress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
25 void esw_acl_ingress_ofld_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
26 int mlx5_esw_acl_ingress_vport_bond_update(struct mlx5_eswitch *esw, u16 vport_num,
Degress_lgcy.c18 static int esw_acl_egress_lgcy_groups_create(struct mlx5_eswitch *esw, in esw_acl_egress_lgcy_groups_create() argument
22 struct mlx5_core_dev *dev = esw->dev; in esw_acl_egress_lgcy_groups_create()
27 err = esw_acl_egress_vlan_grp_create(esw, vport); in esw_acl_egress_lgcy_groups_create()
67 int esw_acl_egress_lgcy_setup(struct mlx5_eswitch *esw, in esw_acl_egress_lgcy_setup() argument
84 } else if (MLX5_CAP_ESW_EGRESS_ACL(esw->dev, flow_counter)) { in esw_acl_egress_lgcy_setup()
85 drop_counter = mlx5_fc_create(esw->dev, false); in esw_acl_egress_lgcy_setup()
87 esw_warn(esw->dev, in esw_acl_egress_lgcy_setup()
98 esw_acl_egress_lgcy_cleanup(esw, vport); in esw_acl_egress_lgcy_setup()
103 vport->egress.acl = esw_acl_table_create(esw, vport->vport, in esw_acl_egress_lgcy_setup()
112 err = esw_acl_egress_lgcy_groups_create(esw, vport); in esw_acl_egress_lgcy_setup()
[all …]
Dingress_lgcy.c18 static int esw_acl_ingress_lgcy_groups_create(struct mlx5_eswitch *esw, in esw_acl_ingress_lgcy_groups_create() argument
22 struct mlx5_core_dev *dev = esw->dev; in esw_acl_ingress_lgcy_groups_create()
139 int esw_acl_ingress_lgcy_setup(struct mlx5_eswitch *esw, in esw_acl_ingress_lgcy_setup() argument
165 } else if (MLX5_CAP_ESW_INGRESS_ACL(esw->dev, flow_counter)) { in esw_acl_ingress_lgcy_setup()
166 counter = mlx5_fc_create(esw->dev, false); in esw_acl_ingress_lgcy_setup()
168 esw_warn(esw->dev, in esw_acl_ingress_lgcy_setup()
177 esw_acl_ingress_lgcy_cleanup(esw, vport); in esw_acl_ingress_lgcy_setup()
182 vport->ingress.acl = esw_acl_table_create(esw, vport->vport, in esw_acl_ingress_lgcy_setup()
191 err = esw_acl_ingress_lgcy_groups_create(esw, vport); in esw_acl_ingress_lgcy_setup()
196 esw_debug(esw->dev, in esw_acl_ingress_lgcy_setup()
[all …]
Dlgcy.h10 int esw_acl_egress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
11 void esw_acl_egress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
14 int esw_acl_ingress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
15 void esw_acl_ingress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
Dhelper.c9 esw_acl_table_create(struct mlx5_eswitch *esw, u16 vport_num, int ns, int size) in esw_acl_table_create() argument
11 struct mlx5_core_dev *dev = esw->dev; in esw_acl_table_create()
28 vport_index = mlx5_eswitch_vport_num_to_index(esw, vport_num); in esw_acl_table_create()
45 int esw_egress_acl_vlan_create(struct mlx5_eswitch *esw, in esw_egress_acl_vlan_create() argument
73 esw_warn(esw->dev, 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() argument
115 esw_warn(esw->dev, in esw_acl_egress_vlan_grp_create()
Dhelper.h11 esw_acl_table_create(struct mlx5_eswitch *esw, u16 vport_num, int ns, int size);
15 int esw_egress_acl_vlan_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport,
19 int esw_acl_egress_vlan_grp_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
/kernel/linux/linux-5.10/include/linux/mlx5/
Deswitch.h53 void mlx5_eswitch_register_vport_reps(struct mlx5_eswitch *esw,
56 void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type);
57 void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw,
60 struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw,
62 void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type);
64 mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw,
73 bool mlx5_eswitch_reg_c1_loopback_enabled(const struct mlx5_eswitch *esw);
74 bool mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw);
97 u32 mlx5_eswitch_get_vport_metadata_for_match(struct mlx5_eswitch *esw,
99 u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw);
[all …]
/kernel/linux/linux-5.10/drivers/s390/cio/
Ddevice_status.c124 cdev_irb->esw.esw1.lpum = irb->esw.esw1.lpum; in ccw_device_accumulate_esw()
128 cdev_sublog = &cdev_irb->esw.esw0.sublog; in ccw_device_accumulate_esw()
129 sublog = &irb->esw.esw0.sublog; in ccw_device_accumulate_esw()
158 cdev_irb->esw.esw0.erw.cpt = irb->esw.esw0.erw.cpt; in ccw_device_accumulate_esw()
160 cdev_irb->esw.esw0.erw.fsavf = irb->esw.esw0.erw.fsavf; in ccw_device_accumulate_esw()
161 if (cdev_irb->esw.esw0.erw.fsavf) { in ccw_device_accumulate_esw()
163 memcpy(cdev_irb->esw.esw0.faddr, irb->esw.esw0.faddr, in ccw_device_accumulate_esw()
164 sizeof (irb->esw.esw0.faddr)); in ccw_device_accumulate_esw()
166 cdev_irb->esw.esw0.erw.fsaf = irb->esw.esw0.erw.fsaf; in ccw_device_accumulate_esw()
169 cdev_irb->esw.esw0.erw.scavf = irb->esw.esw0.erw.scavf; in ccw_device_accumulate_esw()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c18 mlx5_esw_devlink_port_supported(const struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_devlink_port_supported() argument
21 (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
22 mlx5_eswitch_is_vf_vport(esw, 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() argument
27 struct mlx5_core_dev *dev = esw->dev; in mlx5_esw_dl_port_alloc()
55 } else if (mlx5_eswitch_is_vf_vport(esw, 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() argument
71 struct mlx5_core_dev *dev = esw->dev; in mlx5_esw_offloads_devlink_port_register()
78 if (!mlx5_esw_devlink_port_supported(esw, vport_num)) in mlx5_esw_offloads_devlink_port_register()
81 vport = mlx5_eswitch_get_vport(esw, vport_num); in mlx5_esw_offloads_devlink_port_register()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dib_rep.c99 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5_ib_register_vport_reps() local
101 mlx5_eswitch_register_vport_reps(esw, &rep_ops, REP_IB); in mlx5_ib_register_vport_reps()
106 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5_ib_unregister_vport_reps() local
108 mlx5_eswitch_unregister_vport_reps(esw, REP_IB); in mlx5_ib_unregister_vport_reps()
111 u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() argument
113 return mlx5_eswitch_mode(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() argument
119 return mlx5_eswitch_get_proto_dev(esw, vport_num, REP_IB); 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() argument
125 return mlx5_eswitch_get_proto_dev(esw, vport_num, REP_ETH); in mlx5_ib_get_rep_netdev()
[all …]
Dib_rep.h15 u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw);
16 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw,
18 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw);
19 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw,
26 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw,
29 static inline u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() argument
35 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_ibdev() argument
42 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw) in mlx5_ib_get_uplink_ibdev() argument
48 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, in mlx5_ib_vport_rep() argument
65 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c26 struct mlx5_eswitch *esw; member
74 mlx5_esw_match_metadata_free(mdata->esw, mdata->metadata_reg_c_0); in mlx5e_rep_bond_metadata_release()
80 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev, in mlx5e_rep_bond_enslave() argument
91 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in mlx5e_rep_bond_enslave()
100 mdata->esw = esw; in mlx5e_rep_bond_enslave()
102 mdata->metadata_reg_c_0 = mlx5_esw_match_metadata_alloc(esw); in mlx5e_rep_bond_enslave()
123 err = mlx5_esw_acl_ingress_vport_bond_update(esw, rpriv->rep->vport, in mlx5e_rep_bond_enslave()
144 void mlx5e_rep_bond_unslave(struct mlx5_eswitch *esw, in mlx5e_rep_bond_unslave() argument
155 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in mlx5e_rep_bond_unslave()
170 mlx5_esw_acl_ingress_vport_bond_update(esw, rpriv->rep->vport, 0); in mlx5e_rep_bond_unslave()
[all …]
Dtc.c88 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_flows() local
97 mutex_lock(&esw->offloads.encap_tbl_lock); in mlx5e_rep_update_flows()
124 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_rep_update_flows()
185 struct mlx5_eswitch *esw; in mlx5e_rep_setup_ft_cb() local
192 esw = priv->mdev->priv.eswitch; in mlx5e_rep_setup_ft_cb()
198 if (!mlx5_chains_prios_supported(esw_chains(esw))) in mlx5e_rep_setup_ft_cb()
210 if (tmp.common.prio >= mlx5_chains_get_prio_range(esw_chains(esw))) in mlx5e_rep_setup_ft_cb()
215 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_setup_ft_cb()
358 struct mlx5_eswitch *esw; in mlx5e_rep_indr_setup_ft_cb() local
363 esw = mpriv->mdev->priv.eswitch; in mlx5e_rep_indr_setup_ft_cb()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dralink,rt3050-esw.txt8 - compatible: Should be "ralink,rt3050-esw"
12 - reset-names: Should contain the reset names "esw"
21 esw@10110000 {
22 compatible = "ralink,rt3050-esw";
26 reset-names = "esw";
Dmediatek-net.txt21 "ethif", "esw", "gp2", "gp1" : For MT2701 and MT7623 SoC
22 "ethif", "esw", "gp0", "gp1", "gp2", "sgmii_tx250m", "sgmii_rx250m",
24 "ethif", "sgmiitop", "esw", "gp0", "gp1", "gp2", "fe", "sgmii_tx250m",
63 clock-names = "ethif", "esw", "gp2", "gp1";
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-sli-defs.h108 __BITFIELD_FIELD(uint64_t esw:2,
120 __BITFIELD_FIELD(uint64_t esw:2,

123