/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_app.h | 50 struct nfp_app; 118 int (*init)(struct nfp_app *app); 119 void (*clean)(struct nfp_app *app); 121 const char *(*extra_cap)(struct nfp_app *app, struct nfp_net *nn); 123 int (*ndo_init)(struct nfp_app *app, struct net_device *netdev); 124 void (*ndo_uninit)(struct nfp_app *app, struct net_device *netdev); 126 int (*vnic_alloc)(struct nfp_app *app, struct nfp_net *nn, 128 void (*vnic_free)(struct nfp_app *app, struct nfp_net *nn); 129 int (*vnic_init)(struct nfp_app *app, struct nfp_net *nn); 130 void (*vnic_clean)(struct nfp_app *app, struct nfp_net *nn); [all …]
|
D | nfp_net_repr.h | 38 struct nfp_app; 85 struct nfp_app *app; 121 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set, 125 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, 130 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs); 132 void nfp_reprs_clean_and_free(struct nfp_app *app, struct nfp_reprs *reprs); 133 void nfp_reprs_clean_and_free_by_type(struct nfp_app *app, 136 int nfp_reprs_resync_phys_ports(struct nfp_app *app); 138 static inline struct net_device *nfp_repr_alloc(struct nfp_app *app) in nfp_repr_alloc()
|
D | nfp_app.c | 63 struct nfp_app *nfp_app_from_netdev(struct net_device *netdev) in nfp_app_from_netdev() 82 const char *nfp_app_mip_name(struct nfp_app *app) in nfp_app_mip_name() 91 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_init() 100 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_uninit() 128 nfp_app_ctrl_msg_alloc(struct nfp_app *app, unsigned int size, gfp_t priority) in nfp_app_ctrl_msg_alloc() 146 nfp_reprs_get_locked(struct nfp_app *app, enum nfp_repr_type type) in nfp_reprs_get_locked() 153 nfp_app_reprs_set(struct nfp_app *app, enum nfp_repr_type type, in nfp_app_reprs_set() 164 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id) in nfp_app_alloc() 166 struct nfp_app *app; in nfp_app_alloc() 190 void nfp_app_free(struct nfp_app *app) in nfp_app_free()
|
D | nfp_net_sriov.c | 48 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg) in nfp_net_sriov_check() 70 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update() 94 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_mac() 127 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_vlan() 157 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_spoofchk() 182 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_vf_link_state() 216 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_vf_config()
|
D | nfp_port.h | 40 struct nfp_app; 97 struct nfp_app *app; 149 nfp_port_alloc(struct nfp_app *app, enum nfp_port_type type, 153 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, 160 int nfp_devlink_port_register(struct nfp_app *app, struct nfp_port *port);
|
D | nfp_app_nic.c | 41 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_app_nic_vnic_init_phy_port() 62 int nfp_app_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_nic_vnic_alloc()
|
D | nfp_net_repr.c | 50 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set, unsigned int id) in nfp_repr_get_locked() 309 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, in nfp_repr_init() 366 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs) in nfp_repr_alloc_mqs() 400 void nfp_reprs_clean_and_free(struct nfp_app *app, struct nfp_reprs *reprs) in nfp_reprs_clean_and_free() 415 nfp_reprs_clean_and_free_by_type(struct nfp_app *app, enum nfp_repr_type type) in nfp_reprs_clean_and_free_by_type() 454 int nfp_reprs_resync_phys_ports(struct nfp_app *app) in nfp_reprs_resync_phys_ports()
|
D | nfp_port.c | 232 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_port_init_phy_port() 260 nfp_port_alloc(struct nfp_app *app, enum nfp_port_type type, in nfp_port_alloc()
|
D | nfp_net_ethtool.c | 185 static void nfp_net_get_nspinfo(struct nfp_app *app, char *version) in nfp_net_get_nspinfo() 204 nfp_get_drvinfo(struct nfp_app *app, struct pci_dev *pdev, in nfp_get_drvinfo() 236 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_drvinfo() 1023 nfp_dump_nsp_diag(struct nfp_app *app, struct ethtool_dump *dump, void *buffer) in nfp_dump_nsp_diag() 1068 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_set_dump() 1096 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_dump_flag() 1114 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_dump_data() 1271 struct nfp_app *app; in nfp_net_flash_device()
|
D | Makefile | 19 nfp_app.o \
|
D | nfp_main.h | 123 struct nfp_app *app;
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/ |
D | main.h | 50 struct nfp_app; 166 struct nfp_app *app; 249 int nfp_flower_metadata_init(struct nfp_app *app); 250 void nfp_flower_metadata_cleanup(struct nfp_app *app); 252 int nfp_flower_setup_tc(struct nfp_app *app, struct net_device *netdev, 259 int nfp_flower_compile_action(struct nfp_app *app, 263 int nfp_compile_flow_metadata(struct nfp_app *app, 267 int nfp_modify_flow_metadata(struct nfp_app *app, 271 nfp_flower_search_fl_table(struct nfp_app *app, unsigned long tc_flower_cookie, 274 nfp_flower_remove_fl_table(struct nfp_app *app, unsigned long tc_flower_cookie); [all …]
|
D | main.c | 55 static const char *nfp_flower_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_extra_cap() 60 static enum devlink_eswitch_mode eswitch_mode_get(struct nfp_app *app) in eswitch_mode_get() 66 nfp_flower_repr_get_type_and_port(struct nfp_app *app, u32 port_id, u8 *port) in nfp_flower_repr_get_type_and_port() 87 nfp_flower_repr_get(struct nfp_app *app, u32 port_id) in nfp_flower_repr_get() 108 nfp_flower_reprs_reify(struct nfp_app *app, enum nfp_repr_type type, in nfp_flower_reprs_reify() 137 nfp_flower_wait_repr_reify(struct nfp_app *app, atomic_t *replies, int tot_repl) in nfp_flower_wait_repr_reify() 158 nfp_flower_repr_netdev_open(struct nfp_app *app, struct nfp_repr *repr) in nfp_flower_repr_netdev_open() 172 nfp_flower_repr_netdev_stop(struct nfp_app *app, struct nfp_repr *repr) in nfp_flower_repr_netdev_stop() 180 nfp_flower_repr_netdev_init(struct nfp_app *app, struct net_device *netdev) in nfp_flower_repr_netdev_init() 188 nfp_flower_repr_netdev_clean(struct nfp_app *app, struct net_device *netdev) in nfp_flower_repr_netdev_clean() [all …]
|
D | metadata.c | 51 static int nfp_release_stats_entry(struct nfp_app *app, u32 stats_context_id) in nfp_release_stats_entry() 70 static int nfp_get_stats_entry(struct nfp_app *app, u32 *stats_context_id) in nfp_get_stats_entry() 102 nfp_flower_search_fl_table(struct nfp_app *app, unsigned long tc_flower_cookie, in nfp_flower_search_fl_table() 120 nfp_flower_update_stats(struct nfp_app *app, struct nfp_fl_stats_frame *stats) in nfp_flower_update_stats() 143 void nfp_flower_rx_flow_stats(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_rx_flow_stats() 157 static int nfp_release_mask_id(struct nfp_app *app, u8 mask_id) in nfp_release_mask_id() 176 static int nfp_mask_alloc(struct nfp_app *app, u8 *mask_id) in nfp_mask_alloc() 217 nfp_add_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_add_mask_table() 244 nfp_search_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_search_mask_table() 260 nfp_find_in_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_find_in_mask_table() [all …]
|
D | tunnel_conf.c | 174 void nfp_tunnel_keep_alive(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_keep_alive() 227 nfp_flower_xmit_tun_conf(struct nfp_app *app, u8 mtype, u16 plen, void *pdata, in nfp_flower_xmit_tun_conf() 244 static bool nfp_tun_has_route(struct nfp_app *app, __be32 ipv4_addr) in nfp_tun_has_route() 262 static void nfp_tun_add_route_to_cache(struct nfp_app *app, __be32 ipv4_addr) in nfp_tun_add_route_to_cache() 288 static void nfp_tun_del_route_from_cache(struct nfp_app *app, __be32 ipv4_addr) in nfp_tun_del_route_from_cache() 307 nfp_tun_write_neigh(struct net_device *netdev, struct nfp_app *app, in nfp_tun_write_neigh() 349 struct nfp_app *app; in nfp_tun_neigh_event_handler() 396 void nfp_tunnel_request_route(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_request_route() 437 static void nfp_tun_write_ipv4_list(struct nfp_app *app) in nfp_tun_write_ipv4_list() 465 void nfp_tunnel_add_ipv4_off(struct nfp_app *app, __be32 ipv4) in nfp_tunnel_add_ipv4_off() [all …]
|
D | cmsg.c | 52 nfp_flower_cmsg_alloc(struct nfp_app *app, unsigned int size, in nfp_flower_cmsg_alloc() 74 nfp_flower_cmsg_mac_repr_start(struct nfp_app *app, unsigned int num_ports) in nfp_flower_cmsg_mac_repr_start() 155 nfp_flower_process_mtu_ack(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_process_mtu_ack() 183 nfp_flower_cmsg_portmod_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_portmod_rx() 218 nfp_flower_cmsg_portreify_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_portreify_rx() 240 nfp_flower_cmsg_process_one_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_process_one_rx() 304 nfp_flower_queue_ctl_msg(struct nfp_app *app, struct sk_buff *skb, int type) in nfp_flower_queue_ctl_msg() 325 void nfp_flower_cmsg_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_rx()
|
D | offload.c | 161 nfp_flower_calculate_key_layers(struct nfp_app *app, in nfp_flower_calculate_key_layers() 458 nfp_flower_add_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_add_offload() 549 nfp_flower_del_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_del_offload() 598 nfp_flower_get_stats(struct nfp_app *app, struct net_device *netdev, in nfp_flower_get_stats() 625 nfp_flower_repr_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_repr_offload() 700 int nfp_flower_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_flower_setup_tc()
|
D | cmsg.h | 509 nfp_flower_cmsg_mac_repr_start(struct nfp_app *app, unsigned int num_ports); 518 void nfp_flower_cmsg_rx(struct nfp_app *app, struct sk_buff *skb); 520 nfp_flower_cmsg_alloc(struct nfp_app *app, unsigned int size,
|
D | action.c | 89 nfp_fl_pre_lag(struct nfp_app *app, const struct tc_action *action, in nfp_fl_pre_lag() 140 nfp_fl_output(struct nfp_app *app, struct nfp_fl_output *output, in nfp_fl_output() 202 nfp_fl_get_tun_from_act_l4_port(struct nfp_app *app, in nfp_fl_get_tun_from_act_l4_port() 305 nfp_fl_set_ipv4_udp_tun(struct nfp_app *app, in nfp_fl_set_ipv4_udp_tun() 667 nfp_flower_output_action(struct nfp_app *app, const struct tc_action *a, in nfp_flower_output_action() 712 nfp_flower_loop_action(struct nfp_app *app, const struct tc_action *a, in nfp_flower_loop_action() 815 int nfp_flower_compile_action(struct nfp_app *app, in nfp_flower_compile_action()
|
D | lag_conf.c | 187 int nfp_flower_lag_populate_pre_action(struct nfp_app *app, in nfp_flower_lag_populate_pre_action() 213 int nfp_flower_lag_get_output_id(struct nfp_app *app, struct net_device *master) in nfp_flower_lag_get_output_id() 442 bool nfp_flower_lag_unprocessed_msg(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_lag_unprocessed_msg()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nic/ |
D | main.c | 39 static int nfp_nic_init(struct nfp_app *app) in nfp_nic_init() 52 static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_nic_sriov_enable() 57 static void nfp_nic_sriov_disable(struct nfp_app *app) in nfp_nic_sriov_disable()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c | 65 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload() 84 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap() 90 nfp_bpf_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_bpf_vnic_alloc() 124 static void nfp_bpf_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_vnic_free() 213 static int nfp_bpf_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_bpf_setup_tc() 225 nfp_bpf_check_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) in nfp_bpf_check_mtu() 345 static int nfp_bpf_parse_capabilities(struct nfp_app *app) in nfp_bpf_parse_capabilities() 417 static int nfp_bpf_ndo_init(struct nfp_app *app, struct net_device *netdev) in nfp_bpf_ndo_init() 424 static void nfp_bpf_ndo_uninit(struct nfp_app *app, struct net_device *netdev) in nfp_bpf_ndo_uninit() 431 static int nfp_bpf_init(struct nfp_app *app) in nfp_bpf_init() [all …]
|
D | main.h | 156 struct nfp_app *app; 481 struct nfp_app; 484 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, 512 void nfp_bpf_ctrl_msg_rx(struct nfp_app *app, struct sk_buff *skb); 514 nfp_bpf_ctrl_msg_rx_raw(struct nfp_app *app, const void *data,
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 325 nfp_abm_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_abm_setup_tc() 345 static struct net_device *nfp_abm_repr_get(struct nfp_app *app, u32 port_id) in nfp_abm_repr_get() 365 nfp_abm_spawn_repr(struct nfp_app *app, struct nfp_abm_link *alink, in nfp_abm_spawn_repr() 434 nfp_abm_kill_repr(struct nfp_app *app, struct nfp_abm_link *alink, in nfp_abm_kill_repr() 466 static enum devlink_eswitch_mode nfp_abm_eswitch_mode_get(struct nfp_app *app) in nfp_abm_eswitch_mode_get() 490 struct nfp_app *app = abm->app; in nfp_abm_eswitch_set_switchdev() 520 static int nfp_abm_eswitch_mode_set(struct nfp_app *app, u16 mode) in nfp_abm_eswitch_mode_set() 577 nfp_abm_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_abm_vnic_alloc() 621 static void nfp_abm_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_abm_vnic_free() 631 nfp_abm_port_get_stats(struct nfp_app *app, struct nfp_port *port, u64 *data) in nfp_abm_port_get_stats() [all …]
|
D | main.h | 40 struct nfp_app; 56 struct nfp_app *app;
|