| /linux/drivers/net/ethernet/pensando/ionic/ |
| A D | ionic_lif.h | 183 struct ionic_lif { struct 263 struct ionic_lif *lif; argument 341 int ionic_lif_init(struct ionic_lif *lif); 342 void ionic_lif_free(struct ionic_lif *lif); 343 void ionic_lif_deinit(struct ionic_lif *lif); 349 void ionic_txrx_free(struct ionic_lif *lif); 350 void ionic_qcqs_free(struct ionic_lif *lif); 351 int ionic_restart_lif(struct ionic_lif *lif); 353 int ionic_lif_register(struct ionic_lif *lif); 368 void ionic_lif_free_phc(struct ionic_lif *lif); [all …]
|
| A D | ionic_rx_filter.h | 34 void ionic_rx_filter_free(struct ionic_lif *lif, struct ionic_rx_filter *f); 35 void ionic_rx_filter_replay(struct ionic_lif *lif); 36 int ionic_rx_filters_init(struct ionic_lif *lif); 37 void ionic_rx_filters_deinit(struct ionic_lif *lif); 38 int ionic_rx_filter_save(struct ionic_lif *lif, u32 flow_id, u16 rxq_index, 41 struct ionic_rx_filter *ionic_rx_filter_by_vlan(struct ionic_lif *lif, u16 vid); 43 struct ionic_rx_filter *ionic_rx_filter_rxsteer(struct ionic_lif *lif); 44 void ionic_rx_filter_sync(struct ionic_lif *lif); 45 int ionic_lif_list_addr(struct ionic_lif *lif, const u8 *addr, bool mode); 46 int ionic_lif_vlan_add(struct ionic_lif *lif, const u16 vid); [all …]
|
| A D | ionic_debugfs.h | 17 void ionic_debugfs_add_lif(struct ionic_lif *lif); 18 void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq); 19 void ionic_debugfs_del_lif(struct ionic_lif *lif); 28 static inline void ionic_debugfs_add_lif(struct ionic_lif *lif) { } in ionic_debugfs_add_lif() 29 static inline void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq) { } in ionic_debugfs_add_qcq() 30 static inline void ionic_debugfs_del_lif(struct ionic_lif *lif) { } in ionic_debugfs_del_lif()
|
| A D | ionic.h | 7 struct ionic_lif; 53 struct ionic_lif *lif; 77 int ionic_adminq_post(struct ionic_lif *lif, struct ionic_admin_ctx *ctx); 78 int ionic_adminq_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx, 80 int ionic_adminq_post_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx); 81 int ionic_adminq_post_wait_nomsg(struct ionic_lif *lif, struct ionic_admin_ctx *ctx); 82 void ionic_adminq_netdev_err_print(struct ionic_lif *lif, u8 opcode,
|
| A D | ionic_ethtool.c | 27 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_stats() 50 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_sset_count() 64 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_strings() 76 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_drvinfo() 94 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_regs() 117 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_link_ext_stats() 126 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_link_ksettings() 276 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_link_ksettings() 310 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_pauseparam() 325 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_pauseparam() [all …]
|
| A D | ionic_rx_filter.c | 13 void ionic_rx_filter_free(struct ionic_lif *lif, struct ionic_rx_filter *f) in ionic_rx_filter_free() 22 void ionic_rx_filter_replay(struct ionic_lif *lif) in ionic_rx_filter_replay() 91 int ionic_rx_filters_init(struct ionic_lif *lif) in ionic_rx_filters_init() 107 void ionic_rx_filters_deinit(struct ionic_lif *lif) in ionic_rx_filters_deinit() 304 static int ionic_lif_filter_add(struct ionic_lif *lif, in ionic_lif_filter_add() 446 int ionic_lif_addr_add(struct ionic_lif *lif, const u8 *addr) in ionic_lif_addr_add() 457 int ionic_lif_vlan_add(struct ionic_lif *lif, const u16 vid) in ionic_lif_vlan_add() 467 static int ionic_lif_filter_del(struct ionic_lif *lif, in ionic_lif_filter_del() 532 int ionic_lif_addr_del(struct ionic_lif *lif, const u8 *addr) in ionic_lif_addr_del() 543 int ionic_lif_vlan_del(struct ionic_lif *lif, const u16 vid) in ionic_lif_vlan_del() [all …]
|
| A D | ionic_lif.c | 45 static int ionic_txrx_init(struct ionic_lif *lif); 60 struct ionic_lif *lif; in ionic_dim_work() 87 struct ionic_lif *lif = container_of(work, struct ionic_lif, deferred.work); in ionic_lif_deferred_work() 285 struct ionic_lif *lif = q->lif; in ionic_qcq_enable() 451 void ionic_qcqs_free(struct ionic_lif *lif) in ionic_qcqs_free() 1272 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_stats64() 1827 struct ionic_lif *lif = container_of(ws, struct ionic_lif, tx_timeout_work); in ionic_tx_timeout_work() 2024 void ionic_txrx_free(struct ionic_lif *lif) in ionic_txrx_free() 3229 struct ionic_lif *lif; in ionic_lif_alloc() 3504 void ionic_lif_free(struct ionic_lif *lif) in ionic_lif_free() [all …]
|
| A D | ionic_stats.c | 173 static void ionic_add_lif_txq_stats(struct ionic_lif *lif, int q_num, in ionic_add_lif_txq_stats() 189 static void ionic_add_lif_rxq_stats(struct ionic_lif *lif, int q_num, in ionic_add_lif_rxq_stats() 208 static void ionic_get_lif_stats(struct ionic_lif *lif, in ionic_get_lif_stats() 235 static u64 ionic_sw_stats_get_count(struct ionic_lif *lif) in ionic_sw_stats_get_count() 254 static void ionic_sw_stats_get_tx_strings(struct ionic_lif *lif, u8 **buf, in ionic_sw_stats_get_tx_strings() 264 static void ionic_sw_stats_get_rx_strings(struct ionic_lif *lif, u8 **buf, in ionic_sw_stats_get_rx_strings() 274 static void ionic_sw_stats_get_strings(struct ionic_lif *lif, u8 **buf) in ionic_sw_stats_get_strings() 297 static void ionic_sw_stats_get_txq_values(struct ionic_lif *lif, u64 **buf, in ionic_sw_stats_get_txq_values() 311 static void ionic_sw_stats_get_rxq_values(struct ionic_lif *lif, u64 **buf, in ionic_sw_stats_get_rxq_values() 325 static void ionic_sw_stats_get_values(struct ionic_lif *lif, u64 **buf) in ionic_sw_stats_get_values()
|
| A D | ionic_stats.h | 40 void (*get_strings)(struct ionic_lif *lif, u8 **buf); 41 void (*get_values)(struct ionic_lif *lif, u64 **buf); 42 u64 (*get_count)(struct ionic_lif *lif);
|
| A D | ionic_dev.h | 223 struct ionic_lif *lif; 290 struct ionic_lif *lif; 364 int ionic_db_page_num(struct ionic_lif *lif, int pid); 366 int ionic_get_cmb(struct ionic_lif *lif, u32 *pgid, phys_addr_t *pgaddr, int order); 367 void ionic_put_cmb(struct ionic_lif *lif, u32 pgid, int order); 369 int ionic_cq_init(struct ionic_lif *lif, struct ionic_cq *cq, 383 int ionic_q_init(struct ionic_lif *lif, struct ionic_dev *idev,
|
| A D | ionic_phc.c | 67 static int ionic_lif_hwstamp_set_ts_config(struct ionic_lif *lif, in ionic_lif_hwstamp_set_ts_config() 186 int ionic_lif_hwstamp_set(struct ionic_lif *lif, struct ifreq *ifr) in ionic_lif_hwstamp_set() 211 void ionic_lif_hwstamp_replay(struct ionic_lif *lif) in ionic_lif_hwstamp_replay() 225 void ionic_lif_hwstamp_recreate_queues(struct ionic_lif *lif) in ionic_lif_hwstamp_recreate_queues() 249 int ionic_lif_hwstamp_get(struct ionic_lif *lif, struct ifreq *ifr) in ionic_lif_hwstamp_get() 467 ktime_t ionic_lif_phc_ktime(struct ionic_lif *lif, u64 tick) in ionic_lif_phc_ktime() 492 void ionic_lif_register_phc(struct ionic_lif *lif) in ionic_lif_register_phc() 510 void ionic_lif_unregister_phc(struct ionic_lif *lif) in ionic_lif_unregister_phc() 520 void ionic_lif_alloc_phc(struct ionic_lif *lif) in ionic_lif_alloc_phc() 637 void ionic_lif_free_phc(struct ionic_lif *lif) in ionic_lif_free_phc()
|
| A D | ionic_main.c | 191 static void ionic_adminq_flush(struct ionic_lif *lif) in ionic_adminq_flush() 216 void ionic_adminq_netdev_err_print(struct ionic_lif *lif, u8 opcode, in ionic_adminq_netdev_err_print() 228 static int ionic_adminq_check_err(struct ionic_lif *lif, in ionic_adminq_check_err() 256 struct ionic_lif *lif; in ionic_notifyq_service() 341 struct ionic_lif *lif = q->lif; in ionic_adminq_poke_doorbell() 368 int ionic_adminq_post(struct ionic_lif *lif, struct ionic_admin_ctx *ctx) in ionic_adminq_post() 411 int ionic_adminq_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx, in ionic_adminq_wait() 464 static int __ionic_adminq_post_wait(struct ionic_lif *lif, in __ionic_adminq_post_wait() 478 int ionic_adminq_post_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx) in ionic_adminq_post_wait() 483 int ionic_adminq_post_wait_nomsg(struct ionic_lif *lif, struct ionic_admin_ctx *ctx) in ionic_adminq_post_wait_nomsg()
|
| A D | ionic_dev.c | 17 struct ionic_lif *lif = ionic->lif; in ionic_watchdog_cb() 99 struct ionic_lif *lif = ionic->lif; in ionic_doorbell_check_dwork() 314 struct ionic_lif *lif = ionic->lif; in ionic_heartbeat_check() 698 int ionic_db_page_num(struct ionic_lif *lif, int pid) in ionic_db_page_num() 703 int ionic_get_cmb(struct ionic_lif *lif, u32 *pgid, phys_addr_t *pgaddr, int order) in ionic_get_cmb() 721 void ionic_put_cmb(struct ionic_lif *lif, u32 pgid, int order) in ionic_put_cmb() 730 int ionic_cq_init(struct ionic_lif *lif, struct ionic_cq *cq, in ionic_cq_init() 779 int ionic_q_init(struct ionic_lif *lif, struct ionic_dev *idev, in ionic_q_init() 809 struct ionic_lif *lif = q->lif; in ionic_q_post()
|
| A D | ionic_debugfs.c | 113 void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_debugfs_add_qcq() 231 struct ionic_lif *lif = seq->private; in lif_filters_show() 273 void ionic_debugfs_add_lif(struct ionic_lif *lif) in ionic_debugfs_add_lif() 288 void ionic_debugfs_del_lif(struct ionic_lif *lif) in ionic_debugfs_del_lif()
|
| A D | ionic_devlink.h | 9 int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw,
|
| A D | Makefile | 7 ionic_debugfs.o ionic_lif.o ionic_rx_filter.o ionic_ethtool.o \
|
| A D | ionic_bus_pci.c | 438 struct ionic_lif *lif = ionic->lif; in ionic_reset_prepare() 463 struct ionic_lif *lif = ionic->lif; in ionic_reset_done() 498 struct ionic_lif *lif = ionic->lif; in ionic_pci_error_resume()
|
| A D | ionic_fw.c | 94 int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw, in ionic_firmware_update()
|
| A D | ionic_txrx.c | 396 struct ionic_lif *lif = netdev_priv(netdev); in ionic_xdp_xmit() 903 struct ionic_lif *lif; in ionic_dim_update() 1036 struct ionic_lif *lif; in ionic_txrx_napi() 1769 struct ionic_lif *lif = netdev_priv(netdev); in ionic_start_hwstamp_xmit() 1806 struct ionic_lif *lif = netdev_priv(netdev); in ionic_start_xmit()
|