Home
last modified time | relevance | path

Searched defs:app (Results 1 – 25 of 86) sorted by relevance

1234

/drivers/net/ethernet/netronome/nfp/
A Dnfp_app.h177 static inline void assert_nfp_app_locked(struct nfp_app *app) in assert_nfp_app_locked()
182 static inline bool nfp_app_is_locked(struct nfp_app *app) in nfp_app_is_locked()
191 static inline int nfp_app_init(struct nfp_app *app) in nfp_app_init()
198 static inline void nfp_app_clean(struct nfp_app *app) in nfp_app_clean()
285 static inline const char *nfp_app_name(struct nfp_app *app) in nfp_app_name()
292 static inline bool nfp_app_needs_ctrl_vnic(struct nfp_app *app) in nfp_app_needs_ctrl_vnic()
297 static inline bool nfp_app_ctrl_has_meta(struct nfp_app *app) in nfp_app_ctrl_has_meta()
315 static inline bool nfp_app_has_tc(struct nfp_app *app) in nfp_app_has_tc()
320 static inline int nfp_app_setup_tc(struct nfp_app *app, in nfp_app_setup_tc()
404 static inline void nfp_app_sriov_disable(struct nfp_app *app) in nfp_app_sriov_disable()
[all …]
A Dnfp_app.c57 const char *nfp_app_mip_name(struct nfp_app *app) in nfp_app_mip_name()
66 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_init() local
75 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_uninit() local
121 nfp_reprs_get_locked(struct nfp_app *app, enum nfp_repr_type type) in nfp_reprs_get_locked()
128 nfp_app_reprs_set(struct nfp_app *app, enum nfp_repr_type type, in nfp_app_reprs_set()
142 nfp_app_netdev_feat_change(struct nfp_app *app, struct net_device *netdev) in nfp_app_netdev_feat_change()
177 struct nfp_app *app; in nfp_app_netdev_event() local
195 int nfp_app_start(struct nfp_app *app, struct nfp_net *ctrl) in nfp_app_start()
220 void nfp_app_stop(struct nfp_app *app) in nfp_app_stop()
230 struct nfp_app *app; in nfp_app_alloc() local
[all …]
A Dnfp_net_sriov.c18 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg, bool warn) in nfp_net_sriov_check()
42 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update()
66 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_mac() local
99 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_vlan() local
150 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_rate() local
180 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_spoofchk() local
204 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_trust() local
229 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_link_state() local
263 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_vf_config() local
A Dccm.c10 #define ccm_warn(app, msg...) nn_dp_warn(&(app)->ctrl->dp, msg) argument
65 nfp_ccm_reply(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply()
77 nfp_ccm_reply_drop_tag(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply_drop_tag()
91 nfp_ccm_wait_reply(struct nfp_ccm *ccm, struct nfp_app *app, in nfp_ccm_wait_reply()
131 struct nfp_app *app = ccm->app; in nfp_ccm_communicate() local
177 struct nfp_app *app = ccm->app; in nfp_ccm_rx() local
206 int nfp_ccm_init(struct nfp_ccm *ccm, struct nfp_app *app) in nfp_ccm_init()
A Dnfp_net_repr.c20 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set, unsigned int id) in nfp_repr_get_locked()
314 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, in nfp_repr_init()
424 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs) in nfp_repr_alloc_mqs()
458 void nfp_reprs_clean_and_free(struct nfp_app *app, struct nfp_reprs *reprs) in nfp_reprs_clean_and_free()
473 nfp_reprs_clean_and_free_by_type(struct nfp_app *app, enum nfp_repr_type type) in nfp_reprs_clean_and_free_by_type()
511 int nfp_reprs_resync_phys_ports(struct nfp_app *app) in nfp_reprs_resync_phys_ports()
A Dnfp_net_ethtool.c184 static void nfp_net_get_nspinfo(struct nfp_app *app, char *version) in nfp_net_get_nspinfo()
203 nfp_get_drvinfo(struct nfp_app *app, struct pci_dev *pdev, in nfp_get_drvinfo()
265 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_drvinfo() local
699 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_test_nsp() local
747 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_test_reg() local
1891 nfp_dump_nsp_diag(struct nfp_app *app, struct ethtool_dump *dump, void *buffer) in nfp_dump_nsp_diag()
1936 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_dump() local
1964 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_dump_flag() local
1982 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_dump_data() local
2451 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_net_get_eeprom() local
[all …]
A Dnfp_app_nic.c11 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_app_nic_vnic_init_phy_port()
32 int nfp_app_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_nic_vnic_alloc()
/drivers/net/ethernet/netronome/nfp/flower/
A Dmain.c33 static enum devlink_eswitch_mode eswitch_mode_get(struct nfp_app *app) in eswitch_mode_get()
76 u32 nfp_flower_get_port_id_from_netdev(struct nfp_app *app, in nfp_flower_get_port_id_from_netdev()
132 nfp_flower_internal_port_event_handler(struct nfp_app *app, in nfp_flower_internal_port_event_handler()
366 static void nfp_flower_sriov_disable(struct nfp_app *app) in nfp_flower_sriov_disable()
377 nfp_flower_spawn_vnic_reprs(struct nfp_app *app, in nfp_flower_spawn_vnic_reprs()
677 static void nfp_flower_wait_host_bit(struct nfp_app *app) in nfp_flower_wait_host_bit()
702 static int nfp_flower_sync_feature_bits(struct nfp_app *app) in nfp_flower_sync_feature_bits()
748 static int nfp_flower_init(struct nfp_app *app) in nfp_flower_init()
860 static void nfp_flower_clean(struct nfp_app *app) in nfp_flower_clean()
939 static int nfp_flower_start(struct nfp_app *app) in nfp_flower_start()
[all …]
A Dtunnel_conf.c172 struct nfp_app *app; member
360 nfp_tun_link_predt_entries(struct nfp_app *app, in nfp_tun_link_predt_entries()
399 static void nfp_tun_cleanup_nn_entries(struct nfp_app *app) in nfp_tun_cleanup_nn_entries()
632 struct nfp_app *app; in nfp_tun_neigh_update() local
719 struct nfp_app *app; in nfp_tun_neigh_event_handler() local
843 static void nfp_tun_write_ipv4_list(struct nfp_app *app) in nfp_tun_write_ipv4_list()
924 static void nfp_tun_write_ipv6_list(struct nfp_app *app) in nfp_tun_write_ipv6_list()
1357 int nfp_tunnel_mac_event_handler(struct nfp_app *app, in nfp_tunnel_mac_event_handler()
1428 int nfp_flower_xmit_pre_tun_flow(struct nfp_app *app, in nfp_flower_xmit_pre_tun_flow()
1508 int nfp_tunnel_config_start(struct nfp_app *app) in nfp_tunnel_config_start()
[all …]
A Dmetadata.c58 static int nfp_get_stats_entry(struct nfp_app *app, u32 *stats_context_id) in nfp_get_stats_entry()
115 void nfp_flower_rx_flow_stats(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_rx_flow_stats()
137 static int nfp_release_mask_id(struct nfp_app *app, u8 mask_id) in nfp_release_mask_id()
161 static int nfp_mask_alloc(struct nfp_app *app, u8 *mask_id) in nfp_mask_alloc()
207 nfp_add_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_add_mask_table()
265 nfp_check_mask_add(struct nfp_app *app, char *mask_data, u32 mask_len, in nfp_check_mask_add()
305 int nfp_compile_flow_metadata(struct nfp_app *app, u32 cookie, in nfp_compile_flow_metadata()
400 int nfp_modify_flow_metadata(struct nfp_app *app, in nfp_modify_flow_metadata()
435 nfp_flower_get_fl_payload_from_ctx(struct nfp_app *app, u32 ctx_id) in nfp_flower_get_fl_payload_from_ctx()
511 int nfp_flower_metadata_init(struct nfp_app *app, u64 host_ctx_count, in nfp_flower_metadata_init()
[all …]
A Dqos_conf.c86 int nfp_flower_offload_one_police(struct nfp_app *app, bool ingress, in nfp_flower_offload_one_police()
345 void nfp_flower_stats_rlim_reply(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_stats_rlim_reply()
503 void nfp_flower_qos_init(struct nfp_app *app) in nfp_flower_qos_init()
514 void nfp_flower_qos_cleanup(struct nfp_app *app) in nfp_flower_qos_cleanup()
562 nfp_flower_search_meter_entry(struct nfp_app *app, u32 meter_id) in nfp_flower_search_meter_entry()
571 nfp_flower_add_meter_entry(struct nfp_app *app, u32 meter_id) in nfp_flower_add_meter_entry()
602 static void nfp_flower_del_meter_entry(struct nfp_app *app, u32 meter_id) in nfp_flower_del_meter_entry()
621 int nfp_flower_setup_meter_entry(struct nfp_app *app, in nfp_flower_setup_meter_entry()
664 int nfp_init_meter_table(struct nfp_app *app) in nfp_init_meter_table()
796 nfp_act_stats_reply(struct nfp_app *app, void *pmsg) in nfp_act_stats_reply()
[all …]
A Dcmsg.c22 nfp_flower_cmsg_alloc(struct nfp_app *app, unsigned int size, in nfp_flower_cmsg_alloc()
44 nfp_flower_cmsg_mac_repr_start(struct nfp_app *app, unsigned int num_ports) in nfp_flower_cmsg_mac_repr_start()
123 nfp_flower_process_mtu_ack(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_process_mtu_ack()
151 nfp_flower_cmsg_portmod_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_portmod_rx()
186 nfp_flower_cmsg_portreify_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_portreify_rx()
208 nfp_flower_cmsg_merge_hint_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_merge_hint_rx()
254 nfp_flower_cmsg_process_one_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_process_one_rx()
331 nfp_flower_queue_ctl_msg(struct nfp_app *app, struct sk_buff *skb, int type) in nfp_flower_queue_ctl_msg()
351 void nfp_flower_cmsg_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_rx()
A Doffload.c95 nfp_flower_xmit_flow(struct nfp_app *app, struct nfp_fl_payload *nfp_flow, in nfp_flower_xmit_flow()
238 nfp_flower_calculate_key_layers(struct nfp_app *app, in nfp_flower_calculate_key_layers()
1005 int nfp_flower_merge_offloaded_flows(struct nfp_app *app, in nfp_flower_merge_offloaded_flows()
1127 nfp_flower_validate_pre_tun_rule(struct nfp_app *app, in nfp_flower_validate_pre_tun_rule()
1455 nfp_flower_remove_merge_flow(struct nfp_app *app, in nfp_flower_remove_merge_flow()
1527 nfp_flower_del_linked_merge_flows(struct nfp_app *app, in nfp_flower_del_linked_merge_flows()
1630 __nfp_flower_update_merge_stats(struct nfp_app *app, in __nfp_flower_update_merge_stats()
1666 nfp_flower_update_merge_stats(struct nfp_app *app, in nfp_flower_update_merge_stats()
1688 nfp_flower_get_stats(struct nfp_app *app, struct net_device *netdev, in nfp_flower_get_stats()
1838 struct nfp_app *app; member
[all …]
A Daction.c133 nfp_fl_pre_lag(struct nfp_app *app, const struct flow_action_entry *act, in nfp_fl_pre_lag()
172 nfp_fl_output(struct nfp_app *app, struct nfp_fl_output *output, in nfp_fl_output()
283 nfp_fl_get_tun_from_act(struct nfp_app *app, in nfp_fl_get_tun_from_act()
411 nfp_fl_set_tun(struct nfp_app *app, struct nfp_fl_set_tun *set_tun, in nfp_fl_set_tun()
958 nfp_flower_meter_action(struct nfp_app *app, in nfp_flower_meter_action()
988 nfp_flower_output_action(struct nfp_app *app, in nfp_flower_output_action()
1041 nfp_flower_loop_action(struct nfp_app *app, const struct flow_action_entry *act, in nfp_flower_loop_action()
1272 int nfp_flower_compile_action(struct nfp_app *app, in nfp_flower_compile_action()
A Dlag_conf.c157 static int nfp_fl_lag_get_group_info(struct nfp_app *app, in nfp_fl_lag_get_group_info()
192 int nfp_flower_lag_populate_pre_action(struct nfp_app *app, in nfp_flower_lag_populate_pre_action()
207 void nfp_flower_lag_get_info_from_netdev(struct nfp_app *app, in nfp_flower_lag_get_info_from_netdev()
215 int nfp_flower_lag_get_output_id(struct nfp_app *app, struct net_device *master) in nfp_flower_lag_get_output_id()
448 bool nfp_flower_lag_unprocessed_msg(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_lag_unprocessed_msg()
/drivers/net/ethernet/netronome/nfp/abm/
A Dmain.c30 nfp_abm_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_abm_setup_tc()
57 nfp_abm_repr_get(struct nfp_app *app, u32 port_id, bool *redir_egress) in nfp_abm_repr_get()
77 nfp_abm_spawn_repr(struct nfp_app *app, struct nfp_abm_link *alink, in nfp_abm_spawn_repr()
148 nfp_abm_kill_repr(struct nfp_app *app, struct nfp_abm_link *alink, in nfp_abm_kill_repr()
206 struct nfp_app *app = abm->app; in nfp_abm_eswitch_set_switchdev() local
239 static int nfp_abm_eswitch_mode_set(struct nfp_app *app, u16 mode) in nfp_abm_eswitch_mode_set()
362 static void nfp_abm_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_abm_vnic_free()
372 static int nfp_abm_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_abm_vnic_init()
399 nfp_abm_port_get_stats_count(struct nfp_app *app, struct nfp_port *port) in nfp_abm_port_get_stats_count()
443 static int nfp_abm_init(struct nfp_app *app) in nfp_abm_init()
[all …]
/drivers/net/ethernet/netronome/nfp/nic/
A Dmain.c11 static int nfp_nic_init(struct nfp_app *app) in nfp_nic_init()
24 static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_nic_sriov_enable()
29 static void nfp_nic_sriov_disable(struct nfp_app *app) in nfp_nic_sriov_disable()
33 static int nfp_nic_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_init()
38 static void nfp_nic_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_clean()
43 static int nfp_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_nic_vnic_alloc()
62 static void nfp_nic_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_free()
A Ddcb.c118 struct nfp_app *app = nn->app; in nfp_fill_maxrate() local
212 struct nfp_app *app = nn->app; in dcb_ets_check() local
268 struct nfp_app *app = nn->app; in nfp_nic_dcbnl_ieee_setets() local
332 struct nfp_app *app = nn->app; in nfp_nic_dcbnl_ieee_setmaxrate() local
431 struct dcb_app *app) in nfp_nic_dcbnl_ieee_setapp()
478 struct dcb_app *app) in nfp_nic_dcbnl_ieee_delapp()
525 struct nfp_app *app = nn->app; in nfp_nic_dcb_init() local
/drivers/net/ethernet/netronome/nfp/bpf/
A Dmain.c38 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload()
57 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap()
63 nfp_bpf_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_bpf_vnic_alloc()
97 static void nfp_bpf_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_vnic_free()
165 static int nfp_bpf_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_bpf_setup_tc()
182 nfp_bpf_check_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) in nfp_bpf_check_mtu()
336 static int nfp_bpf_parse_capabilities(struct nfp_app *app) in nfp_bpf_parse_capabilities()
423 static int nfp_bpf_ndo_init(struct nfp_app *app, struct net_device *netdev) in nfp_bpf_ndo_init()
437 static int nfp_bpf_start(struct nfp_app *app) in nfp_bpf_start()
456 static int nfp_bpf_init(struct nfp_app *app) in nfp_bpf_init()
[all …]
/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_dcb.c47 const struct dcb_app *app) in sparx5_dcb_app_validate()
232 struct dcb_app *app, in sparx5_dcb_ieee_dscp_setdel()
253 static int sparx5_dcb_ieee_delapp(struct net_device *dev, struct dcb_app *app) in sparx5_dcb_ieee_delapp()
268 static int sparx5_dcb_ieee_setapp(struct net_device *dev, struct dcb_app *app) in sparx5_dcb_ieee_setapp()
329 static int sparx5_dcb_delrewr(struct net_device *dev, struct dcb_app *app) in sparx5_dcb_delrewr()
344 static int sparx5_dcb_setrewr(struct net_device *dev, struct dcb_app *app) in sparx5_dcb_setrewr()
/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_dcb.c119 struct dcb_app *app, in lan966x_dcb_ieee_dscp_setdel()
141 const struct dcb_app *app) in lan966x_dcb_app_validate()
179 static int lan966x_dcb_ieee_delapp(struct net_device *dev, struct dcb_app *app) in lan966x_dcb_ieee_delapp()
196 static int lan966x_dcb_ieee_setapp(struct net_device *dev, struct dcb_app *app) in lan966x_dcb_ieee_setapp()
287 static int lan966x_dcb_delrewr(struct net_device *dev, struct dcb_app *app) in lan966x_dcb_delrewr()
304 static int lan966x_dcb_setrewr(struct net_device *dev, struct dcb_app *app) in lan966x_dcb_setrewr()
/drivers/net/ethernet/intel/i40e/
A Di40e_dcb_nl.c193 struct dcb_app *app) in i40e_dcbnl_ieee_setapp()
245 struct dcb_app *app) in i40e_dcbnl_ieee_delapp()
758 struct dcb_app app = { in i40e_dcbnl_getapp() local
926 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_vsi_del_app()
948 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_del_app()
970 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_find_app()
997 struct i40e_dcb_app_priority_table app; in i40e_dcbnl_flush_apps() local
/drivers/net/ethernet/intel/ice/
A Dice_dcb_nl.c693 struct dcb_app app = { in ice_dcbnl_getapp() local
712 struct ice_dcb_app_priority_table *app) in ice_dcbnl_find_app()
733 static int ice_dcbnl_setapp(struct net_device *netdev, struct dcb_app *app) in ice_dcbnl_setapp()
867 static int ice_dcbnl_delapp(struct net_device *netdev, struct dcb_app *app) in ice_dcbnl_delapp()
1090 struct ice_dcb_app_priority_table *app) in ice_dcbnl_vsi_del_app()
1123 struct ice_dcb_app_priority_table app = old_cfg->app[i]; in ice_dcbnl_flush_apps() local
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_dcb.c321 static int bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_set_dcbx_app()
439 static int bnxt_hwrm_queue_dscp2pri_cfg(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_queue_dscp2pri_cfg()
657 static int bnxt_dcbnl_ieee_dscp_app_prep(struct bnxt *bp, struct dcb_app *app) in bnxt_dcbnl_ieee_dscp_app_prep()
668 static int bnxt_dcbnl_ieee_setapp(struct net_device *dev, struct dcb_app *app) in bnxt_dcbnl_ieee_setapp()
697 static int bnxt_dcbnl_ieee_delapp(struct net_device *dev, struct dcb_app *app) in bnxt_dcbnl_ieee_delapp()
/drivers/hid/
A Dhid-multitouch.c744 unsigned long **bit, int *max, struct mt_application *app) in mt_touch_input_mapping()
950 static int mt_compute_slot(struct mt_device *td, struct mt_application *app, in mt_compute_slot()
972 struct mt_application *app, in mt_release_pending_palms()
997 static void mt_sync_frame(struct mt_device *td, struct mt_application *app, in mt_sync_frame()
1019 static int mt_compute_timestamp(struct mt_application *app, __s32 value) in mt_compute_timestamp()
1050 struct mt_application *app, in mt_process_slot()
1198 struct mt_application *app, in mt_process_mt_event()
1241 struct mt_application *app = rdata->application; in mt_touch_report() local
1338 struct mt_application *app) in mt_touch_input_configured()
1649 struct mt_application *app) in mt_post_parse_default_settings()
[all …]

Completed in 82 milliseconds

1234