• Home
  • Raw
  • Download

Lines Matching refs:efx_nic

259 	struct efx_nic *efx ____cacheline_aligned_in_smp;
390 struct efx_nic *efx;
492 struct efx_nic *efx;
566 struct efx_nic *efx;
589 void (*handle_no_channel)(struct efx_nic *);
631 struct efx_nic;
944 struct efx_nic { struct
949 struct efx_nic *primary; argument
1125 static inline int efx_dev_registered(struct efx_nic *efx) in efx_dev_registered() argument
1130 static inline unsigned int efx_port_num(struct efx_nic *efx) in efx_port_num()
1304 unsigned int (*mem_bar)(struct efx_nic *efx);
1305 unsigned int (*mem_map_size)(struct efx_nic *efx);
1306 int (*probe)(struct efx_nic *efx);
1307 void (*remove)(struct efx_nic *efx);
1308 int (*init)(struct efx_nic *efx);
1309 int (*dimension_resources)(struct efx_nic *efx);
1310 void (*fini)(struct efx_nic *efx);
1311 void (*monitor)(struct efx_nic *efx);
1314 int (*reset)(struct efx_nic *efx, enum reset_type method);
1315 int (*probe_port)(struct efx_nic *efx);
1316 void (*remove_port)(struct efx_nic *efx);
1318 int (*fini_dmaq)(struct efx_nic *efx);
1319 void (*prepare_flush)(struct efx_nic *efx);
1320 void (*finish_flush)(struct efx_nic *efx);
1321 void (*prepare_flr)(struct efx_nic *efx);
1322 void (*finish_flr)(struct efx_nic *efx);
1323 size_t (*describe_stats)(struct efx_nic *efx, u8 *names);
1324 size_t (*update_stats)(struct efx_nic *efx, u64 *full_stats,
1326 size_t (*update_stats_atomic)(struct efx_nic *efx, u64 *full_stats,
1328 void (*start_stats)(struct efx_nic *efx);
1329 void (*pull_stats)(struct efx_nic *efx);
1330 void (*stop_stats)(struct efx_nic *efx);
1332 int (*reconfigure_port)(struct efx_nic *efx);
1333 void (*prepare_enable_fc_tx)(struct efx_nic *efx);
1334 int (*reconfigure_mac)(struct efx_nic *efx, bool mtu_only);
1335 bool (*check_mac_fault)(struct efx_nic *efx);
1336 void (*get_wol)(struct efx_nic *efx, struct ethtool_wolinfo *wol);
1337 int (*set_wol)(struct efx_nic *efx, u32 type);
1338 void (*resume_wol)(struct efx_nic *efx);
1339 void (*get_fec_stats)(struct efx_nic *efx,
1341 unsigned int (*check_caps)(const struct efx_nic *efx,
1344 int (*test_chip)(struct efx_nic *efx, struct efx_self_tests *tests);
1345 int (*test_nvram)(struct efx_nic *efx);
1346 void (*mcdi_request)(struct efx_nic *efx,
1349 bool (*mcdi_poll_response)(struct efx_nic *efx);
1350 void (*mcdi_read_response)(struct efx_nic *efx, efx_dword_t *pdu,
1352 int (*mcdi_poll_reboot)(struct efx_nic *efx);
1353 void (*mcdi_reboot_detected)(struct efx_nic *efx);
1354 void (*irq_enable_master)(struct efx_nic *efx);
1355 int (*irq_test_generate)(struct efx_nic *efx);
1356 void (*irq_disable_non_ev)(struct efx_nic *efx);
1366 int (*rx_push_rss_config)(struct efx_nic *efx, bool user,
1368 int (*rx_pull_rss_config)(struct efx_nic *efx);
1369 int (*rx_push_rss_context_config)(struct efx_nic *efx,
1373 int (*rx_pull_rss_context_config)(struct efx_nic *efx,
1375 void (*rx_restore_rss_contexts)(struct efx_nic *efx);
1390 int (*filter_table_probe)(struct efx_nic *efx);
1391 void (*filter_table_restore)(struct efx_nic *efx);
1392 void (*filter_table_remove)(struct efx_nic *efx);
1393 void (*filter_update_rx_scatter)(struct efx_nic *efx);
1394 s32 (*filter_insert)(struct efx_nic *efx,
1396 int (*filter_remove_safe)(struct efx_nic *efx,
1399 int (*filter_get_safe)(struct efx_nic *efx,
1402 int (*filter_clear_rx)(struct efx_nic *efx,
1404 u32 (*filter_count_rx_used)(struct efx_nic *efx,
1406 u32 (*filter_get_rx_id_limit)(struct efx_nic *efx);
1407 s32 (*filter_get_rx_ids)(struct efx_nic *efx,
1411 bool (*filter_rfs_expire_one)(struct efx_nic *efx, u32 flow_id,
1415 int (*mtd_probe)(struct efx_nic *efx);
1424 void (*ptp_write_host_time)(struct efx_nic *efx, u32 host_time);
1425 int (*ptp_set_ts_sync_events)(struct efx_nic *efx, bool en, bool temp);
1426 int (*ptp_set_ts_config)(struct efx_nic *efx,
1428 int (*sriov_configure)(struct efx_nic *efx, int num_vfs);
1429 int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
1430 int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
1431 int (*get_phys_port_id)(struct efx_nic *efx,
1433 int (*sriov_init)(struct efx_nic *efx);
1434 void (*sriov_fini)(struct efx_nic *efx);
1435 bool (*sriov_wanted)(struct efx_nic *efx);
1436 void (*sriov_reset)(struct efx_nic *efx);
1437 void (*sriov_flr)(struct efx_nic *efx, unsigned vf_i);
1438 int (*sriov_set_vf_mac)(struct efx_nic *efx, int vf_i, const u8 *mac);
1439 int (*sriov_set_vf_vlan)(struct efx_nic *efx, int vf_i, u16 vlan,
1441 int (*sriov_set_vf_spoofchk)(struct efx_nic *efx, int vf_i,
1443 int (*sriov_get_vf_config)(struct efx_nic *efx, int vf_i,
1445 int (*sriov_set_vf_link_state)(struct efx_nic *efx, int vf_i,
1447 int (*vswitching_probe)(struct efx_nic *efx);
1448 int (*vswitching_restore)(struct efx_nic *efx);
1449 void (*vswitching_remove)(struct efx_nic *efx);
1450 int (*get_mac_address)(struct efx_nic *efx, unsigned char *perm_addr);
1451 int (*set_mac_address)(struct efx_nic *efx);
1452 u32 (*tso_versions)(struct efx_nic *efx);
1453 int (*udp_tnl_push_ports)(struct efx_nic *efx);
1454 bool (*udp_tnl_has_port)(struct efx_nic *efx, __be16 port);
1455 size_t (*print_additional_fwver)(struct efx_nic *efx, char *buf,
1457 void (*sensor_event)(struct efx_nic *efx, efx_qword_t *ev);
1458 unsigned int (*rx_recycle_ring_size)(const struct efx_nic *efx);
1490 efx_get_channel(struct efx_nic *efx, unsigned index) in efx_get_channel()
1511 efx_get_tx_channel(struct efx_nic *efx, unsigned int index) in efx_get_tx_channel()
1518 efx_get_xdp_channel(struct efx_nic *efx, unsigned int index) in efx_get_xdp_channel()
1550 efx_get_tx_queue(struct efx_nic *efx, unsigned int index, unsigned int type) in efx_get_tx_queue()
1680 static inline netdev_features_t efx_supported_features(const struct efx_nic *efx) in efx_supported_features()