/drivers/net/ethernet/pensando/ionic/ |
D | ionic_lif.h | 172 struct ionic_lif { struct 250 struct ionic_lif *lif; argument 263 static inline void ionic_init_queue_params(struct ionic_lif *lif, in ionic_init_queue_params() 275 static inline void ionic_set_queue_params(struct ionic_lif *lif, in ionic_set_queue_params() 315 void ionic_link_status_check_request(struct ionic_lif *lif, bool can_sleep); 321 int ionic_lif_init(struct ionic_lif *lif); 322 void ionic_lif_free(struct ionic_lif *lif); 323 void ionic_lif_deinit(struct ionic_lif *lif); 325 int ionic_lif_addr_add(struct ionic_lif *lif, const u8 *addr); 326 int ionic_lif_addr_del(struct ionic_lif *lif, const u8 *addr); [all …]
|
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); 42 struct ionic_rx_filter *ionic_rx_filter_by_addr(struct ionic_lif *lif, const u8 *addr); 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); [all …]
|
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()
|
D | ionic.h | 7 struct ionic_lif; 50 struct ionic_lif *lif; 72 int ionic_adminq_post(struct ionic_lif *lif, struct ionic_admin_ctx *ctx); 73 int ionic_adminq_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx, 75 int ionic_adminq_post_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx); 76 int ionic_adminq_post_wait_nomsg(struct ionic_lif *lif, struct ionic_admin_ctx *ctx); 77 void ionic_adminq_netdev_err_print(struct ionic_lif *lif, u8 opcode,
|
D | ionic_ethtool.c | 14 static void ionic_get_stats_strings(struct ionic_lif *lif, u8 *buf) in ionic_get_stats_strings() 25 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_stats() 36 static int ionic_get_stats_count(struct ionic_lif *lif) in ionic_get_stats_count() 48 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_sset_count() 62 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_strings() 74 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_drvinfo() 92 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_regs() 115 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_link_ext_stats() 124 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_link_ksettings() 274 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_link_ksettings() [all …]
|
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() 123 int ionic_rx_filter_save(struct ionic_lif *lif, u32 flow_id, u16 rxq_index, in ionic_rx_filter_save() 185 struct ionic_rx_filter *ionic_rx_filter_by_vlan(struct ionic_lif *lif, u16 vid) in ionic_rx_filter_by_vlan() 204 struct ionic_rx_filter *ionic_rx_filter_by_addr(struct ionic_lif *lif, in ionic_rx_filter_by_addr() 224 struct ionic_rx_filter *ionic_rx_filter_rxsteer(struct ionic_lif *lif) in ionic_rx_filter_rxsteer() 242 static struct ionic_rx_filter *ionic_rx_filter_find(struct ionic_lif *lif, in ionic_rx_filter_find() 257 int ionic_lif_list_addr(struct ionic_lif *lif, const u8 *addr, bool mode) in ionic_lif_list_addr() [all …]
|
D | ionic_lif.c | 38 static void ionic_link_status_check(struct ionic_lif *lif); 39 static void ionic_lif_handle_fw_down(struct ionic_lif *lif); 40 static void ionic_lif_handle_fw_up(struct ionic_lif *lif); 41 static void ionic_lif_set_netdev_info(struct ionic_lif *lif); 43 static void ionic_txrx_deinit(struct ionic_lif *lif); 44 static int ionic_txrx_init(struct ionic_lif *lif); 45 static int ionic_start_queues(struct ionic_lif *lif); 46 static void ionic_stop_queues(struct ionic_lif *lif); 47 static void ionic_lif_queue_identify(struct ionic_lif *lif); 55 struct ionic_lif *lif; in ionic_dim_work() [all …]
|
D | ionic_stats.c | 161 static void ionic_add_lif_txq_stats(struct ionic_lif *lif, int q_num, in ionic_add_lif_txq_stats() 176 static void ionic_add_lif_rxq_stats(struct ionic_lif *lif, int q_num, in ionic_add_lif_rxq_stats() 190 static void ionic_get_lif_stats(struct ionic_lif *lif, in ionic_get_lif_stats() 217 static u64 ionic_sw_stats_get_count(struct ionic_lif *lif) in ionic_sw_stats_get_count() 236 static void ionic_sw_stats_get_tx_strings(struct ionic_lif *lif, u8 **buf, in ionic_sw_stats_get_tx_strings() 246 static void ionic_sw_stats_get_rx_strings(struct ionic_lif *lif, u8 **buf, in ionic_sw_stats_get_rx_strings() 256 static void ionic_sw_stats_get_strings(struct ionic_lif *lif, u8 **buf) in ionic_sw_stats_get_strings() 279 static void ionic_sw_stats_get_txq_values(struct ionic_lif *lif, u64 **buf, in ionic_sw_stats_get_txq_values() 293 static void ionic_sw_stats_get_rxq_values(struct ionic_lif *lif, u64 **buf, in ionic_sw_stats_get_rxq_values() 307 static void ionic_sw_stats_get_values(struct ionic_lif *lif, u64 **buf) in ionic_sw_stats_get_values()
|
D | ionic_dev.h | 230 struct ionic_lif *lif; 281 struct ionic_lif *lif; 356 int ionic_db_page_num(struct ionic_lif *lif, int pid); 358 int ionic_get_cmb(struct ionic_lif *lif, u32 *pgid, phys_addr_t *pgaddr, int order); 359 void ionic_put_cmb(struct ionic_lif *lif, u32 pgid, int order); 361 int ionic_cq_init(struct ionic_lif *lif, struct ionic_cq *cq, 372 int ionic_q_init(struct ionic_lif *lif, struct ionic_dev *idev,
|
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);
|
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()
|
D | ionic_main.c | 213 static void ionic_adminq_flush(struct ionic_lif *lif) in ionic_adminq_flush() 237 void ionic_adminq_netdev_err_print(struct ionic_lif *lif, u8 opcode, in ionic_adminq_netdev_err_print() 249 static int ionic_adminq_check_err(struct ionic_lif *lif, in ionic_adminq_check_err() 294 struct ionic_lif *lif = q->lif; in ionic_adminq_poke_doorbell() 321 int ionic_adminq_post(struct ionic_lif *lif, struct ionic_admin_ctx *ctx) in ionic_adminq_post() 360 int ionic_adminq_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx, in ionic_adminq_wait() 413 static int __ionic_adminq_post_wait(struct ionic_lif *lif, in __ionic_adminq_post_wait() 427 int ionic_adminq_post_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx) in ionic_adminq_post_wait() 432 int ionic_adminq_post_wait_nomsg(struct ionic_lif *lif, struct ionic_admin_ctx *ctx) in ionic_adminq_post_wait_nomsg()
|
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()
|
D | ionic_dev.c | 17 struct ionic_lif *lif = ionic->lif; in ionic_watchdog_cb() 197 struct ionic_lif *lif = ionic->lif; in ionic_heartbeat_check() 621 int ionic_db_page_num(struct ionic_lif *lif, int pid) in ionic_db_page_num() 626 int ionic_get_cmb(struct ionic_lif *lif, u32 *pgid, phys_addr_t *pgaddr, int order) in ionic_get_cmb() 644 void ionic_put_cmb(struct ionic_lif *lif, u32 pgid, int order) in ionic_put_cmb() 653 int ionic_cq_init(struct ionic_lif *lif, struct ionic_cq *cq, in ionic_cq_init() 720 int ionic_q_init(struct ionic_lif *lif, struct ionic_dev *idev, in ionic_q_init() 789 struct ionic_lif *lif = q->lif; in ionic_q_post()
|
D | ionic_devlink.h | 9 int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw,
|
D | Makefile | 7 ionic_debugfs.o ionic_lif.o ionic_rx_filter.o ionic_ethtool.o \
|
D | ionic_txrx.c | 536 struct ionic_lif *lif; in ionic_dim_update() 572 struct ionic_lif *lif; in ionic_tx_napi() 606 struct ionic_lif *lif; in ionic_rx_napi() 644 struct ionic_lif *lif; in ionic_txrx_napi() 1291 struct ionic_lif *lif = netdev_priv(netdev); in ionic_start_hwstamp_xmit() 1327 struct ionic_lif *lif = netdev_priv(netdev); in ionic_start_xmit()
|
D | ionic_bus_pci.c | 426 struct ionic_lif *lif = ionic->lif; in ionic_reset_prepare() 448 struct ionic_lif *lif = ionic->lif; in ionic_reset_done()
|
D | ionic_fw.c | 94 int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw, in ionic_firmware_update()
|