Lines Matching refs:lif
50 seq_printf(seq, "max_ucast_filters: %d\n", ident->lif.eth.max_ucast_filters); in identity_show()
51 seq_printf(seq, "max_mcast_filters: %d\n", ident->lif.eth.max_mcast_filters); in identity_show()
70 (u32 *)&ionic->ident.lif.eth.config.queue_count[IONIC_QTYPE_TXQ]); in ionic_debugfs_add_sizes()
72 (u32 *)&ionic->ident.lif.eth.config.queue_count[IONIC_QTYPE_RXQ]); in ionic_debugfs_add_sizes()
113 void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_debugfs_add_qcq() argument
117 struct ionic_dev *idev = &lif->ionic->idev; in ionic_debugfs_add_qcq()
121 struct device *dev = lif->ionic->dev; in ionic_debugfs_add_qcq()
125 qcq_dentry = debugfs_create_dir(q->name, lif->dentry); in ionic_debugfs_add_qcq()
209 (u64 *)&lif->info->status.eid); in ionic_debugfs_add_qcq()
211 (u16 *)&lif->info->status.link_status); in ionic_debugfs_add_qcq()
213 (u32 *)&lif->info->status.link_speed); in ionic_debugfs_add_qcq()
215 (u16 *)&lif->info->status.link_down_count); in ionic_debugfs_add_qcq()
231 struct ionic_lif *lif = seq->private; in lif_filters_show() local
238 spin_lock_bh(&lif->rx_filters.lock); in lif_filters_show()
240 head = &lif->rx_filters.by_id[i]; in lif_filters_show()
267 spin_unlock_bh(&lif->rx_filters.lock); in lif_filters_show()
273 void ionic_debugfs_add_lif(struct ionic_lif *lif) in ionic_debugfs_add_lif() argument
277 lif_dentry = debugfs_create_dir(lif->name, lif->ionic->dentry); in ionic_debugfs_add_lif()
280 lif->dentry = lif_dentry; in ionic_debugfs_add_lif()
282 debugfs_create_file("netdev", 0400, lif->dentry, in ionic_debugfs_add_lif()
283 lif->netdev, &netdev_fops); in ionic_debugfs_add_lif()
284 debugfs_create_file("filters", 0400, lif->dentry, in ionic_debugfs_add_lif()
285 lif, &lif_filters_fops); in ionic_debugfs_add_lif()
288 void ionic_debugfs_del_lif(struct ionic_lif *lif) in ionic_debugfs_del_lif() argument
290 debugfs_remove_recursive(lif->dentry); in ionic_debugfs_del_lif()
291 lif->dentry = NULL; in ionic_debugfs_del_lif()