Home
last modified time | relevance | path

Searched refs:lio (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c264 struct lio *lio = GET_LIO(netdev); in print_link_info() local
266 if (!ifstate_check(lio, LIO_IFSTATE_RESETTING) && in print_link_info()
267 ifstate_check(lio, LIO_IFSTATE_REGISTERED)) { in print_link_info()
268 struct oct_link_info *linfo = &lio->linfo; in print_link_info()
271 netif_info(lio, link, lio->netdev, "%d Mbps %s Duplex UP\n", in print_link_info()
275 netif_info(lio, link, lio->netdev, "Link Down\n"); in print_link_info()
287 struct lio *lio = (struct lio *)wk->ctxptr; in octnet_link_status_change() local
294 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change()
304 struct lio *lio = GET_LIO(netdev); in setup_link_status_change_wq() local
305 struct octeon_device *oct = lio->oct_dev; in setup_link_status_change_wq()
[all …]
Dlio_main.c468 static inline int check_txq_status(struct lio *lio) in check_txq_status() argument
470 int numqs = lio->netdev->real_num_tx_queues; in check_txq_status()
476 iq = lio->linfo.txpciq[q % in check_txq_status()
477 lio->oct_dev->num_iqs].s.q_no; in check_txq_status()
478 if (octnet_iq_is_full(lio->oct_dev, iq)) in check_txq_status()
480 if (__netif_subqueue_stopped(lio->netdev, q)) { in check_txq_status()
481 netif_wake_subqueue(lio->netdev, q); in check_txq_status()
482 INCR_INSTRQUEUE_PKT_COUNT(lio->oct_dev, iq, in check_txq_status()
497 struct lio *lio = GET_LIO(netdev); in print_link_info() local
499 if (!ifstate_check(lio, LIO_IFSTATE_RESETTING) && in print_link_info()
[all …]
Dlio_core.c38 void lio_delete_glists(struct lio *lio) in lio_delete_glists() argument
43 kfree(lio->glist_lock); in lio_delete_glists()
44 lio->glist_lock = NULL; in lio_delete_glists()
46 if (!lio->glist) in lio_delete_glists()
49 for (i = 0; i < lio->oct_dev->num_iqs; i++) { in lio_delete_glists()
52 lio_list_delete_head(&lio->glist[i]); in lio_delete_glists()
56 if (lio->glists_virt_base && lio->glists_virt_base[i] && in lio_delete_glists()
57 lio->glists_dma_base && lio->glists_dma_base[i]) { in lio_delete_glists()
58 lio_dma_free(lio->oct_dev, in lio_delete_glists()
59 lio->glist_entry_size * lio->tx_qsize, in lio_delete_glists()
[all …]
Dlio_ethtool.c218 struct lio *lio = GET_LIO(netdev); in lio_get_link_ksettings() local
219 struct octeon_device *oct = lio->oct_dev; in lio_get_link_ksettings()
222 linfo = &lio->linfo; in lio_get_link_ksettings()
283 liquidio_get_speed(lio); in lio_get_link_ksettings()
284 liquidio_get_fec(lio); in lio_get_link_ksettings()
320 if (oct->props[lio->ifidx].fec == 1) { in lio_get_link_ksettings()
398 struct lio *lio = GET_LIO(netdev); in lio_set_link_ksettings() local
402 oct = lio->oct_dev; in lio_set_link_ksettings()
404 linfo = &lio->linfo; in lio_set_link_ksettings()
427 liquidio_set_speed(lio, speed / 1000); in lio_set_link_ksettings()
[all …]
Docteon_network.h95 struct lio { struct
191 #define LIO_SIZE (sizeof(struct lio)) argument
192 #define GET_LIO(netdev) ((struct lio *)netdev_priv(netdev))
236 void lio_delete_glists(struct lio *lio);
238 int lio_setup_glists(struct octeon_device *oct, struct lio *lio, int num_qs);
240 int liquidio_get_speed(struct lio *lio);
241 int liquidio_set_speed(struct lio *lio, int speed);
242 int liquidio_get_fec(struct lio *lio);
243 int liquidio_set_fec(struct lio *lio, int on_off);
504 static inline int ifstate_check(struct lio *lio, int state_flag) in ifstate_check() argument
[all …]
Docteon_main.h51 struct lio *lio; member
Dlio_vf_rep.c377 struct lio *parent_lio; in lio_vf_rep_pkt_xmit()
453 struct lio *lio = GET_LIO(parent_ndev); in lio_vf_get_port_parent_id() local
456 ether_addr_copy(ppid->id, (void *)&lio->linfo.hw_addr + 2); in lio_vf_get_port_parent_id()
/Linux-v5.15/Documentation/target/
Dtcm_mod_builder.rst32 …target:/mnt/sdb/lio-core-2.6.git/Documentation/target# python tcm_mod_builder.py -p iSCSI -m tcm_n…
33 tcm_dir: /mnt/sdb/lio-core-2.6.git/Documentation/target/../../
36 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
39 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
41 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_base.h
43 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../include/target/target_core_fabric_ops.h
45 …/mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_fabric…
47 …/mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_fabric…
49 …/mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_config…
51 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/Kbuild
[all …]
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_init.c205 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla2x00_async_iocb_timeout() local
225 lio->u.logio.data[0] = MBS_COMMAND_ERROR; in qla2x00_async_iocb_timeout()
226 lio->u.logio.data[1] = in qla2x00_async_iocb_timeout()
227 lio->u.logio.flags & SRB_LOGIN_RETRIED ? in qla2x00_async_iocb_timeout()
273 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla2x00_async_login_sp_done() local
284 ea.data[0] = lio->u.logio.data[0]; in qla2x00_async_login_sp_done()
285 ea.data[1] = lio->u.logio.data[1]; in qla2x00_async_login_sp_done()
286 ea.iop[0] = lio->u.logio.iop[0]; in qla2x00_async_login_sp_done()
287 ea.iop[1] = lio->u.logio.iop[1]; in qla2x00_async_login_sp_done()
300 struct srb_iocb *lio; in qla2x00_async_login() local
[all …]
Dqla_iocb.c2377 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla24xx_prli_iocb() local
2381 if (lio->u.logio.flags & SRB_LOGIN_NVME_PRLI) { in qla24xx_prli_iocb()
2409 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla24xx_login_iocb() local
2414 if (lio->u.logio.flags & SRB_LOGIN_PRLI_ONLY) { in qla24xx_login_iocb()
2418 if (lio->u.logio.flags & SRB_LOGIN_COND_PLOGI) in qla24xx_login_iocb()
2420 if (lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI) in qla24xx_login_iocb()
2422 if (lio->u.logio.flags & SRB_LOGIN_FCSP) { in qla24xx_login_iocb()
2440 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla2x00_login_iocb() local
2446 opts = lio->u.logio.flags & SRB_LOGIN_COND_PLOGI ? BIT_0 : 0; in qla2x00_login_iocb()
2447 opts |= lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI ? BIT_1 : 0; in qla2x00_login_iocb()
[all …]
Dqla_isr.c1913 struct srb_iocb *lio; in qla2x00_mbx_iocb_entry() local
1921 lio = &sp->u.iocb_cmd; in qla2x00_mbx_iocb_entry()
1924 data = lio->u.logio.data; in qla2x00_mbx_iocb_entry()
1927 data[1] = lio->u.logio.flags & SRB_LOGIN_RETRIED ? in qla2x00_mbx_iocb_entry()
2327 struct srb_iocb *lio; in qla24xx_logio_entry() local
2336 lio = &sp->u.iocb_cmd; in qla24xx_logio_entry()
2339 data = lio->u.logio.data; in qla24xx_logio_entry()
2342 data[1] = lio->u.logio.flags & SRB_LOGIN_RETRIED ? in qla24xx_logio_entry()
2367 lio->u.logio.iop[0] = in qla24xx_logio_entry()
2369 lio->u.logio.iop[1] = in qla24xx_logio_entry()
[all …]
Dqla_mr.c1790 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla2x00_fxdisc_iocb_timeout() local
1792 complete(&lio->u.fxiocb.fxiocb_comp); in qla2x00_fxdisc_iocb_timeout()
1797 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla2x00_fxdisc_sp_done() local
1799 complete(&lio->u.fxiocb.fxiocb_comp); in qla2x00_fxdisc_sp_done()
/Linux-v5.15/
DMAINTAINERS7276 T: git git://git.kernel.org/pub/scm/linux/kernel/git/nab/lio-core-2.6.git master