Lines Matching refs:efx_nic

241 	struct efx_nic *efx ____cacheline_aligned_in_smp;
377 struct efx_nic *efx;
484 struct efx_nic *efx;
559 struct efx_nic *efx;
585 void (*handle_no_channel)(struct efx_nic *);
673 struct efx_nic;
978 struct efx_nic { struct
983 struct efx_nic *primary; argument
1170 struct efx_nic efx; argument
1173 static inline struct efx_nic *efx_netdev_priv(struct net_device *dev) in efx_netdev_priv()
1181 static inline int efx_dev_registered(struct efx_nic *efx) in efx_dev_registered()
1186 static inline unsigned int efx_port_num(struct efx_nic *efx) in efx_port_num()
1355 unsigned int (*mem_bar)(struct efx_nic *efx);
1356 unsigned int (*mem_map_size)(struct efx_nic *efx);
1357 int (*probe)(struct efx_nic *efx);
1358 void (*remove)(struct efx_nic *efx);
1359 int (*init)(struct efx_nic *efx);
1360 int (*dimension_resources)(struct efx_nic *efx);
1361 void (*fini)(struct efx_nic *efx);
1362 void (*monitor)(struct efx_nic *efx);
1365 int (*reset)(struct efx_nic *efx, enum reset_type method);
1366 int (*probe_port)(struct efx_nic *efx);
1367 void (*remove_port)(struct efx_nic *efx);
1369 int (*fini_dmaq)(struct efx_nic *efx);
1370 void (*prepare_flr)(struct efx_nic *efx);
1371 void (*finish_flr)(struct efx_nic *efx);
1372 size_t (*describe_stats)(struct efx_nic *efx, u8 *names);
1373 size_t (*update_stats)(struct efx_nic *efx, u64 *full_stats,
1375 size_t (*update_stats_atomic)(struct efx_nic *efx, u64 *full_stats,
1377 void (*start_stats)(struct efx_nic *efx);
1378 void (*pull_stats)(struct efx_nic *efx);
1379 void (*stop_stats)(struct efx_nic *efx);
1381 int (*reconfigure_port)(struct efx_nic *efx);
1382 void (*prepare_enable_fc_tx)(struct efx_nic *efx);
1383 int (*reconfigure_mac)(struct efx_nic *efx, bool mtu_only);
1384 bool (*check_mac_fault)(struct efx_nic *efx);
1385 void (*get_wol)(struct efx_nic *efx, struct ethtool_wolinfo *wol);
1386 int (*set_wol)(struct efx_nic *efx, u32 type);
1387 void (*resume_wol)(struct efx_nic *efx);
1388 void (*get_fec_stats)(struct efx_nic *efx,
1390 unsigned int (*check_caps)(const struct efx_nic *efx,
1393 int (*test_chip)(struct efx_nic *efx, struct efx_self_tests *tests);
1394 int (*test_nvram)(struct efx_nic *efx);
1395 void (*mcdi_request)(struct efx_nic *efx,
1398 bool (*mcdi_poll_response)(struct efx_nic *efx);
1399 void (*mcdi_read_response)(struct efx_nic *efx, efx_dword_t *pdu,
1401 int (*mcdi_poll_reboot)(struct efx_nic *efx);
1402 void (*mcdi_reboot_detected)(struct efx_nic *efx);
1403 void (*irq_enable_master)(struct efx_nic *efx);
1404 int (*irq_test_generate)(struct efx_nic *efx);
1405 void (*irq_disable_non_ev)(struct efx_nic *efx);
1415 int (*rx_push_rss_config)(struct efx_nic *efx, bool user,
1417 int (*rx_pull_rss_config)(struct efx_nic *efx);
1418 int (*rx_push_rss_context_config)(struct efx_nic *efx,
1422 int (*rx_pull_rss_context_config)(struct efx_nic *efx,
1424 void (*rx_restore_rss_contexts)(struct efx_nic *efx);
1439 int (*filter_table_probe)(struct efx_nic *efx);
1440 void (*filter_table_restore)(struct efx_nic *efx);
1441 void (*filter_table_remove)(struct efx_nic *efx);
1442 void (*filter_update_rx_scatter)(struct efx_nic *efx);
1443 s32 (*filter_insert)(struct efx_nic *efx,
1445 int (*filter_remove_safe)(struct efx_nic *efx,
1448 int (*filter_get_safe)(struct efx_nic *efx,
1451 int (*filter_clear_rx)(struct efx_nic *efx,
1453 u32 (*filter_count_rx_used)(struct efx_nic *efx,
1455 u32 (*filter_get_rx_id_limit)(struct efx_nic *efx);
1456 s32 (*filter_get_rx_ids)(struct efx_nic *efx,
1460 bool (*filter_rfs_expire_one)(struct efx_nic *efx, u32 flow_id,
1464 int (*mtd_probe)(struct efx_nic *efx);
1473 void (*ptp_write_host_time)(struct efx_nic *efx, u32 host_time);
1474 int (*ptp_set_ts_sync_events)(struct efx_nic *efx, bool en, bool temp);
1475 int (*ptp_set_ts_config)(struct efx_nic *efx,
1477 int (*sriov_configure)(struct efx_nic *efx, int num_vfs);
1478 int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
1479 int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
1480 int (*get_phys_port_id)(struct efx_nic *efx,
1482 int (*sriov_init)(struct efx_nic *efx);
1483 void (*sriov_fini)(struct efx_nic *efx);
1484 bool (*sriov_wanted)(struct efx_nic *efx);
1485 int (*sriov_set_vf_mac)(struct efx_nic *efx, int vf_i, const u8 *mac);
1486 int (*sriov_set_vf_vlan)(struct efx_nic *efx, int vf_i, u16 vlan,
1488 int (*sriov_set_vf_spoofchk)(struct efx_nic *efx, int vf_i,
1490 int (*sriov_get_vf_config)(struct efx_nic *efx, int vf_i,
1492 int (*sriov_set_vf_link_state)(struct efx_nic *efx, int vf_i,
1494 int (*vswitching_probe)(struct efx_nic *efx);
1495 int (*vswitching_restore)(struct efx_nic *efx);
1496 void (*vswitching_remove)(struct efx_nic *efx);
1497 int (*get_mac_address)(struct efx_nic *efx, unsigned char *perm_addr);
1498 int (*set_mac_address)(struct efx_nic *efx);
1499 u32 (*tso_versions)(struct efx_nic *efx);
1500 int (*udp_tnl_push_ports)(struct efx_nic *efx);
1501 bool (*udp_tnl_has_port)(struct efx_nic *efx, __be16 port);
1502 size_t (*print_additional_fwver)(struct efx_nic *efx, char *buf,
1504 void (*sensor_event)(struct efx_nic *efx, efx_qword_t *ev);
1505 unsigned int (*rx_recycle_ring_size)(const struct efx_nic *efx);
1537 efx_get_channel(struct efx_nic *efx, unsigned index) in efx_get_channel()
1558 efx_get_tx_channel(struct efx_nic *efx, unsigned int index) in efx_get_tx_channel()
1565 efx_get_xdp_channel(struct efx_nic *efx, unsigned int index) in efx_get_xdp_channel()
1597 efx_get_tx_queue(struct efx_nic *efx, unsigned int index, unsigned int type) in efx_get_tx_queue()
1727 static inline netdev_features_t efx_supported_features(const struct efx_nic *efx) in efx_supported_features()