Home
last modified time | relevance | path

Searched defs:vport (Results 1 – 25 of 93) sorted by relevance

1234

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_ofld.c14 const struct mlx5_vport *vport) in esw_acl_ingress_prio_tag_enabled()
21 struct mlx5_vport *vport) in esw_acl_ingress_prio_tag_create()
66 struct mlx5_vport *vport) in esw_acl_ingress_mod_metadata_create()
114 struct mlx5_vport *vport) in esw_acl_ingress_mod_metadata_destroy()
125 struct mlx5_vport *vport) in esw_acl_ingress_src_port_drop_create()
158 struct mlx5_vport *vport) in esw_acl_ingress_src_port_drop_destroy()
168 struct mlx5_vport *vport) in esw_acl_ingress_ofld_rules_create()
200 struct mlx5_vport *vport) in esw_acl_ingress_ofld_rules_destroy()
208 struct mlx5_vport *vport) in esw_acl_ingress_ofld_groups_create()
300 static void esw_acl_ingress_ofld_groups_destroy(struct mlx5_vport *vport) in esw_acl_ingress_ofld_groups_destroy()
[all …]
H A Degress_ofld.c9 static void esw_acl_egress_ofld_fwd2vport_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_fwd2vport_destroy()
18 void esw_acl_egress_ofld_bounce_rule_destroy(struct mlx5_vport *vport, int rule_index) in esw_acl_egress_ofld_bounce_rule_destroy()
30 static void esw_acl_egress_ofld_bounce_rules_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_bounce_rules_destroy()
42 struct mlx5_vport *vport, in esw_acl_egress_ofld_fwd2vport_create()
71 struct mlx5_vport *vport, in esw_acl_egress_ofld_rules_create()
109 static void esw_acl_egress_ofld_rules_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_rules_destroy()
117 struct mlx5_vport *vport) in esw_acl_egress_ofld_groups_create()
166 static void esw_acl_egress_ofld_groups_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_groups_destroy()
186 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_ofld_setup()
232 void esw_acl_egress_ofld_cleanup(struct mlx5_vport *vport) in esw_acl_egress_ofld_cleanup()
[all …]
H A Dhelper.c9 esw_acl_table_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport, int ns, int size) in esw_acl_table_create()
50 struct mlx5_vport *vport, in esw_egress_acl_vlan_create()
87 void esw_acl_egress_vlan_destroy(struct mlx5_vport *vport) in esw_acl_egress_vlan_destroy()
95 int esw_acl_egress_vlan_grp_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_vlan_grp_create()
131 void esw_acl_egress_vlan_grp_destroy(struct mlx5_vport *vport) in esw_acl_egress_vlan_grp_destroy()
139 void esw_acl_egress_table_destroy(struct mlx5_vport *vport) in esw_acl_egress_table_destroy()
148 void esw_acl_ingress_table_destroy(struct mlx5_vport *vport) in esw_acl_ingress_table_destroy()
157 void esw_acl_ingress_allow_rule_destroy(struct mlx5_vport *vport) in esw_acl_ingress_allow_rule_destroy()
H A Dingress_lgcy.c9 static void esw_acl_ingress_lgcy_rules_destroy(struct mlx5_vport *vport) in esw_acl_ingress_lgcy_rules_destroy()
19 struct mlx5_vport *vport) in esw_acl_ingress_lgcy_groups_create()
119 static void esw_acl_ingress_lgcy_groups_destroy(struct mlx5_vport *vport) in esw_acl_ingress_lgcy_groups_destroy()
140 struct mlx5_vport *vport) in esw_acl_ingress_lgcy_setup()
289 struct mlx5_vport *vport) in esw_acl_ingress_lgcy_cleanup()
/linux/net/openvswitch/
H A Dvport.h74 struct vport { struct
78 struct vport_portids __rcu *upcall_portids; argument
83 const struct vport_ops *ops; argument
84 struct vport_upcall_stats_percpu __percpu *upcall_stats; argument
91 * struct vport_parms - parameters for creating a new vport argument
178 static inline void *vport_priv(const struct vport *vport) in vport_priv()
203 static inline const char *ovs_vport_name(struct vport *vport) in ovs_vport_name()
H A Dvport.c97 struct vport *vport; in ovs_vport_locate() local
124 struct vport *vport; ovs_vport_alloc() local
174 ovs_vport_free(struct vport * vport) ovs_vport_free() argument
207 struct vport *vport; ovs_vport_add() local
251 ovs_vport_set_options(struct vport * vport,struct nlattr * options) ovs_vport_set_options() argument
266 ovs_vport_del(struct vport * vport) ovs_vport_del() argument
283 ovs_vport_get_stats(struct vport * vport,struct ovs_vport_stats * stats) ovs_vport_get_stats() argument
310 ovs_vport_get_upcall_stats(struct vport * vport,struct sk_buff * skb) ovs_vport_get_upcall_stats() argument
367 ovs_vport_get_options(const struct vport * vport,struct sk_buff * skb) ovs_vport_get_options() argument
402 ovs_vport_set_upcall_portids(struct vport * vport,const struct nlattr * ids) ovs_vport_set_upcall_portids() argument
441 ovs_vport_get_upcall_portids(const struct vport * vport,struct sk_buff * skb) ovs_vport_get_upcall_portids() argument
466 ovs_vport_find_upcall_portid(const struct vport * vport,struct sk_buff * skb) ovs_vport_find_upcall_portid() argument
494 ovs_vport_receive(struct vport * vport,struct sk_buff * skb,const struct ip_tunnel_info * tun_info) ovs_vport_receive() argument
541 ovs_vport_send(struct vport * vport,struct sk_buff * skb,u8 mac_proto) ovs_vport_send() argument
[all...]
H A Dvport-netdev.c31 struct vport *vport; in netdev_port_receive() local
76 struct vport *ovs_netdev_link(struct vport *vport, bool tunnel) in ovs_netdev_link()
127 struct vport *vport; in netdev_create() local
165 struct vport *vport = container_of(rcu, struct vport, rcu); in vport_netdev_free() local
171 void ovs_netdev_detach_dev(struct vport *vport) in ovs_netdev_detach_dev()
185 static void netdev_destroy(struct vport *vport) in netdev_destroy()
207 void ovs_netdev_tunnel_destroy(struct vport *vport) in ovs_netdev_tunnel_destroy()
H A Dvport-geneve.c36 static inline struct geneve_port *geneve_vport(const struct vport *vport) in geneve_vport()
41 static int geneve_get_options(const struct vport *vport, in geneve_get_options()
57 struct vport *vport; in geneve_tnl_create() local
111 struct vport *vport; in geneve_create() local
H A Dvport-vxlan.c22 static int vxlan_get_options(const struct vport *vport, struct sk_buff *skb) in vxlan_get_options()
51 static int vxlan_configure_exts(struct vport *vport, struct nlattr *attr, in vxlan_configure_exts()
76 struct vport *vport; in vxlan_tnl_create() local
140 struct vport *vport; in vxlan_create() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c63 u16 vport; member
109 struct mlx5_vport *vport; in mlx5_eswitch_get_vport() local
122 static int arm_vport_context_events_cmd(struct mlx5_core_dev *dev, u16 vport, in arm_vport_context_events_cmd() argument
153 mlx5_eswitch_modify_esw_vport_context(struct mlx5_core_dev * dev,u16 vport,bool other_vport,void * in) mlx5_eswitch_modify_esw_vport_context() argument
163 modify_esw_vport_cvlan(struct mlx5_core_dev * dev,u16 vport,u16 vlan,u8 qos,u8 set_flags) modify_esw_vport_cvlan() argument
207 __esw_fdb_set_vport_rule(struct mlx5_eswitch * esw,u16 vport,bool rx_rule,u8 mac_c[ETH_ALEN],u8 mac_v[ETH_ALEN]) __esw_fdb_set_vport_rule() argument
270 esw_fdb_set_vport_rule(struct mlx5_eswitch * esw,u8 mac[ETH_ALEN],u16 vport) esw_fdb_set_vport_rule() argument
279 esw_fdb_set_vport_allmulti_rule(struct mlx5_eswitch * esw,u16 vport) esw_fdb_set_vport_allmulti_rule() argument
292 esw_fdb_set_vport_promisc_rule(struct mlx5_eswitch * esw,u16 vport) esw_fdb_set_vport_promisc_rule() argument
309 u16 vport = vaddr->vport; esw_add_uc_addr() local
342 u16 vport = vaddr->vport; esw_del_uc_addr() local
371 struct mlx5_vport *vport; update_allmulti_vports() local
420 u16 vport = vaddr->vport; esw_add_mc_addr() local
460 u16 vport = vaddr->vport; esw_del_mc_addr() local
499 esw_apply_vport_addr_list(struct mlx5_eswitch * esw,struct mlx5_vport * vport,int list_type) esw_apply_vport_addr_list() argument
533 esw_update_vport_addr_list(struct mlx5_eswitch * esw,struct mlx5_vport * vport,int list_type) esw_update_vport_addr_list() argument
620 esw_update_vport_mc_promisc(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_update_vport_mc_promisc() argument
655 esw_apply_vport_rx_mode(struct mlx5_eswitch * esw,struct mlx5_vport * vport,bool promisc,bool mc_promisc) esw_apply_vport_rx_mode() argument
698 esw_update_vport_rx_mode(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_update_vport_rx_mode() argument
725 esw_vport_change_handle_locked(struct mlx5_vport * vport) esw_vport_change_handle_locked() argument
763 struct mlx5_vport *vport = esw_vport_change_handler() local
785 esw_vport_setup_acl(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_setup_acl() argument
794 esw_vport_cleanup_acl(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_cleanup_acl() argument
802 mlx5_esw_vport_caps_get(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_vport_caps_get() argument
845 struct mlx5_vport *vport; mlx5_esw_vport_vhca_id() local
855 esw_vport_setup(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_setup() argument
897 esw_vport_cleanup(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_cleanup() argument
912 mlx5_esw_vport_set_max_tx_speed(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_vport_set_max_tx_speed() argument
929 mlx5_esw_vport_enable(struct mlx5_eswitch * esw,struct mlx5_vport * vport,enum mlx5_eswitch_vport_event enabled_events) mlx5_esw_vport_enable() argument
982 mlx5_esw_vport_disable(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_vport_disable() argument
1026 struct mlx5_vport *vport; eswitch_vport_event() local
1105 struct mlx5_vport *vport; mlx5_eswitch_clear_vf_vports_info() local
1117 struct mlx5_vport *vport; mlx5_eswitch_clear_ec_vf_vports_info() local
1127 mlx5_eswitch_load_vport(struct mlx5_eswitch * esw,struct mlx5_vport * vport,enum mlx5_eswitch_vport_event enabled_events) mlx5_eswitch_load_vport() argument
1147 mlx5_eswitch_unload_vport(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_eswitch_unload_vport() argument
1156 struct mlx5_vport *vport; mlx5_eswitch_load_pf_vf_vport() local
1179 struct mlx5_vport *vport; mlx5_eswitch_unload_pf_vf_vport() local
1193 struct mlx5_vport *vport; mlx5_eswitch_load_sf_vport() local
1217 struct mlx5_vport *vport; mlx5_eswitch_unload_sf_vport() local
1229 struct mlx5_vport *vport; mlx5_eswitch_unload_vf_vports() local
1243 struct mlx5_vport *vport; mlx5_eswitch_unload_ec_vf_vports() local
1255 struct mlx5_vport *vport; mlx5_eswitch_unload_adj_vf_vports() local
1269 struct mlx5_vport *vport; mlx5_eswitch_load_adj_vf_vports() local
1292 struct mlx5_vport *vport; mlx5_eswitch_load_vf_vports() local
1312 struct mlx5_vport *vport; mlx5_eswitch_load_ec_vf_vports() local
1332 struct mlx5_vport *vport; mlx5_esw_host_pf_enable_hca() local
1358 struct mlx5_vport *vport; mlx5_esw_host_pf_disable_hca() local
1884 struct mlx5_vport *vport; mlx5_esw_vport_alloc() local
1909 mlx5_esw_vport_free(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_vport_free() argument
1918 struct mlx5_vport *vport; mlx5_esw_vports_cleanup() local
2193 mlx5_eswitch_set_vport_mac(struct mlx5_eswitch * esw,u16 vport,const u8 * mac) mlx5_eswitch_set_vport_mac() argument
2229 mlx5_eswitch_set_vport_state(struct mlx5_eswitch * esw,u16 vport,int link_state) mlx5_eswitch_set_vport_state() argument
2267 mlx5_eswitch_get_vport_config(struct mlx5_eswitch * esw,u16 vport,struct ifla_vf_info * ivi) mlx5_eswitch_get_vport_config() argument
2299 __mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch * esw,u16 vport,u16 vlan,u8 qos,u8 set_flags) __mlx5_eswitch_set_vport_vlan() argument
2332 struct mlx5_vport *vport = mlx5_eswitch_get_vport(esw, vport_num); mlx5_eswitch_get_vport_stats() local
[all...]
H A Deswitch_offloads.c127 mlx5_eswitch_set_rule_source_port(struct mlx5_eswitch * esw,struct mlx5_flow_spec * spec,struct mlx5_flow_attr * attr,struct mlx5_eswitch * src_esw,u16 vport) mlx5_eswitch_set_rule_source_port() argument
948 u16 vport; mlx5_eswitch_add_send_to_vport_rule() local
1166 esw_set_peer_miss_rule_source_port(struct mlx5_eswitch * esw,struct mlx5_eswitch * peer_esw,struct mlx5_flow_spec * spec,u16 vport) esw_set_peer_miss_rule_source_port() argument
1570 struct mlx5_vport *vport; esw_vport_tbl_put() local
1586 struct mlx5_vport *vport; esw_vport_tbl_get() local
2189 mlx5_esw_set_spec_source_port(struct mlx5_eswitch * esw,u16 vport,struct mlx5_flow_spec * spec) mlx5_esw_set_spec_source_port() argument
2216 mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch * esw,u16 vport,struct mlx5_flow_destination * dest) mlx5_eswitch_create_vport_rx_rule() argument
2276 struct mlx5_vport *vport; mlx5_eswitch_inline_mode_get() local
2518 struct mlx5_vport *vport; mlx5_esw_fdb_active() local
2538 struct mlx5_vport *vport; mlx5_esw_fdb_inactive() local
2582 mlx5_esw_offloads_rep_remove(struct mlx5_eswitch * esw,const struct mlx5_vport * vport) mlx5_esw_offloads_rep_remove() argument
2594 mlx5_esw_offloads_rep_add(struct mlx5_eswitch * esw,const struct mlx5_vport * vport) mlx5_esw_offloads_rep_add() argument
2649 struct mlx5_vport *vport; esw_offloads_init_reps() local
2823 mlx5_esw_offloads_init_pf_vf_rep(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_offloads_init_pf_vf_rep() argument
2831 mlx5_esw_offloads_cleanup_pf_vf_rep(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_offloads_cleanup_pf_vf_rep() argument
2839 mlx5_esw_offloads_init_sf_rep(struct mlx5_eswitch * esw,struct mlx5_vport * vport,struct mlx5_devlink_port * dl_port,u32 controller,u32 sfnum) mlx5_esw_offloads_init_sf_rep() argument
2846 mlx5_esw_offloads_cleanup_sf_rep(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_offloads_cleanup_sf_rep() argument
2851 mlx5_esw_offloads_load_rep(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_offloads_load_rep() argument
2872 mlx5_esw_offloads_unload_rep(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_offloads_unload_rep() argument
2925 __esw_set_master_egress_rule(struct mlx5_core_dev * master,struct mlx5_core_dev * slave,struct mlx5_vport * vport,struct mlx5_flow_table * acl) __esw_set_master_egress_rule() argument
2974 esw_master_egress_create_resources(struct mlx5_eswitch * esw,struct mlx5_flow_namespace * egress_ns,struct mlx5_vport * vport,size_t count) esw_master_egress_create_resources() argument
3038 esw_master_egress_destroy_resources(struct mlx5_vport * vport) esw_master_egress_destroy_resources() argument
3054 struct mlx5_vport *vport; esw_set_master_egress_rule() local
3091 struct mlx5_vport *vport; esw_unset_master_egress_rule() local
3420 esw_offloads_vport_metadata_setup(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_offloads_vport_metadata_setup() argument
3432 esw_offloads_vport_metadata_cleanup(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_offloads_vport_metadata_cleanup() argument
3446 struct mlx5_vport *vport; esw_offloads_metadata_uninit() local
3458 struct mlx5_vport *vport; esw_offloads_metadata_init() local
3480 esw_vport_create_offloads_acl_tables(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_create_offloads_acl_tables() argument
3501 esw_vport_destroy_offloads_acl_tables(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_destroy_offloads_acl_tables() argument
3539 struct mlx5_vport *vport; esw_destroy_offloads_acl_tables() local
3775 struct mlx5_vport *vport; esw_offloads_enable() local
4201 struct mlx5_vport *vport; mlx5_esw_vports_inline_set() local
4491 mlx5_eswitch_get_proto_dev(struct mlx5_eswitch * esw,u16 vport,u8 rep_type) mlx5_eswitch_get_proto_dev() argument
4512 mlx5_eswitch_vport_rep(struct mlx5_eswitch * esw,u16 vport) mlx5_eswitch_vport_rep() argument
4533 struct mlx5_vport *vport = mlx5_eswitch_get_vport(esw, vport_num); mlx5_eswitch_get_vport_metadata_for_match() local
4543 mlx5_esw_vport_vhca_id_map(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_vport_vhca_id_map() argument
4574 mlx5_esw_vport_vhca_id_unmap(struct mlx5_eswitch * esw,struct mlx5_vport * vport) mlx5_esw_vport_vhca_id_unmap() argument
4596 struct mlx5_vport *vport = mlx5_eswitch_get_vport(esw, vport_num); mlx5_eswitch_get_vport_metadata_for_set() local
4610 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_port_fn_hw_addr_get() local
4627 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_port_fn_hw_addr_set() local
4636 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_port_fn_migratable_get() local
4658 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_port_fn_migratable_set() local
4717 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_port_fn_roce_get() local
4734 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_port_fn_roce_set() local
4790 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_pf_port_fn_state_get() local
4820 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_pf_port_fn_state_set() local
4861 struct mlx5_vport *vport; mlx5_devlink_port_fn_ipsec_crypto_get() local
4891 struct mlx5_vport *vport; mlx5_devlink_port_fn_ipsec_crypto_set() local
4944 struct mlx5_vport *vport; mlx5_devlink_port_fn_ipsec_packet_get() local
4975 struct mlx5_vport *vport; mlx5_devlink_port_fn_ipsec_packet_set() local
5029 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_port_fn_max_io_eqs_get() local
5079 struct mlx5_vport *vport = mlx5_devlink_port_vport_get(port); mlx5_devlink_port_fn_max_io_eqs_set() local
[all...]
H A Dvport.c45 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state() argument
66 u16 vport, u8 other_vport, in mlx5_query_vport_admin_state() argument
88 u16 vport, u8 other_vport, u8 state) in mlx5_modify_vport_admin_state() argument
103 u16 vport, u8 other_vport, u16 max_tx_speed) in mlx5_modify_vport_max_tx_speed() argument
126 mlx5_query_vport_max_tx_speed(struct mlx5_core_dev * mdev,u8 op_mod,u16 vport,u8 other_vport,u32 * max_tx_speed) mlx5_query_vport_max_tx_speed() argument
154 mlx5_query_nic_vport_context(struct mlx5_core_dev * mdev,u16 vport,bool other_vport,u32 * out) mlx5_query_nic_vport_context() argument
168 mlx5_query_nic_vport_min_inline(struct mlx5_core_dev * mdev,u16 vport,u8 * min_inline) mlx5_query_nic_vport_min_inline() argument
200 mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev * mdev,u16 vport,u8 min_inline) mlx5_modify_nic_vport_min_inline() argument
221 mlx5_query_nic_vport_mac_address(struct mlx5_core_dev * mdev,u16 vport,bool other,u8 * addr) mlx5_query_nic_vport_mac_address() argument
251 mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev * mdev,u16 vport,const u8 * addr) mlx5_modify_nic_vport_mac_address() argument
328 mlx5_query_nic_vport_mac_list(struct mlx5_core_dev * dev,u16 vport,enum mlx5_list_type list_type,u8 addr_list[][ETH_ALEN],int * list_size) mlx5_query_nic_vport_mac_list() argument
539 mlx5_query_nic_vport_node_guid(struct mlx5_core_dev * mdev,u16 vport,bool other_vport,u64 * node_guid) mlx5_query_nic_vport_node_guid() argument
563 mlx5_modify_nic_vport_node_guid(struct mlx5_core_dev * mdev,u16 vport,u64 node_guid) mlx5_modify_nic_vport_node_guid() argument
868 mlx5_query_nic_vport_promisc(struct mlx5_core_dev * mdev,u16 vport,int * promisc_uc,int * promisc_mc,int * promisc_all) mlx5_query_nic_vport_promisc() argument
1102 mlx5_query_vport_down_stats(struct mlx5_core_dev * mdev,u16 vport,u8 other_vport,u64 * rx_discard_vport_down,u64 * tx_discard_vport_down) mlx5_query_vport_down_stats() argument
1295 mlx5_vport_get_other_func_cap(struct mlx5_core_dev * dev,u16 vport,void * out,u16 opmod) mlx5_vport_get_other_func_cap() argument
1328 mlx5_vport_get_vhca_id(struct mlx5_core_dev * dev,u16 vport,u16 * vhca_id) mlx5_vport_get_vhca_id() argument
1357 mlx5_vport_set_other_func_cap(struct mlx5_core_dev * dev,const void * hca_cap,u16 vport,u16 opmod) mlx5_vport_set_other_func_cap() argument
[all...]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c31 static int hclge_gen_resp_to_vf(struct hclge_vport *vport, in hclge_gen_resp_to_vf()
91 static int hclge_send_mbx_msg(struct hclge_vport *vport, u8 *msg, u16 msg_len, in hclge_send_mbx_msg()
127 int hclge_inform_vf_reset(struct hclge_vport *vport, u16 reset_type) in hclge_inform_vf_reset()
140 int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport) in hclge_inform_reset_assert_to_vf()
183 struct hclge_vport *vport) in hclge_get_ring_chain_from_mbx()
240 static int hclge_map_unmap_ring_to_vf_vector(struct hclge_vport *vport, bool en, in hclge_map_unmap_ring_to_vf_vector()
259 static int hclge_query_ring_vector_map(struct hclge_vport *vport, in hclge_query_ring_vector_map()
288 static int hclge_get_vf_ring_vector_map(struct hclge_vport *vport, in hclge_get_vf_ring_vector_map()
334 static void hclge_set_vf_promisc_mode(struct hclge_vport *vport, in hclge_set_vf_promisc_mode()
354 static int hclge_set_vf_uc_mac_addr(struct hclge_vport *vport, in hclge_set_vf_uc_mac_addr()
[all …]
H A Dhclge_main.c640 struct hclge_vport *vport = hclge_get_vport(handle); hclge_update_stats() local
670 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_sset_count() local
719 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_strings() local
755 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_stats() local
767 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_mac_stat() local
946 struct hclge_vport *vport = hclge_get_vport(handle); hclge_check_port_speed() local
1701 hclge_assign_tqp(struct hclge_vport * vport,u16 num_tqps) hclge_assign_tqp() argument
1730 hclge_knic_setup(struct hclge_vport * vport,u16 num_tqps,u16 num_tx_desc,u16 num_rx_desc) hclge_knic_setup() argument
1758 hclge_map_tqp_to_vport(struct hclge_dev * hdev,struct hclge_vport * vport) hclge_map_tqp_to_vport() argument
1783 struct hclge_vport *vport = hdev->vport; hclge_map_tqp() local
1800 hclge_vport_setup(struct hclge_vport * vport,u16 num_tqps) hclge_vport_setup() argument
1823 struct hclge_vport *vport; hclge_alloc_vport() local
2482 hclge_init_roce_base_info(struct hclge_vport * vport) hclge_init_roce_base_info() argument
2646 struct hclge_vport *vport = hclge_get_vport(handle); hclge_cfg_mac_speed_dup_h() local
2685 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_autoneg() local
2703 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_autoneg() local
2715 struct hclge_vport *vport = hclge_get_vport(handle); hclge_restart_autoneg() local
2729 struct hclge_vport *vport = hclge_get_vport(handle); hclge_halt_autoneg() local
2875 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_fec_stats() local
2919 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_fec() local
2940 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_fec() local
3071 struct hclge_vport *vport; hclge_push_link_status() local
3314 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_phy_link_ksettings() local
3365 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_phy_link_ksettings() local
3495 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_status() local
3526 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_vf_config() local
3550 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_vf_link_state() local
3896 struct hclge_vport *vport = &hdev->vport[i]; hclge_set_all_vf_rst() local
4638 struct hclge_vport *vport = &hdev->vport[i]; hclge_update_vport_alive() local
4779 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_vector() local
4819 struct hclge_vport *vport = hclge_get_vport(handle); hclge_put_vector() local
4839 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_rss() local
4854 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_rss() local
4877 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_rss_tuple() local
4895 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_rss_tuple() local
4913 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_tc_size() local
4922 struct hclge_vport *vport = hdev->vport; hclge_init_rss_tc_mode() local
4986 hclge_bind_ring_with_vector(struct hclge_vport * vport,int vector_id,bool en,struct hnae3_ring_chain_node * ring_chain) hclge_bind_ring_with_vector() argument
5067 struct hclge_vport *vport = hclge_get_vport(handle); hclge_map_ring_to_vector() local
5084 struct hclge_vport *vport = hclge_get_vport(handle); hclge_unmap_ring_frm_vector() local
5110 struct hclge_vport *vport = &hdev->vport[vf_id]; hclge_cmd_set_promisc_mode() local
5152 hclge_set_vport_promisc_mode(struct hclge_vport * vport,bool en_uc_pmc,bool en_mc_pmc,bool en_bc_pmc) hclge_set_vport_promisc_mode() argument
5162 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_promisc_mode() local
5179 struct hclge_vport *vport = hclge_get_vport(handle); hclge_request_update_promisc_mode() local
5891 struct hclge_vport *vport = hdev->vport; hclge_config_action() local
6504 struct hclge_vport *vport = hclge_get_vport(handle); hclge_is_cls_flower_active() local
6513 struct hclge_vport *vport = hdev->vport; hclge_fd_parse_ring_cookie() local
6552 struct hclge_vport *vport = hclge_get_vport(handle); hclge_add_fd_entry() local
6613 struct hclge_vport *vport = hclge_get_vport(handle); hclge_del_fd_entry() local
6687 struct hclge_vport *vport = hclge_get_vport(handle); hclge_restore_fd_entries() local
6717 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_fd_rule_cnt() local
6931 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_fd_rule_info() local
6993 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_all_rules() local
7093 struct hclge_vport *vport = hclge_get_vport(handle); hclge_add_fd_entry_by_arfs() local
7395 struct hclge_vport *vport = hclge_get_vport(handle); hclge_add_cls_flower() local
7454 struct hclge_vport *vport = hclge_get_vport(handle); hclge_del_cls_flower() local
7546 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_hw_reset_stat() local
7555 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_cmdq_stat() local
7563 struct hclge_vport *vport = hclge_get_vport(handle); hclge_ae_dev_resetting() local
7571 struct hclge_vport *vport = hclge_get_vport(handle); hclge_ae_dev_reset_cnt() local
7579 struct hclge_vport *vport = hclge_get_vport(handle); hclge_enable_fd() local
7948 struct hclge_vport *vport = hclge_get_vport(handle); hclge_tqp_enable() local
7964 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_loopback() local
8044 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_timer_task() local
8060 struct hclge_vport *vport = hclge_get_vport(handle); hclge_ae_start() local
8078 struct hclge_vport *vport = hclge_get_vport(handle); hclge_ae_stop() local
8114 hclge_vport_start(struct hclge_vport * vport) hclge_vport_start() argument
8138 hclge_vport_stop(struct hclge_vport * vport) hclge_vport_stop() argument
8147 struct hclge_vport *vport = hclge_get_vport(handle); hclge_client_start() local
8154 struct hclge_vport *vport = hclge_get_vport(handle); hclge_client_stop() local
8159 hclge_get_mac_vlan_cmd_status(struct hclge_vport * vport,u16 cmdq_resp,u8 resp_code,enum hclge_mac_vlan_tbl_opcode op) hclge_get_mac_vlan_cmd_status() argument
8278 hclge_remove_mac_vlan_tbl(struct hclge_vport * vport,struct hclge_mac_vlan_tbl_entry_cmd * req) hclge_remove_mac_vlan_tbl() argument
8305 hclge_lookup_mac_vlan_tbl(struct hclge_vport * vport,struct hclge_mac_vlan_tbl_entry_cmd * req,struct hclge_desc * desc,bool is_mc) hclge_lookup_mac_vlan_tbl() argument
8348 hclge_add_mac_vlan_tbl(struct hclge_vport * vport,struct hclge_mac_vlan_tbl_entry_cmd * req,struct hclge_desc * mc_desc) hclge_add_mac_vlan_tbl() argument
8452 struct hclge_vport *vport; hclge_reset_umv_space() local
8468 hclge_is_umv_space_full(struct hclge_vport * vport,bool need_lock) hclge_is_umv_space_full() argument
8485 hclge_update_umv_space(struct hclge_vport * vport,bool is_free) hclge_update_umv_space() argument
8544 hclge_update_mac_list(struct hclge_vport * vport,enum HCLGE_MAC_NODE_STATE state,enum HCLGE_MAC_ADDR_TYPE mac_type,const unsigned char * addr) hclge_update_mac_list() argument
8601 struct hclge_vport *vport = hclge_get_vport(handle); hclge_add_uc_addr() local
8607 hclge_add_uc_addr_common(struct hclge_vport * vport,const unsigned char * addr) hclge_add_uc_addr_common() argument
8672 struct hclge_vport *vport = hclge_get_vport(handle); hclge_rm_uc_addr() local
8678 hclge_rm_uc_addr_common(struct hclge_vport * vport,const unsigned char * addr) hclge_rm_uc_addr_common() argument
8713 struct hclge_vport *vport = hclge_get_vport(handle); hclge_add_mc_addr() local
8719 hclge_add_mc_addr_common(struct hclge_vport * vport,const unsigned char * addr) hclge_add_mc_addr_common() argument
8777 struct hclge_vport *vport = hclge_get_vport(handle); hclge_rm_mc_addr() local
8783 hclge_rm_mc_addr_common(struct hclge_vport * vport,const unsigned char * addr) hclge_rm_mc_addr_common() argument
8826 hclge_sync_vport_mac_list(struct hclge_vport * vport,struct list_head * list,enum HCLGE_MAC_ADDR_TYPE mac_type) hclge_sync_vport_mac_list() argument
8862 hclge_unsync_vport_mac_list(struct hclge_vport * vport,struct list_head * list,enum HCLGE_MAC_ADDR_TYPE mac_type) hclge_unsync_vport_mac_list() argument
8947 hclge_update_overflow_flags(struct hclge_vport * vport,enum HCLGE_MAC_ADDR_TYPE mac_type,bool is_all_added) hclge_update_overflow_flags() argument
8964 hclge_sync_vport_mac_table(struct hclge_vport * vport,enum HCLGE_MAC_ADDR_TYPE mac_type) hclge_sync_vport_mac_table() argument
9021 hclge_need_sync_mac_table(struct hclge_vport * vport) hclge_need_sync_mac_table() argument
9039 struct hclge_vport *vport = &hdev->vport[i]; hclge_sync_mac_table() local
9071 hclge_unsync_del_list(struct hclge_vport * vport,int (* unsync)(struct hclge_vport * vport,const unsigned char * addr),bool is_del_list,struct list_head * tmp_del_list) hclge_unsync_del_list() argument
9072 hclge_unsync_del_list(struct hclge_vport * vport,int (* unsync)(struct hclge_vport * vport,const unsigned char * addr),bool is_del_list,struct list_head * tmp_del_list) hclge_unsync_del_list() argument
9100 hclge_rm_vport_all_mac_table(struct hclge_vport * vport,bool is_del_list,enum HCLGE_MAC_ADDR_TYPE mac_type) hclge_rm_vport_all_mac_table() argument
9136 hclge_uninit_vport_mac_list(struct hclge_vport * vport,enum HCLGE_MAC_ADDR_TYPE mac_type) hclge_uninit_vport_mac_list() argument
9181 struct hclge_vport *vport; hclge_uninit_mac_table() local
9236 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_vf_mac() local
9317 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_mac_addr() local
9323 hclge_update_mac_node_for_dev_addr(struct hclge_vport * vport,const u8 * old_addr,const u8 * new_addr) hclge_update_mac_node_for_dev_addr() argument
9371 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_mac_addr() local
9449 struct hclge_vport *vport = hclge_get_vport(handle); hclge_do_ioctl() local
9513 hclge_set_vport_vlan_filter(struct hclge_vport * vport,bool enable) hclge_set_vport_vlan_filter() argument
9545 hclge_need_enable_vport_vlan_filter(struct hclge_vport * vport) hclge_need_enable_vport_vlan_filter() argument
9576 __hclge_enable_vport_vlan_filter(struct hclge_vport * vport,bool request_en) __hclge_enable_vport_vlan_filter() argument
9595 hclge_enable_vport_vlan_filter(struct hclge_vport * vport,bool request_en) hclge_enable_vport_vlan_filter() argument
9610 struct hclge_vport *vport = hclge_get_vport(handle); hclge_enable_vlan_filter() local
9703 struct hclge_vport *vport = &hdev->vport[vfid]; hclge_set_vf_vlan_common() local
9817 hclge_set_vlan_tx_offload_cfg(struct hclge_vport * vport) hclge_set_vlan_tx_offload_cfg() argument
9862 hclge_set_vlan_rx_offload_cfg(struct hclge_vport * vport) hclge_set_vlan_rx_offload_cfg() argument
9902 hclge_vlan_offload_cfg(struct hclge_vport * vport,u16 port_base_vlan_state,u16 vlan_tag,u8 qos) hclge_vlan_offload_cfg() argument
10000 struct hclge_vport *vport; hclge_init_vlan_filter() local
10044 struct hclge_vport *vport; hclge_init_vport_vlan_offload() local
10081 hclge_add_vport_vlan_table(struct hclge_vport * vport,u16 vlan_id,bool writen_to_tbl) hclge_add_vport_vlan_table() argument
10109 hclge_add_vport_all_vlan_table(struct hclge_vport * vport) hclge_add_vport_all_vlan_table() argument
10139 hclge_rm_vport_vlan_table(struct hclge_vport * vport,u16 vlan_id,bool is_write_tbl) hclge_rm_vport_vlan_table() argument
10161 hclge_rm_vport_all_vlan_table(struct hclge_vport * vport,bool is_del_list) hclge_rm_vport_all_vlan_table() argument
10189 struct hclge_vport *vport; hclge_uninit_vport_vlan_table() local
10208 struct hclge_vport *vport; hclge_restore_vport_port_base_vlan_config() local
10236 hclge_restore_vport_vlan_table(struct hclge_vport * vport) hclge_restore_vport_vlan_table() argument
10278 hclge_restore_mac_table_common(struct hclge_vport * vport) hclge_restore_mac_table_common() argument
10291 struct hclge_vport *vport = &hdev->vport[0]; hclge_restore_hw_table() local
10303 struct hclge_vport *vport = hclge_get_vport(handle); hclge_en_hw_strip_rxvtag() local
10323 hclge_set_vport_vlan_fltr_change(struct hclge_vport * vport) hclge_set_vport_vlan_fltr_change() argument
10331 hclge_update_vlan_filter_entries(struct hclge_vport * vport,u16 port_base_vlan_state,struct hclge_vlan_info * new_info,struct hclge_vlan_info * old_info) hclge_update_vlan_filter_entries() argument
10380 hclge_modify_port_base_vlan_tag(struct hclge_vport * vport,struct hclge_vlan_info * new_info,struct hclge_vlan_info * old_info) hclge_modify_port_base_vlan_tag() argument
10411 hclge_update_port_base_vlan_cfg(struct hclge_vport * vport,u16 state,struct hclge_vlan_info * vlan_info) hclge_update_port_base_vlan_cfg() argument
10452 hclge_get_port_base_vlan_state(struct hclge_vport * vport,enum hnae3_port_base_vlan_state state,u16 vlan,u8 qos) hclge_get_port_base_vlan_state() argument
10477 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_vf_vlan_filter() local
10536 struct hclge_vport *vport; hclge_clear_vf_vlan() local
10558 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_vlan_filter() local
10619 struct hclge_vport *vport; hclge_sync_vlan_fltr_state() local
10655 struct hclge_vport *vport = &hdev->vport[i]; hclge_sync_vlan_filter() local
10703 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_mtu() local
10708 hclge_set_vport_mtu(struct hclge_vport * vport,int new_mtu) hclge_set_vport_mtu() argument
10825 struct hclge_vport *vport = hclge_get_vport(handle); hclge_reset_tqp_cmd() local
10879 struct hclge_vport *vport = hclge_get_vport(handle); hclge_reset_rcb() local
10920 struct hclge_vport *vport = hclge_get_vport(handle); hclge_reset_tqp() local
10939 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_fw_version() local
11026 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_pauseparam() local
11072 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_pauseparam() local
11108 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_ksettings_an_result() local
11124 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_media_type() local
11143 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_mdix_mode() local
11219 hclge_init_nic_client_instance(struct hnae3_ae_dev * ae_dev,struct hclge_vport * vport) hclge_init_nic_client_instance() argument
11263 hclge_init_roce_client_instance(struct hnae3_ae_dev * ae_dev,struct hclge_vport * vport) hclge_init_roce_client_instance() argument
11317 struct hclge_vport *vport = &hdev->vport[0]; hclge_init_client_instance() local
11370 struct hclge_vport *vport = &hdev->vport[0]; hclge_uninit_client_instance() local
11561 struct hclge_vport *vport = &hdev->vport[i]; hclge_clear_resetting_state() local
11609 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_wol_info() local
11702 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_wol() local
12001 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_vf_spoofchk() local
12035 struct hclge_vport *vport = hdev->vport; hclge_reset_vport_spoofchk() local
12057 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_vf_trust() local
12082 struct hclge_vport *vport = &hdev->vport[vf]; hclge_reset_vf_rate() local
12110 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_vf_rate() local
12137 struct hclge_vport *vport; hclge_resume_vf_rate() local
12168 struct hclge_vport *vport = hdev->vport; hclge_reset_vport_state() local
12355 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_max_channels() local
12373 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_tqps_and_rss_info() local
12382 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_rss_tc_mode_cfg() local
12412 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_channels() local
12492 struct hclge_vport *vport = hclge_get_vport(handle); hclge_set_led_id() local
12510 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_link_mode() local
12522 struct hclge_vport *vport = hclge_get_vport(handle); hclge_gro_en() local
12535 hclge_sync_vport_promisc_mode(struct hclge_vport * vport) hclge_sync_vport_promisc_mode() argument
12590 struct hclge_vport *vport; hclge_sync_promisc_mode() local
12679 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_module_eeprom() local
12707 struct hclge_vport *vport = hclge_get_vport(handle); hclge_get_link_diagnosis_info() local
12730 hclge_clear_vport_vf_info(struct hclge_vport * vport,int vfid) hclge_clear_vport_vf_info() argument
12771 struct hclge_vport *vport; hclge_clean_vport_config() local
12784 struct hclge_vport *vport = hclge_get_vport(h); hclge_get_dscp_prio() local
[all...]
H A Dhclge_dcb.c71 struct hclge_vport *vport = hclge_get_vport(h); in hclge_ieee_getets() local
254 struct hclge_vport *vport = hclge_get_vport(h); in hclge_ieee_setets() local
305 struct hclge_vport *vport = hclge_get_vport(h); in hclge_ieee_getpfc() local
328 struct hclge_vport *vport = hclge_get_vport(h); in hclge_ieee_setpfc() local
396 struct hclge_vport *vport = hclge_get_vport(h); in hclge_ieee_setapp() local
442 struct hclge_vport *vport = hclge_get_vport(h); in hclge_ieee_delapp() local
484 struct hclge_vport *vport = hclge_get_vport(h); in hclge_getdcbx() local
495 struct hclge_vport *vport = hclge_get_vport(h); in hclge_setdcbx() local
597 struct hclge_vport *vport = hclge_get_vport(h); in hclge_setup_tc() local
669 struct hclge_vport *vport = hdev->vport; in hclge_dcb_ops_set() local
H A Dhclge_tm.c587 int hclge_tm_qs_shaper_cfg(struct hclge_vport *vport, int max_tx_rate) in hclge_tm_qs_shaper_cfg()
635 static u16 hclge_vport_get_max_rss_size(struct hclge_vport *vport) in hclge_vport_get_max_rss_size()
656 static u16 hclge_vport_get_tqp_num(struct hclge_vport *vport) in hclge_vport_get_tqp_num()
675 static void hclge_tm_update_kinfo_rss_size(struct hclge_vport *vport) in hclge_tm_update_kinfo_rss_size()
715 static void hclge_tm_vport_tc_info_update(struct hclge_vport *vport) in hclge_tm_vport_tc_info_update()
750 struct hclge_vport *vport = hdev->vport; in hclge_tm_vport_info_update() local
950 struct hclge_vport *vport) in hclge_vport_q_to_qs_map()
975 struct hclge_vport *vport = hdev->vport; in hclge_tm_pri_q_qs_cfg_tc_base() local
1000 struct hclge_vport *vport = hdev->vport; in hclge_tm_pri_q_qs_cfg_vnet_base() local
1019 struct hclge_vport *vport = hdev->vport; in hclge_tm_pri_q_qs_cfg() local
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_lib.c449 static void idpf_del_all_flow_steer_filters(struct idpf_vport *vport) in idpf_del_all_flow_steer_filters()
523 static int idpf_del_mac_filter(struct idpf_vport *vport, in idpf_del_mac_filter()
604 static int idpf_add_mac_filter(struct idpf_vport *vport, in idpf_add_mac_filter()
630 static void idpf_del_all_mac_filters(struct idpf_vport *vport) in idpf_del_all_mac_filters()
654 static void idpf_restore_mac_filters(struct idpf_vport *vport) in idpf_restore_mac_filters()
679 static void idpf_remove_mac_filters(struct idpf_vport *vport) in idpf_remove_mac_filters()
701 static void idpf_deinit_mac_addr(struct idpf_vport *vport) in idpf_deinit_mac_addr()
724 static int idpf_init_mac_addr(struct idpf_vport *vport, in idpf_init_mac_addr()
790 struct idpf_vport *vport = adapter->vports[i]; in idpf_attach_and_open() local
824 static int idpf_cfg_netdev(struct idpf_vport *vport) in idpf_cfg_netdev()
[all …]
H A Didpf_ethtool.c16 struct idpf_vport *vport; in idpf_get_rx_ring_count() local
42 struct idpf_vport *vport; in idpf_get_rxnfc() local
178 struct idpf_vport *vport; in idpf_add_flow_steer() local
303 struct idpf_vport *vport; in idpf_del_flow_steer() local
422 struct idpf_vport *vport; in idpf_get_rxfh() local
472 struct idpf_vport *vport; in idpf_set_rxfh() local
562 struct idpf_vport *vport; in idpf_set_channels() local
637 struct idpf_vport *vport; in idpf_get_ringparam() local
670 struct idpf_vport *vport; in idpf_set_ringparam() local
1082 static void idpf_add_port_stats(struct idpf_vport *vport, u64 **data) in idpf_add_port_stats()
[all …]
H A Didpf_txrx.c200 static int idpf_tx_desc_alloc(const struct idpf_vport *vport, in idpf_tx_desc_alloc() argument
270 static int idpf_compl_desc_alloc(const struct idpf_vport *vport, in idpf_compl_desc_alloc() argument
302 static int idpf_tx_desc_alloc_all(struct idpf_vport *vport, in idpf_tx_desc_alloc_all() argument
787 idpf_rx_bufs_init_all(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_rx_bufs_init_all() argument
843 idpf_rx_desc_alloc(const struct idpf_vport * vport,struct idpf_rx_queue * rxq) idpf_rx_desc_alloc() argument
877 idpf_bufq_desc_alloc(const struct idpf_vport * vport,struct idpf_buf_queue * bufq) idpf_bufq_desc_alloc() argument
906 idpf_rx_desc_alloc_all(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_rx_desc_alloc_all() argument
963 idpf_init_queue_set(const struct idpf_vport * vport,const struct idpf_queue_set * qs) idpf_init_queue_set() argument
1119 struct idpf_vport *vport = qv->vport; idpf_vector_to_queue_set() local
1187 idpf_qp_enable(const struct idpf_vport * vport,const struct idpf_queue_set * qs,u32 qid) idpf_qp_enable() argument
1249 idpf_qp_disable(const struct idpf_vport * vport,const struct idpf_queue_set * qs,u32 qid) idpf_qp_disable() argument
1284 idpf_qp_switch(struct idpf_vport * vport,u32 qid,bool en) idpf_qp_switch() argument
1413 idpf_vport_queues_rel(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_queues_rel() argument
1439 idpf_vport_init_fast_path_txqs(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_init_fast_path_txqs() argument
1475 idpf_vport_init_num_qs(struct idpf_vport * vport,struct virtchnl2_create_vport * vport_msg,struct idpf_q_vec_rsrc * rsrc) idpf_vport_init_num_qs() argument
1525 idpf_vport_calc_num_q_desc(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_calc_num_q_desc() argument
1711 idpf_txq_group_alloc(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc,u16 num_txq) idpf_txq_group_alloc() argument
1801 idpf_rxq_group_alloc(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc,u16 num_rxq) idpf_rxq_group_alloc() argument
1932 idpf_vport_queue_grp_alloc_all(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_queue_grp_alloc_all() argument
1965 idpf_vport_queues_alloc(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_queues_alloc() argument
3149 const struct idpf_vport *vport = idpf_netdev_to_vport(netdev); idpf_tx_start() local
3860 idpf_vport_intr_rel_irq(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_rel_irq() argument
4041 idpf_vport_intr_req_irq(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_req_irq() argument
4118 idpf_vport_intr_ena_irq_all(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_ena_irq_all() argument
4156 idpf_vport_intr_deinit(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_deinit() argument
4172 struct idpf_vport *vport; idpf_tx_dim_work() local
4198 struct idpf_vport *vport; idpf_rx_dim_work() local
4373 idpf_vport_intr_map_vector_to_qs(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_map_vector_to_qs() argument
4479 idpf_vport_intr_init_vec_idx(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_init_vec_idx() argument
4519 idpf_vport_intr_napi_add_all(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_napi_add_all() argument
4552 idpf_vport_intr_alloc(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_alloc() argument
4636 idpf_vport_intr_init(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_init() argument
4663 idpf_vport_intr_ena(struct idpf_vport * vport,struct idpf_q_vec_rsrc * rsrc) idpf_vport_intr_ena() argument
4676 idpf_config_rss(struct idpf_vport * vport,struct idpf_rss_data * rss_data) idpf_config_rss() argument
4694 idpf_fill_dflt_rss_lut(struct idpf_vport * vport,struct idpf_rss_data * rss_data) idpf_fill_dflt_rss_lut() argument
4711 idpf_init_rss_lut(struct idpf_vport * vport,struct idpf_rss_data * rss_data) idpf_init_rss_lut() argument
[all...]
/linux/sound/isa/
H A Dsc6000.c183 sc6000_wait_data(char __iomem * vport) sc6000_wait_data() argument
198 sc6000_read(char __iomem * vport) sc6000_read() argument
207 sc6000_write(struct device * devptr,char __iomem * vport,int cmd) sc6000_write() argument
230 sc6000_dsp_get_answer(struct device * devptr,char __iomem * vport,int command,char * data,int data_len) sc6000_dsp_get_answer() argument
257 sc6000_dsp_reset(char __iomem * vport) sc6000_dsp_reset() argument
270 sc6000_hw_cfg_write(struct device * devptr,char __iomem * vport,const int * cfg) sc6000_hw_cfg_write() argument
297 sc6000_cfg_write(struct device * devptr,char __iomem * vport,unsigned char softcfg) sc6000_cfg_write() argument
312 sc6000_setup_board(struct device * devptr,char __iomem * vport,int config) sc6000_setup_board() argument
337 sc6000_init_mss(struct device * devptr,char __iomem * vport,int config,char __iomem * vmss_port,int mss_config) sc6000_init_mss() argument
357 sc6000_hw_cfg_encode(struct device * devptr,char __iomem * vport,int * cfg,long xport,long xmpu,long xmss_port,int joystick) sc6000_hw_cfg_encode() argument
380 sc6000_init_board(struct device * devptr,char __iomem * vport,char __iomem * vmss_port,int dev) sc6000_init_board() argument
541 char __iomem *vport = (char __force __iomem *)card->private_data; snd_sc6000_free() local
557 char __iomem *vport; __snd_sc6000_probe() local
[all...]
/linux/drivers/scsi/lpfc/
H A Dlpfc_vport.c53 inline void lpfc_vport_set_state(struct lpfc_vport *vport, in lpfc_vport_set_state()
118 lpfc_vport_sparm(struct lpfc_hba *phba, struct lpfc_vport *vport) in lpfc_vport_sparm()
204 struct lpfc_vport *vport; in lpfc_unique_wwpn() local
238 static void lpfc_discovery_wait(struct lpfc_vport *vport) in lpfc_discovery_wait()
299 struct lpfc_vport *vport = NULL; in lpfc_vport_create() local
487 lpfc_send_npiv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in lpfc_send_npiv_logo()
535 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in disable_vport() local
570 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in enable_vport() local
624 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in lpfc_vport_delete() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c100 struct mlx5_vport *vport; member
150 struct mlx5_vport *vport = child->vport; in esw_qos_nodes_set_parent() local
159 void mlx5_esw_qos_vport_qos_free(struct mlx5_vport *vport) in mlx5_esw_qos_vport_qos_free()
174 u32 mlx5_esw_qos_vport_get_sched_elem_ix(const struct mlx5_vport *vport) in mlx5_esw_qos_vport_get_sched_elem_ix()
183 mlx5_esw_qos_vport_get_parent(const struct mlx5_vport *vport) in mlx5_esw_qos_vport_get_parent()
859 esw_qos_create_vport_tc_sched_node(struct mlx5_vport *vport, in esw_qos_create_vport_tc_sched_node()
893 esw_qos_destroy_vport_tc_sched_elements(struct mlx5_vport *vport, in esw_qos_destroy_vport_tc_sched_elements()
910 esw_qos_create_vport_tc_sched_elements(struct mlx5_vport *vport, in esw_qos_create_vport_tc_sched_elements()
949 esw_qos_vport_tc_enable(struct mlx5_vport *vport, enum sched_node_type type, in esw_qos_vport_tc_enable()
1007 static void esw_qos_vport_tc_disable(struct mlx5_vport *vport, in esw_qos_vport_tc_disable()
[all …]
H A Dlegacy.c209 struct mlx5_vport *vport; in esw_legacy_enable() local
347 int esw_legacy_vport_acl_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_legacy_vport_acl_setup()
371 void esw_legacy_vport_acl_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_legacy_vport_acl_cleanup()
381 struct mlx5_vport *vport, in mlx5_esw_query_vport_drop_stats()
425 u16 vport, u16 vlan, u8 qos) in mlx5_eswitch_set_vport_vlan()
453 u16 vport, bool spoofchk) in mlx5_eswitch_set_vport_spoofchk()
486 u16 vport, bool setting) in mlx5_eswitch_set_vport_trust()
510 int mlx5_eswitch_set_vport_rate(struct mlx5_eswitch *esw, u16 vport, in mlx5_eswitch_set_vport_rate()
/linux/drivers/scsi/elx/efct/
H A Defct_xport.c379 struct efct_vport *vport = NULL; in efct_scsi_new_device() local
680 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_id() local
694 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_type() local
727 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_state() local
742 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_speed() local
793 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_fabric_name() local
809 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_stats() local
859 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_reset_stats() local
873 struct efct_vport *vport = in efct_issue_lip() local
903 struct efct_vport *vport = NULL; in efct_scsi_new_vport() local
[all …]
/linux/drivers/scsi/elx/libefc/
H A Defc_nport.c258 struct efc_vport *vport; in efc_vport_link_down() local
476 struct efc_vport *vport; in efc_vport_update_spec() local
598 efc_vport_nport_alloc(struct efc_domain *domain, struct efc_vport *vport) in efc_vport_nport_alloc()
624 struct efc_vport *vport; in efc_vport_start() local
648 struct efc_vport *vport; in efc_nport_vport_new() local
685 struct efc_vport *vport; in efc_nport_vport_del() local
722 struct efc_vport *vport; in efc_vport_del_all() local
739 struct efc_vport *vport; in efc_vport_create_spec() local

1234