| /linux/drivers/net/ethernet/pensando/ionic/ |
| H 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() argument 15 struct device *dev = lif->ionic->dev; in ionic_rx_filter_free() 22 void ionic_rx_filter_replay(struct ionic_lif *lif) in ionic_rx_filter_replay() argument 38 head = &lif->rx_filters.by_id[i]; in ionic_rx_filter_replay() 42 dev_dbg(&lif->netdev->dev, "replay filter command:\n"); in ionic_rx_filter_replay() 46 err = ionic_adminq_post_wait(lif, &ctx); in ionic_rx_filter_replay() 50 netdev_info(lif->netdev, "Replay failed - %d: vlan %d\n", in ionic_rx_filter_replay() 55 netdev_info(lif->netdev, "Replay failed - %d: mac %pM\n", in ionic_rx_filter_replay() 59 netdev_info(lif->netdev, "Replay failed - %d: vlan %d mac %pM\n", in ionic_rx_filter_replay() 65 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay() [all …]
|
| H 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() argument 73 struct ionic *ionic = lif->ionic; in ionic_lif_hwstamp_set_ts_config() 80 if (!lif->phc || !lif->phc->ptp) in ionic_lif_hwstamp_set_ts_config() 83 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config() 95 memcpy(config, &lif->phc->ts_config, sizeof(*config)); in ionic_lif_hwstamp_set_ts_config() 96 memset(&lif->phc->ts_config, 0, sizeof(lif->phc->ts_config)); in ionic_lif_hwstamp_set_ts_config() 97 lif->phc->ts_config_tx_mode = 0; in ionic_lif_hwstamp_set_ts_config() 98 lif in ionic_lif_hwstamp_set_ts_config() 186 ionic_lif_hwstamp_set(struct ionic_lif * lif,struct ifreq * ifr) ionic_lif_hwstamp_set() argument 211 ionic_lif_hwstamp_replay(struct ionic_lif * lif) ionic_lif_hwstamp_replay() argument 225 ionic_lif_hwstamp_recreate_queues(struct ionic_lif * lif) ionic_lif_hwstamp_recreate_queues() argument 249 ionic_lif_hwstamp_get(struct ionic_lif * lif,struct ifreq * ifr) ionic_lif_hwstamp_get() argument 467 ionic_lif_phc_ktime(struct ionic_lif * lif,u64 tick) ionic_lif_phc_ktime() argument 492 ionic_lif_register_phc(struct ionic_lif * lif) ionic_lif_register_phc() argument 510 ionic_lif_unregister_phc(struct ionic_lif * lif) ionic_lif_unregister_phc() argument 520 ionic_lif_alloc_phc(struct ionic_lif * lif) ionic_lif_alloc_phc() argument 637 ionic_lif_free_phc(struct ionic_lif * lif) ionic_lif_free_phc() argument [all...] |
| H A D | ionic_stats.c | 171 #define MAX_Q(lif) ((lif)->netdev->real_num_tx_queues) argument 173 static void ionic_add_lif_txq_stats(struct ionic_lif *lif, int q_num, in ionic_add_lif_txq_stats() argument 176 struct ionic_tx_stats *txstats = &lif->txqstats[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() argument 192 struct ionic_rx_stats *rxstats = &lif->rxqstats[q_num]; in ionic_add_lif_rxq_stats() 208 static void ionic_get_lif_stats(struct ionic_lif *lif, in ionic_get_lif_stats() argument 216 for (q_num = 0; q_num < MAX_Q(lif); q_num++) { in ionic_get_lif_stats() 217 ionic_add_lif_txq_stats(lif, q_num, stats); in ionic_get_lif_stats() 218 ionic_add_lif_rxq_stats(lif, q_num, stats); in ionic_get_lif_stats() 221 if (lif->hwstamp_txq) in ionic_get_lif_stats() [all …]
|
| H A D | ionic_debugfs.c | 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 116 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() [all …]
|
| H 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); 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 …]
|
| H 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() argument 29 static inline void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq) { } in ionic_debugfs_add_qcq() argument 30 static inline void ionic_debugfs_del_lif(struct ionic_lif *lif) { } in ionic_debugfs_del_lif() argument
|
| H A D | ionic_txrx.c | 50 netdev = q->lif->netdev; in ionic_txq_poke_doorbell() 65 ionic_dbell_ring(q->lif->kern_dbpage, q->hw_type, in ionic_txq_poke_doorbell() 90 ionic_dbell_ring(q->lif->kern_dbpage, q->hw_type, in ionic_rxq_poke_doorbell() 400 struct ionic_lif *lif = netdev_priv(netdev); in ionic_xdp_xmit() local 408 if (unlikely(!test_bit(IONIC_LIF_F_UP, lif->state))) in ionic_xdp_xmit() 420 qi = cpu ? (cpu - 1) % lif->nxqs : cpu; in ionic_xdp_xmit() 422 txq = &lif->txqcqs[qi]->q; in ionic_xdp_xmit() 447 ionic_dbell_ring(lif->kern_dbpage, txq->hw_type, in ionic_xdp_xmit() 612 struct net_device *netdev = q->lif->netdev; in ionic_rx_clean() 646 use_copybreak = len <= q->lif->rx_copybreak; in ionic_rx_clean() [all …]
|
| H 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);
|
| H A D | ionic_fw.c | 94 int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw, in ionic_firmware_update() argument 97 struct ionic_dev *idev = &lif->ionic->idev; in ionic_firmware_update() 98 struct net_device *netdev = lif->netdev; in ionic_firmware_update() 99 struct ionic *ionic = lif->ionic; in ionic_firmware_update()
|
| H A D | ionic_devlink.c | 18 return ionic_firmware_update(ionic->lif, params->fw, extack); in ionic_dl_flash_update() 91 SET_NETDEV_DEVLINK_PORT(ionic->lif->netdev, &ionic->dl_port); in ionic_devlink_register()
|
| H A D | ionic_devlink.h | 9 int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw,
|
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_lif.c | 26 static inline void vsp1_lif_write(struct vsp1_lif *lif, in vsp1_lif_write() argument 29 vsp1_dl_body_write(dlb, reg + lif->entity.index * VI6_LIF_OFFSET, in vsp1_lif_write() 92 struct vsp1_lif *lif = to_lif(&entity->subdev); in lif_configure_stream() local 124 vsp1_lif_write(lif, dlb, VI6_LIF_CSBTH, in lif_configure_stream() 128 vsp1_lif_write(lif, dlb, VI6_LIF_CTRL, in lif_configure_stream() 140 vsp1_lif_write(lif, dlb, VI6_LIF_LBA, in lif_configure_stream() 155 struct vsp1_lif *lif; in vsp1_lif_create() local 158 lif = devm_kzalloc(vsp1->dev, sizeof(*lif), GFP_KERNEL); in vsp1_lif_create() 159 if (lif == NULL) in vsp1_lif_create() 162 lif->entity.ops = &lif_entity_ops; in vsp1_lif_create() [all …]
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | vnic_resource.h | 57 u16 lif; /* loopback lif for mgmt frames */ member
|
| /linux/drivers/scsi/fnic/ |
| H A D | vnic_devcmd.h | 331 * Enable the LIF migration from MQ to VF and vice versa. MQ and VF 335 * be attached to the LIF.
|
| H A D | fcpio.h | 393 * used by the host to notify the firmware of the lif's s_id 429 * used by the host to notify the firmware of the lif's s_id
|
| H A D | fnic_res.c | 432 /* Clear LIF stats */ in fnic_alloc_vnic_resources()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_bsg.h | 111 #define QLA84_MGMT_INFO_LIF_STAT 4 /* Get LIF Statistics */
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_res.c | 255 /* Clear LIF stats */ in snic_alloc_vnic_res()
|
| /linux/include/linux/pds/ |
| H A D | pds_core_if.h | 112 * @ndbpgs_per_lif: Number of doorbell pages per LIF
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_req.c | 207 /* Local invalidate fence (LIF) see IBA 10.6.5.1 in rxe_wqe_is_fenced()
|