Home
last modified time | relevance | path

Searched refs:app_priv (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c336 kfree(repr->app_priv); in nfp_flower_repr_netdev_clean()
408 nfp_repr->app_priv = repr_priv; in nfp_flower_spawn_vnic_reprs()
526 nfp_repr->app_priv = repr_priv; in nfp_flower_spawn_phy_reprs()
695 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_sync_feature_bits() local
700 app_priv->flower_ext_feats | in nfp_flower_sync_feature_bits()
711 app_priv->flower_en_feats |= NFP_FL_ENABLE_LAG; in nfp_flower_sync_feature_bits()
712 nfp_flower_lag_init(&app_priv->nfp_lag); in nfp_flower_sync_feature_bits()
719 if (app_priv->flower_ext_feats & NFP_FL_FEATS_FLOW_MOD) { in nfp_flower_sync_feature_bits()
724 app_priv->flower_en_feats |= NFP_FL_ENABLE_FLOW_MERGE; in nfp_flower_sync_feature_bits()
725 nfp_flower_internal_port_init(app_priv); in nfp_flower_sync_feature_bits()
[all …]
Dcmsg.c125 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_process_mtu_ack() local
133 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_process_mtu_ack()
134 if (!app_priv->mtu_conf.requested_val || in nfp_flower_process_mtu_ack()
135 app_priv->mtu_conf.portnum != be32_to_cpu(msg->portnum) || in nfp_flower_process_mtu_ack()
136 be16_to_cpu(msg->mtu) != app_priv->mtu_conf.requested_val) { in nfp_flower_process_mtu_ack()
138 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_process_mtu_ack()
142 app_priv->mtu_conf.ack = true; in nfp_flower_process_mtu_ack()
143 app_priv->mtu_conf.requested_val = 0; in nfp_flower_process_mtu_ack()
144 wake_up(&app_priv->mtu_conf.wait_q); in nfp_flower_process_mtu_ack()
145 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_process_mtu_ack()
[all …]
Dqos_conf.c95 repr_priv = repr->app_priv; in nfp_flower_install_rate_limiter()
220 repr_priv = repr->app_priv; in nfp_flower_remove_rate_limiter()
276 repr_priv = repr->app_priv; in nfp_flower_stats_rlim_reply()
339 repr_priv = priv->app_priv; in nfp_flower_stats_rlim_request_all()
383 repr_priv = repr->app_priv; in nfp_flower_stats_rate_limiter()
Dtunnel_conf.c523 struct nfp_flower_priv *app_priv; in nfp_tun_neigh_event_handler() local
553 app_priv = container_of(nb, struct nfp_flower_priv, tun.neigh_nb); in nfp_tun_neigh_event_handler()
554 app = app_priv->app; in nfp_tun_neigh_event_handler()
906 repr_priv = repr->app_priv; in nfp_tunnel_offloaded_macs_inc_ref_and_link()
1025 repr_priv = repr->app_priv; in nfp_tunnel_del_shared_mac()
1109 repr_priv = repr->app_priv; in nfp_tunnel_offload_mac()
1248 repr_priv = repr->app_priv; in nfp_tunnel_mac_event_handler()
1274 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_xmit_pre_tun_flow() local
1281 if (app_priv->pre_tun_rule_cnt == NFP_TUN_PRE_TUN_RULE_LIMIT) in nfp_flower_xmit_pre_tun_flow()
1320 app_priv->pre_tun_rule_cnt++; in nfp_flower_xmit_pre_tun_flow()
[all …]
Dmain.h383 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_internal_port_can_offload() local
385 if (!(app_priv->flower_en_feats & NFP_FL_ENABLE_FLOW_MERGE)) in nfp_flower_internal_port_can_offload()
Dlag_conf.c337 repr_priv = repr->app_priv; in nfp_fl_lag_do_work()
611 repr_priv = repr->app_priv; in nfp_fl_lag_changels_event()
Doffload.c1722 repr_priv = repr->app_priv; in nfp_flower_setup_tc_block()
/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c42 return nfp_abm_setup_root(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
44 return nfp_abm_setup_tc_mq(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
46 return nfp_abm_setup_tc_red(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
48 return nfp_abm_setup_tc_gred(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
100 repr->app_priv = alink; in nfp_abm_spawn_repr()
179 nfp_abm_kill_reprs(abm, (struct nfp_abm_link *)nn->app_priv); in nfp_abm_kill_reprs_all()
219 struct nfp_abm_link *alink = nn->app_priv; in nfp_abm_eswitch_set_switchdev()
323 nn->app_priv = alink; in nfp_abm_vnic_alloc()
364 struct nfp_abm_link *alink = nn->app_priv; in nfp_abm_vnic_free()
374 struct nfp_abm_link *alink = nn->app_priv; in nfp_abm_vnic_init()
[all …]
Dcls.c234 alink = repr->app_priv; in nfp_abm_setup_tc_block_cb()
/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c82 nn->app_priv = bv; in nfp_bpf_vnic_alloc()
93 kfree(nn->app_priv); in nfp_bpf_vnic_alloc()
99 struct nfp_bpf_vnic *bv = nn->app_priv; in nfp_bpf_vnic_free()
143 bv = nn->app_priv; in nfp_bpf_setup_tc_block_cb()
194 bv = nn->app_priv; in nfp_bpf_check_mtu()
Doffload.c522 img = nfp_bpf_relo_for_vnic(nfp_prog, nn->app_priv); in nfp_net_bpf_load()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.h57 void *app_priv; member
Dnfp_net.h708 void *app_priv; member