Home
last modified time | relevance | path

Searched defs:vport_num (Results 1 – 25 of 51) sorted by relevance

123

/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()
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-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c572 mlx5_esw_bridge_ingress_flow_with_esw_create(u16 vport_num, const unsigned char *addr, in mlx5_esw_bridge_ingress_flow_with_esw_create()
641 mlx5_esw_bridge_ingress_flow_create(u16 vport_num, const unsigned char *addr, in mlx5_esw_bridge_ingress_flow_create()
650 mlx5_esw_bridge_ingress_flow_peer_create(u16 vport_num, u16 esw_owner_vhca_id, in mlx5_esw_bridge_ingress_flow_peer_create()
683 mlx5_esw_bridge_ingress_filter_flow_create(u16 vport_num, const unsigned char *addr, in mlx5_esw_bridge_ingress_filter_flow_create()
736 mlx5_esw_bridge_egress_flow_create(u16 vport_num, u16 esw_owner_vhca_id, const unsigned char *addr, in mlx5_esw_bridge_egress_flow_create()
929 static unsigned long mlx5_esw_bridge_port_key_from_data(u16 vport_num, u16 esw_owner_vhca_id) in mlx5_esw_bridge_port_key_from_data()
946 mlx5_esw_bridge_port_lookup(u16 vport_num, u16 esw_owner_vhca_id, in mlx5_esw_bridge_port_lookup()
960 mlx5_esw_bridge_from_port_lookup(u16 vport_num, u16 esw_owner_vhca_id, in mlx5_esw_bridge_from_port_lookup()
1303 mlx5_esw_bridge_port_vlan_lookup(u16 vid, u16 vport_num, u16 esw_owner_vhca_id, in mlx5_esw_bridge_port_vlan_lookup()
1343 mlx5_esw_bridge_fdb_entry_init(struct net_device *dev, u16 vport_num, u16 esw_owner_vhca_id, in mlx5_esw_bridge_fdb_entry_init()
[all …]
Ddevlink_port.c17 static bool mlx5_esw_devlink_port_supported(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_devlink_port_supported()
25 u16 vport_num, in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
61 u16 vport_num = vport->vport; in mlx5_esw_offloads_pf_vf_devlink_port_init() local
153 u16 vport_num = vport->vport; in mlx5_esw_offloads_devlink_port_register() local
200 struct devlink_port *mlx5_esw_offloads_devlink_port(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_devlink_port()
Dipsec.c9 static int esw_ipsec_vf_query_generic(struct mlx5_core_dev *dev, u16 vport_num, bool *result) in esw_ipsec_vf_query_generic()
81 static int esw_ipsec_vf_set_generic(struct mlx5_core_dev *dev, u16 vport_num, bool ipsec_ofld) in esw_ipsec_vf_set_generic()
171 static int esw_ipsec_vf_crypto_aux_caps_set(struct mlx5_core_dev *dev, u16 vport_num, bool enable) in esw_ipsec_vf_crypto_aux_caps_set()
261 static int esw_ipsec_offload_supported(struct mlx5_core_dev *dev, u16 vport_num) in esw_ipsec_offload_supported()
294 u16 vport_num) in mlx5_esw_ipsec_vf_crypto_offload_supported()
325 u16 vport_num) in mlx5_esw_ipsec_vf_packet_offload_supported()
Dindir_table.h59 u16 vport_num, in mlx5_esw_indir_table_needed()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dib_rep.h36 u16 vport_num) in mlx5_ib_get_rep_ibdev()
49 u16 vport_num) in mlx5_ib_vport_rep()
66 u16 vport_num) in mlx5_ib_get_rep_netdev()
Dib_rep.c117 u16 vport_num) in mlx5_ib_get_rep_ibdev()
123 u16 vport_num) in mlx5_ib_get_rep_netdev()
134 u16 vport_num) in mlx5_ib_vport_rep()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c68 u16 *vport_num, u16 *esw_owner_vhca_id) in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
92 u16 *vport_num, u16 *esw_owner_vhca_id) in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
141 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_changeupper() local
227 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_obj_add() local
261 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_obj_del() local
292 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_obj_attr_set() local
378 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_switchdev_fdb_event_work() local
439 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_switchdev_event() local
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dofld.h36 u16 vport_num) in mlx5_esw_acl_ingress_vport_drop_rule_destroy()
40 u16 vport_num) in mlx5_esw_acl_ingress_vport_drop_rule_create()
Dingress_ofld.c359 int mlx5_esw_acl_ingress_vport_metadata_update(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_esw_acl_ingress_vport_metadata_update()
386 int mlx5_esw_acl_ingress_vport_drop_rule_create(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_acl_ingress_vport_drop_rule_create()
398 void mlx5_esw_acl_ingress_vport_drop_rule_destroy(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_acl_ingress_vport_drop_rule_destroy()
Degress_ofld.c181 static bool esw_acl_egress_needed(struct mlx5_eswitch *esw, u16 vport_num) in esw_acl_egress_needed()
265 int mlx5_esw_acl_egress_vport_unbond(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_acl_egress_vport_unbond()
Dhelper.c16 u16 vport_num; in esw_acl_table_create() local
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c107 mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport()
373 u16 vport_num; in update_allmulti_vports() local
845 u16 vport_num = vport->vport; in esw_vport_setup() local
889 u16 vport_num = vport->vport; in esw_vport_cleanup() local
904 u16 vport_num = vport->vport; in mlx5_esw_vport_enable() local
959 u16 vport_num = vport->vport; in mlx5_esw_vport_disable() local
1002 u16 vport_num; in eswitch_vport_event() local
1108 static int mlx5_eswitch_load_pf_vf_vport(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_eswitch_load_pf_vf_vport()
1132 static void mlx5_eswitch_unload_pf_vf_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_unload_pf_vf_vport()
1144 int mlx5_eswitch_load_sf_vport(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_eswitch_load_sf_vport()
[all …]
Deswitch_offloads.c76 u16 vport_num) in mlx5_eswitch_get_rep()
1030 mlx5_eswitch_add_send_to_vport_meta_rule(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_add_send_to_vport_meta_rule()
2517 static int mlx5_esw_offloads_rep_load(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_rep_load()
2541 static void mlx5_esw_offloads_rep_unload(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_rep_unload()
4005 mlx5_eswitch_vport_has_rep(const struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_vport_has_rep()
4100 u16 vport_num) in mlx5_eswitch_get_vport_metadata_for_match()
4111 static int mlx5_esw_query_vport_vhca_id(struct mlx5_eswitch *esw, u16 vport_num, u16 *vhca_id) in mlx5_esw_query_vport_vhca_id()
4136 int mlx5_esw_vport_vhca_id_set(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_vport_vhca_id_set()
4162 void mlx5_esw_vport_vhca_id_clear(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_vport_vhca_id_clear()
4176 int mlx5_eswitch_vhca_id_to_vport(struct mlx5_eswitch *esw, u16 vhca_id, u16 *vport_num) in mlx5_eswitch_vhca_id_to_vport()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c92 mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport()
569 u16 i, vport_num; in update_allmulti_vports() local
1139 int mlx5_esw_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_esw_modify_vport_rate()
1227 u16 vport_num = vport->vport; in esw_vport_setup() local
1265 u16 vport_num = vport->vport; in esw_vport_cleanup() local
1277 static int esw_enable_vport(struct mlx5_eswitch *esw, u16 vport_num, in esw_enable_vport()
1320 static void esw_disable_vport(struct mlx5_eswitch *esw, u16 vport_num) in esw_disable_vport()
1356 u16 vport_num; in eswitch_vport_event() local
1432 int mlx5_eswitch_load_vport(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_eswitch_load_vport()
1452 void mlx5_eswitch_unload_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_unload_vport()
[all …]
Deswitch_offloads.c236 u16 vport_num) in mlx5_eswitch_get_rep()
1826 static int mlx5_esw_offloads_rep_load(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_rep_load()
1850 static void mlx5_esw_offloads_rep_unload(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_rep_unload()
1860 int esw_offloads_load_rep(struct mlx5_eswitch *esw, u16 vport_num) in esw_offloads_load_rep()
1881 void esw_offloads_unload_rep(struct mlx5_eswitch *esw, u16 vport_num) in esw_offloads_unload_rep()
2717 mlx5_eswitch_vport_has_rep(const struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_vport_has_rep()
2798 bool mlx5_eswitch_is_vf_vport(const struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_is_vf_vport()
2817 u16 vport_num) in mlx5_eswitch_get_vport_metadata_for_match()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Degress_ofld.c151 static bool esw_acl_egress_needed(const struct mlx5_eswitch *esw, u16 vport_num) in esw_acl_egress_needed()
234 int mlx5_esw_acl_egress_vport_unbond(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_acl_egress_vport_unbond()
Dhelper.c9 esw_acl_table_create(struct mlx5_eswitch *esw, u16 vport_num, int ns, int size) in esw_acl_table_create()
Dingress_ofld.c296 int mlx5_esw_acl_ingress_vport_bond_update(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_esw_acl_ingress_vport_bond_update()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
Dib_rep.h35 u16 vport_num) in mlx5_ib_get_rep_netdev()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dreporter_vnic.c18 u16 vport_num, bool other_vport) in mlx5_reporter_vnic_diagnose_counters()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_fw.c8 mlx5dr_fw_create_recalc_cs_ft(struct mlx5dr_domain *dmn, u32 vport_num) in mlx5dr_fw_create_recalc_cs_ft()
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c149 u8 vport_num = vema_get_vport_num(recvd_mad); in vema_get_vport_adapter() local
200 u8 vport_num) in vema_add_vport()
314 u8 vport_num; in vema_set_veswport_info() local
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c148 u8 vport_num = vema_get_vport_num(recvd_mad); in vema_get_vport_adapter() local
199 u8 vport_num) in vema_add_vport()
313 u8 vport_num; in vema_set_veswport_info() local
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_fw.c8 mlx5dr_fw_create_recalc_cs_ft(struct mlx5dr_domain *dmn, u16 vport_num) in mlx5dr_fw_create_recalc_cs_ft()

123