/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_matchall.c | 16 struct mlxsw_sp_mall_entry *mall_entry; in mlxsw_sp_mall_entry_find() local 18 list_for_each_entry(mall_entry, &block->mall.list, list) in mlxsw_sp_mall_entry_find() 19 if (mall_entry->cookie == cookie) in mlxsw_sp_mall_entry_find() 20 return mall_entry; in mlxsw_sp_mall_entry_find() 27 struct mlxsw_sp_mall_entry *mall_entry) in mlxsw_sp_mall_port_mirror_add() 35 if (!mall_entry->mirror.to_dev) { in mlxsw_sp_mall_port_mirror_add() 40 agent_parms.to_dev = mall_entry->mirror.to_dev; in mlxsw_sp_mall_port_mirror_add() 41 err = mlxsw_sp_span_agent_get(mlxsw_sp, &mall_entry->mirror.span_id, in mlxsw_sp_mall_port_mirror_add() 47 mall_entry->ingress); in mlxsw_sp_mall_port_mirror_add() 51 trigger = mall_entry in mlxsw_sp_mall_port_mirror_add() 26 mlxsw_sp_mall_port_mirror_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_mirror_add() argument 69 mlxsw_sp_mall_port_mirror_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_mirror_del() argument 95 mlxsw_sp_mall_port_sample_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_sample_add() argument 128 mlxsw_sp_mall_port_rule_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_rule_add() argument 143 mlxsw_sp_mall_port_rule_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_rule_del() argument 160 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_prio_update() local 179 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_replace() local 296 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_destroy() local 319 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_port_bind() local 339 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_port_unbind() local [all...] |
H A D | spectrum_qdisc.c | 1325 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_span_configure() 1385 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_mirror_configure() 1389 .to_dev = mall_entry->mirror.to_dev, in mlxsw_sp_qevent_mirror_configure() 1392 return mlxsw_sp_qevent_span_configure(mlxsw_sp, mall_entry, qevent_binding, in mlxsw_sp_qevent_mirror_configure() 1393 &agent_parms, &mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_configure() 1397 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_mirror_deconfigure() 1400 mlxsw_sp_qevent_span_deconfigure(mlxsw_sp, qevent_binding, mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_deconfigure() 1404 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_trap_configure() 1417 return mlxsw_sp_qevent_span_configure(mlxsw_sp, mall_entry, qevent_binding, in mlxsw_sp_qevent_trap_configure() 1418 &agent_parms, &mall_entry in mlxsw_sp_qevent_trap_configure() 1324 mlxsw_sp_qevent_span_configure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding, const struct mlxsw_sp_span_agent_parms *agent_parms, int *p_span_id) mlxsw_sp_qevent_span_configure() argument 1384 mlxsw_sp_qevent_mirror_configure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_mirror_configure() argument 1396 mlxsw_sp_qevent_mirror_deconfigure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_mirror_deconfigure() argument 1403 mlxsw_sp_qevent_trap_configure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_trap_configure() argument 1421 mlxsw_sp_qevent_trap_deconfigure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_trap_deconfigure() argument 1428 mlxsw_sp_qevent_entry_configure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_entry_configure() argument 1444 mlxsw_sp_qevent_entry_deconfigure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_entry_deconfigure() argument 1462 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_binding_configure() local 1484 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_binding_deconfigure() local 1521 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_mall_entry_find() local 1534 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_mall_replace() local 1598 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_mall_destroy() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_matchall.c | 16 struct mlxsw_sp_mall_entry *mall_entry; in mlxsw_sp_mall_entry_find() local 18 list_for_each_entry(mall_entry, &block->mall.list, list) in mlxsw_sp_mall_entry_find() 19 if (mall_entry->cookie == cookie) in mlxsw_sp_mall_entry_find() 20 return mall_entry; in mlxsw_sp_mall_entry_find() 27 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_mall_port_mirror_add() 36 if (!mall_entry->mirror.to_dev) { in mlxsw_sp_mall_port_mirror_add() 41 agent_parms.to_dev = mall_entry->mirror.to_dev; in mlxsw_sp_mall_port_mirror_add() 42 err = mlxsw_sp_span_agent_get(mlxsw_sp, &mall_entry->mirror.span_id, in mlxsw_sp_mall_port_mirror_add() 50 mall_entry->ingress); in mlxsw_sp_mall_port_mirror_add() 56 trigger = mall_entry in mlxsw_sp_mall_port_mirror_add() 26 mlxsw_sp_mall_port_mirror_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp_mall_port_mirror_add() argument 77 mlxsw_sp_mall_port_mirror_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_mirror_del() argument 103 mlxsw_sp_mall_port_sample_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp_mall_port_sample_add() argument 134 mlxsw_sp_mall_port_sample_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_sample_del() argument 151 mlxsw_sp_mall_port_rule_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp_mall_port_rule_add() argument 169 mlxsw_sp_mall_port_rule_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_rule_del() argument 186 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_prio_update() local 205 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_replace() local 314 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_destroy() local 338 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_port_bind() local 359 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_mall_port_unbind() local 379 mlxsw_sp1_mall_sample_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp1_mall_sample_add() argument 399 mlxsw_sp1_mall_sample_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp1_mall_sample_del() argument 411 mlxsw_sp2_mall_sample_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp2_mall_sample_add() argument 459 mlxsw_sp2_mall_sample_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp2_mall_sample_del() argument [all...] |
H A D | spectrum_qdisc.c | 1762 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_span_configure() 1830 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_mirror_configure() 1834 .to_dev = mall_entry->mirror.to_dev, in mlxsw_sp_qevent_mirror_configure() 1837 return mlxsw_sp_qevent_span_configure(mlxsw_sp, mall_entry, qevent_binding, in mlxsw_sp_qevent_mirror_configure() 1838 &agent_parms, &mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_configure() 1842 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_mirror_deconfigure() 1845 mlxsw_sp_qevent_span_deconfigure(mlxsw_sp, qevent_binding, mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_deconfigure() 1849 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_trap_configure() 1864 return mlxsw_sp_qevent_span_configure(mlxsw_sp, mall_entry, qevent_binding, in mlxsw_sp_qevent_trap_configure() 1865 &agent_parms, &mall_entry in mlxsw_sp_qevent_trap_configure() 1761 mlxsw_sp_qevent_span_configure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding, const struct mlxsw_sp_span_agent_parms *agent_parms, int *p_span_id) mlxsw_sp_qevent_span_configure() argument 1829 mlxsw_sp_qevent_mirror_configure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_mirror_configure() argument 1841 mlxsw_sp_qevent_mirror_deconfigure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_mirror_deconfigure() argument 1848 mlxsw_sp_qevent_trap_configure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_trap_configure() argument 1868 mlxsw_sp_qevent_trap_deconfigure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_trap_deconfigure() argument 1876 mlxsw_sp_qevent_entry_configure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding, struct netlink_ext_ack *extack) mlxsw_sp_qevent_entry_configure() argument 1898 mlxsw_sp_qevent_entry_deconfigure(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mall_entry *mall_entry, struct mlxsw_sp_qevent_binding *qevent_binding) mlxsw_sp_qevent_entry_deconfigure() argument 1918 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_binding_configure() local 1940 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_binding_deconfigure() local 1981 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_mall_entry_find() local 1994 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_mall_replace() local 2058 struct mlxsw_sp_mall_entry *mall_entry; mlxsw_sp_qevent_mall_destroy() local [all...] |
H A D | spectrum.h | 1177 struct mlxsw_sp_mall_entry *mall_entry, 1181 struct mlxsw_sp_mall_entry *mall_entry);
|