Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h182 static inline int nfp_app_init(struct nfp_app *app) in nfp_app_init()
189 static inline void nfp_app_clean(struct nfp_app *app) in nfp_app_clean()
198 static inline int nfp_app_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_vnic_alloc()
204 static inline void nfp_app_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_free()
210 static inline int nfp_app_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_init()
217 static inline void nfp_app_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_clean()
223 static inline int nfp_app_repr_open(struct nfp_app *app, struct nfp_repr *repr) in nfp_app_repr_open()
230 static inline int nfp_app_repr_stop(struct nfp_app *app, struct nfp_repr *repr) in nfp_app_repr_stop()
238 nfp_app_repr_init(struct nfp_app *app, struct net_device *netdev) in nfp_app_repr_init()
246 nfp_app_repr_preclean(struct nfp_app *app, struct net_device *netdev) in nfp_app_repr_preclean()
[all …]
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
103 nfp_app_ctrl_msg_alloc(struct nfp_app *app, unsigned int size, gfp_t priority) in nfp_app_ctrl_msg_alloc()
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()
[all …]
Dnfp_net_sriov.c18 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg) in nfp_net_sriov_check()
40 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update()
64 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_mac() local
97 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_vlan() local
127 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_spoofchk() local
151 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_trust() local
176 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_link_state() local
210 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_vf_config() local
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()
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()
Dnfp_net_repr.c20 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set, unsigned int id) in nfp_repr_get_locked()
316 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, in nfp_repr_init()
422 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs) in nfp_repr_alloc_mqs()
456 void nfp_reprs_clean_and_free(struct nfp_app *app, struct nfp_reprs *reprs) in nfp_reprs_clean_and_free()
471 nfp_reprs_clean_and_free_by_type(struct nfp_app *app, enum nfp_repr_type type) in nfp_reprs_clean_and_free_by_type()
510 int nfp_reprs_resync_phys_ports(struct nfp_app *app) in nfp_reprs_resync_phys_ports()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c28 static const char *nfp_flower_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_extra_cap()
33 static enum devlink_eswitch_mode eswitch_mode_get(struct nfp_app *app) in eswitch_mode_get()
57 nfp_flower_get_internal_port_id(struct nfp_app *app, struct net_device *netdev) in nfp_flower_get_internal_port_id()
76 u32 nfp_flower_get_port_id_from_netdev(struct nfp_app *app, in nfp_flower_get_port_id_from_netdev()
95 nfp_flower_get_netdev_from_internal_port_id(struct nfp_app *app, int port_id) in nfp_flower_get_netdev_from_internal_port_id()
108 nfp_flower_free_internal_port_id(struct nfp_app *app, struct net_device *netdev) in nfp_flower_free_internal_port_id()
123 nfp_flower_internal_port_event_handler(struct nfp_app *app, in nfp_flower_internal_port_event_handler()
146 nfp_flower_non_repr_priv_lookup(struct nfp_app *app, struct net_device *netdev) in nfp_flower_non_repr_priv_lookup()
167 nfp_flower_non_repr_priv_get(struct nfp_app *app, struct net_device *netdev) in nfp_flower_non_repr_priv_get()
199 nfp_flower_non_repr_priv_put(struct nfp_app *app, struct net_device *netdev) in nfp_flower_non_repr_priv_put()
[all …]
Dmetadata.c39 static int nfp_release_stats_entry(struct nfp_app *app, u32 stats_context_id) in nfp_release_stats_entry()
58 static int nfp_get_stats_entry(struct nfp_app *app, u32 *stats_context_id) in nfp_get_stats_entry()
99 nfp_flower_search_fl_table(struct nfp_app *app, unsigned long tc_flower_cookie, in nfp_flower_search_fl_table()
112 void nfp_flower_rx_flow_stats(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_rx_flow_stats()
134 static int nfp_release_mask_id(struct nfp_app *app, u8 mask_id) in nfp_release_mask_id()
153 static int nfp_mask_alloc(struct nfp_app *app, u8 *mask_id) in nfp_mask_alloc()
194 nfp_add_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_add_mask_table()
221 nfp_search_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_search_mask_table()
237 nfp_find_in_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_find_in_mask_table()
252 nfp_check_mask_add(struct nfp_app *app, char *mask_data, u32 mask_len, in nfp_check_mask_add()
[all …]
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()
252 nfp_flower_cmsg_process_one_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_process_one_rx()
329 nfp_flower_queue_ctl_msg(struct nfp_app *app, struct sk_buff *skb, int type) in nfp_flower_queue_ctl_msg()
349 void nfp_flower_cmsg_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_rx()
Dtunnel_conf.c228 void nfp_tunnel_keep_alive(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_keep_alive()
269 void nfp_tunnel_keep_alive_v6(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_keep_alive_v6()
313 nfp_flower_xmit_tun_conf(struct nfp_app *app, u8 mtype, u16 plen, void *pdata, in nfp_flower_xmit_tun_conf()
388 static bool nfp_tun_has_route_v4(struct nfp_app *app, __be32 *ipv4_addr) in nfp_tun_has_route_v4()
398 nfp_tun_has_route_v6(struct nfp_app *app, struct in6_addr *ipv6_addr) in nfp_tun_has_route_v6()
408 nfp_tun_add_route_to_cache_v4(struct nfp_app *app, __be32 *ipv4_addr) in nfp_tun_add_route_to_cache_v4()
418 nfp_tun_add_route_to_cache_v6(struct nfp_app *app, struct in6_addr *ipv6_addr) in nfp_tun_add_route_to_cache_v6()
428 nfp_tun_del_route_from_cache_v4(struct nfp_app *app, __be32 *ipv4_addr) in nfp_tun_del_route_from_cache_v4()
438 nfp_tun_del_route_from_cache_v6(struct nfp_app *app, struct in6_addr *ipv6_addr) in nfp_tun_del_route_from_cache_v6()
448 nfp_tun_write_neigh_v4(struct net_device *netdev, struct nfp_app *app, in nfp_tun_write_neigh_v4()
[all …]
Dqos_conf.c61 nfp_flower_install_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_install_rate_limiter()
137 nfp_flower_remove_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_remove_rate_limiter()
181 void nfp_flower_stats_rlim_reply(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_stats_rlim_reply()
290 nfp_flower_stats_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_stats_rate_limiter()
328 void nfp_flower_qos_init(struct nfp_app *app) in nfp_flower_qos_init()
336 void nfp_flower_qos_cleanup(struct nfp_app *app) in nfp_flower_qos_cleanup()
343 int nfp_flower_setup_qos_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_setup_qos_offload()
Doffload.c92 nfp_flower_xmit_flow(struct nfp_app *app, struct nfp_fl_payload *nfp_flow, in nfp_flower_xmit_flow()
239 nfp_flower_calculate_key_layers(struct nfp_app *app, in nfp_flower_calculate_key_layers()
1003 int nfp_flower_merge_offloaded_flows(struct nfp_app *app, in nfp_flower_merge_offloaded_flows()
1131 nfp_flower_validate_pre_tun_rule(struct nfp_app *app, in nfp_flower_validate_pre_tun_rule()
1290 nfp_flower_add_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_add_offload()
1384 nfp_flower_remove_merge_flow(struct nfp_app *app, in nfp_flower_remove_merge_flow()
1456 nfp_flower_del_linked_merge_flows(struct nfp_app *app, in nfp_flower_del_linked_merge_flows()
1480 nfp_flower_del_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_del_offload()
1536 __nfp_flower_update_merge_stats(struct nfp_app *app, in __nfp_flower_update_merge_stats()
1572 nfp_flower_update_merge_stats(struct nfp_app *app, in nfp_flower_update_merge_stats()
[all …]
/kernel/linux/linux-5.10/net/802/
Dmrp.c236 static struct mrp_attr *mrp_attr_lookup(const struct mrp_applicant *app, in mrp_attr_lookup()
256 static struct mrp_attr *mrp_attr_create(struct mrp_applicant *app, in mrp_attr_create()
289 static void mrp_attr_destroy(struct mrp_applicant *app, struct mrp_attr *attr) in mrp_attr_destroy()
295 static void mrp_attr_destroy_all(struct mrp_applicant *app) in mrp_attr_destroy_all()
308 static int mrp_pdu_init(struct mrp_applicant *app) in mrp_pdu_init()
331 static int mrp_pdu_append_end_mark(struct mrp_applicant *app) in mrp_pdu_append_end_mark()
342 static void mrp_pdu_queue(struct mrp_applicant *app) in mrp_pdu_queue()
359 static void mrp_queue_xmit(struct mrp_applicant *app) in mrp_queue_xmit()
367 static int mrp_pdu_append_msg_hdr(struct mrp_applicant *app, in mrp_pdu_append_msg_hdr()
388 static int mrp_pdu_append_vecattr_hdr(struct mrp_applicant *app, in mrp_pdu_append_vecattr_hdr()
[all …]
Dgarp.c147 static struct garp_attr *garp_attr_lookup(const struct garp_applicant *app, in garp_attr_lookup()
167 static struct garp_attr *garp_attr_create(struct garp_applicant *app, in garp_attr_create()
200 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy()
206 static void garp_attr_destroy_all(struct garp_applicant *app) in garp_attr_destroy_all()
219 static int garp_pdu_init(struct garp_applicant *app) in garp_pdu_init()
241 static int garp_pdu_append_end_mark(struct garp_applicant *app) in garp_pdu_append_end_mark()
249 static void garp_pdu_queue(struct garp_applicant *app) in garp_pdu_queue()
267 static void garp_queue_xmit(struct garp_applicant *app) in garp_queue_xmit()
275 static int garp_pdu_append_msg(struct garp_applicant *app, u8 attrtype) in garp_pdu_append_msg()
287 static int garp_pdu_append_attr(struct garp_applicant *app, in garp_pdu_append_attr()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
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()
182 static enum devlink_eswitch_mode nfp_abm_eswitch_mode_get(struct nfp_app *app) in nfp_abm_eswitch_mode_get()
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()
313 nfp_abm_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_abm_vnic_alloc()
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()
[all …]
/kernel/linux/linux-5.10/Documentation/sphinx/
Dautomarkup.py73 def markup_refs(docname, app, node): argument
123 def markup_func_ref_sphinx3(docname, app, match): argument
158 def markup_c_ref(docname, app, match): argument
215 def markup_doc_ref(docname, app, match): argument
242 def auto_markup(app, doctree, name): argument
257 def setup(app): argument
Dkernellog.py16 def warn(app, message): argument
22 def verbose(app, message): argument
28 def info(app, message): argument
Dkfigure.py129 def setup(app): argument
169 def setupTools(app): argument
291 def dot2format(app, dot_fname, out_fname): argument
317 def svg2pdf(app, svg_fname, pdf_fname): argument
528 def add_kernel_figure_to_std_domain(app, doctree): argument
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
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()
430 static void nfp_bpf_ndo_uninit(struct nfp_app *app, struct net_device *netdev) in nfp_bpf_ndo_uninit()
437 static int nfp_bpf_start(struct nfp_app *app) in nfp_bpf_start()
[all …]
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_app.c45 static inline int ip_vs_app_get(struct ip_vs_app *app) in ip_vs_app_get()
51 static inline void ip_vs_app_put(struct ip_vs_app *app) in ip_vs_app_put()
73 ip_vs_app_inc_new(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in ip_vs_app_inc_new()
173 register_ip_vs_app_inc(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in register_ip_vs_app_inc()
189 struct ip_vs_app *register_ip_vs_app(struct netns_ipvs *ipvs, struct ip_vs_app *app) in register_ip_vs_app()
232 void unregister_ip_vs_app(struct netns_ipvs *ipvs, struct ip_vs_app *app) in unregister_ip_vs_app()
361 struct ip_vs_app *app, in app_tcp_pkt_out()
414 struct ip_vs_app *app; in ip_vs_app_pkt_out() local
438 struct ip_vs_app *app, in app_tcp_pkt_in()
491 struct ip_vs_app *app; in ip_vs_app_pkt_in() local
[all …]
Dip_vs_ftp.c77 ip_vs_ftp_init_conn(struct ip_vs_app *app, struct ip_vs_conn *cp) in ip_vs_ftp_init_conn()
86 ip_vs_ftp_done_conn(struct ip_vs_app *app, struct ip_vs_conn *cp) in ip_vs_ftp_done_conn()
248 static int ip_vs_ftp_out(struct ip_vs_app *app, struct ip_vs_conn *cp, in ip_vs_ftp_out()
418 static int ip_vs_ftp_in(struct ip_vs_app *app, struct ip_vs_conn *cp, in ip_vs_ftp_in()
578 struct ip_vs_app *app; in __ip_vs_ftp_init() local
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nic/
Dmain.c9 static int nfp_nic_init(struct nfp_app *app) in nfp_nic_init()
22 static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_nic_sriov_enable()
27 static void nfp_nic_sriov_disable(struct nfp_app *app) in nfp_nic_sriov_disable()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c192 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_vsi_del_app()
214 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_del_app()
236 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_find_app()
263 struct i40e_dcb_app_priority_table app; in i40e_dcbnl_flush_apps() local
/kernel/linux/linux-5.10/net/bluetooth/cmtp/
Dcapi.c75 struct cmtp_application *app = kzalloc(sizeof(*app), GFP_KERNEL); in cmtp_application_add() local
90 static void cmtp_application_del(struct cmtp_session *session, struct cmtp_application *app) in cmtp_application_del()
102 struct cmtp_application *app; in cmtp_application_get() local
511 struct cmtp_application *app; in cmtp_proc_show() local
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c296 static int bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_set_dcbx_app()
402 static int bnxt_hwrm_queue_dscp2pri_cfg(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_queue_dscp2pri_cfg()
607 static int bnxt_dcbnl_ieee_dscp_app_prep(struct bnxt *bp, struct dcb_app *app) in bnxt_dcbnl_ieee_dscp_app_prep()
618 static int bnxt_dcbnl_ieee_setapp(struct net_device *dev, struct dcb_app *app) in bnxt_dcbnl_ieee_setapp()
647 static int bnxt_dcbnl_ieee_delapp(struct net_device *dev, struct dcb_app *app) in bnxt_dcbnl_ieee_delapp()

1234