/linux-4.4.14/include/linux/ |
D | ntb.h | 148 int (*probe)(struct ntb_client *client, struct ntb_dev *ntb); 149 void (*remove)(struct ntb_client *client, struct ntb_dev *ntb); 215 int (*mw_count)(struct ntb_dev *ntb); 216 int (*mw_get_range)(struct ntb_dev *ntb, int idx, 219 int (*mw_set_trans)(struct ntb_dev *ntb, int idx, 221 int (*mw_clear_trans)(struct ntb_dev *ntb, int idx); 223 int (*link_is_up)(struct ntb_dev *ntb, 225 int (*link_enable)(struct ntb_dev *ntb, 227 int (*link_disable)(struct ntb_dev *ntb); 229 int (*db_is_unsafe)(struct ntb_dev *ntb); [all …]
|
D | genl_magic_func.h | 153 struct nlattr **ntb = nested_attr_tb; \ 160 err = drbd_nla_parse_nested(ntb, maxtype, tla, s_name ## _nl_policy); \ 179 nla = ntb[attr_nr]; \
|
/linux-4.4.14/drivers/ntb/ |
D | ntb.c | 100 int ntb_register_device(struct ntb_dev *ntb) in ntb_register_device() argument 102 if (!ntb) in ntb_register_device() 104 if (!ntb->pdev) in ntb_register_device() 106 if (!ntb->ops) in ntb_register_device() 108 if (!ntb_dev_ops_is_valid(ntb->ops)) in ntb_register_device() 111 init_completion(&ntb->released); in ntb_register_device() 113 memset(&ntb->dev, 0, sizeof(ntb->dev)); in ntb_register_device() 114 ntb->dev.bus = &ntb_bus; in ntb_register_device() 115 ntb->dev.parent = &ntb->pdev->dev; in ntb_register_device() 116 ntb->dev.release = ntb_dev_release; in ntb_register_device() [all …]
|
D | Kconfig | 8 ntb Linux driver uses this point-to-point communication as a method to 15 source "drivers/ntb/hw/Kconfig" 17 source "drivers/ntb/test/Kconfig" 23 messages over the ntb hardware. The transport exposes a queue pair api
|
D | Makefile | 1 obj-$(CONFIG_NTB) += ntb.o hw/ test/
|
/linux-4.4.14/drivers/ntb/test/ |
D | ntb_pingpong.c | 93 struct ntb_dev *ntb; member 110 db_mask = ntb_db_valid_mask(pp->ntb); in pp_ping() 111 db_bits = ntb_db_read(pp->ntb); in pp_ping() 114 dev_dbg(&pp->ntb->dev, in pp_ping() 117 ntb_db_clear(pp->ntb, db_bits); in pp_ping() 125 spad_rd = ntb_spad_read(pp->ntb, 0); in pp_ping() 128 dev_dbg(&pp->ntb->dev, in pp_ping() 132 ntb_peer_spad_write(pp->ntb, 0, spad_wr); in pp_ping() 133 ntb_peer_db_set(pp->ntb, db_bits); in pp_ping() 134 ntb_db_clear_mask(pp->ntb, db_mask); in pp_ping() [all …]
|
D | ntb_tool.c | 111 struct ntb_dev *ntb; member 134 up = ntb_link_is_up(tc->ntb, &speed, &width); in tool_link_event() 136 dev_dbg(&tc->ntb->dev, "link is %s speed %d width %d\n", in tool_link_event() 145 db_mask = ntb_db_vector_mask(tc->ntb, vec); in tool_db_event() 146 db_bits = ntb_db_read(tc->ntb); in tool_db_event() 148 dev_dbg(&tc->ntb->dev, "doorbell vec %d mask %#llx bits %#llx\n", in tool_db_event() 175 db_read_fn(tc->ntb)); in tool_dbfn_read() 217 rc = db_set_fn(tc->ntb, db_bits); in tool_dbfn_write() 222 rc = db_clear_fn(tc->ntb, db_bits); in tool_dbfn_write() 250 spad_count = ntb_spad_count(tc->ntb); in tool_spadfn_read() [all …]
|
D | Kconfig | 5 doorbells of the ntb hardware. This driver may be used to test that 6 your ntb hardware and drivers are functioning at a basic level. 16 This driver may be used to test that your ntb hardware and drivers are
|
/linux-4.4.14/drivers/ntb/hw/intel/ |
D | ntb_hw_intel.c | 216 if (!ntb_topo_is_b2b(ndev->ntb.topo)) in ndev_reset_unsafe_flags() 399 ntb_link_event(&ndev->ntb); in ndev_interrupt() 403 ntb_db_event(&ndev->ntb, vec); in ndev_interrupt() 576 ntb_topo_string(ndev->ntb.topo)); in ndev_debugfs_read() 672 if (pdev_is_xeon(ndev->ntb.pdev)) { in ndev_debugfs_read() 673 if (ntb_topo_is_b2b(ndev->ntb.topo)) { in ndev_debugfs_read() 753 if (!pci_read_config_word(ndev->ntb.pdev, in ndev_debugfs_read() 758 if (!pci_read_config_word(ndev->ntb.pdev, in ndev_debugfs_read() 763 if (!pci_read_config_dword(ndev->ntb.pdev, in ndev_debugfs_read() 768 if (!pci_read_config_dword(ndev->ntb.pdev, in ndev_debugfs_read() [all …]
|
D | ntb_hw_intel.h | 286 struct ntb_dev ntb; member 334 #define ndev_pdev(ndev) ((ndev)->ntb.pdev) 337 #define ntb_ndev(ntb) container_of(ntb, struct intel_ntb_dev, ntb) argument
|
/linux-4.4.14/Documentation/ |
D | ntb.txt | 13 ## NTB Core Driver (ntb) 25 as ntb hardware, or hardware drivers, are inserted and removed. The 29 ### NTB Transport Client (ntb\_transport) and NTB Netdev (ntb\_netdev) 33 across the ntb, to exchange packets of network data. The Transport client 40 ### NTB Ping Pong Test Client (ntb\_pingpong) 67 ### NTB Tool Test Client (ntb\_tool) 69 The Tool test client serves for debugging, primarily, ntb hardware and drivers. 77 * *debugfs*/ntb\_tool/*hw*/ - A directory in debugfs will be created for each 104 ### NTB Intel Hardware Driver (ntb\_hw\_intel) 110 * b2b\_mw\_idx - If the peer ntb is to be accessed via a memory window, then use [all …]
|
/linux-4.4.14/drivers/net/ |
D | ntb_netdev.c | 405 struct ntb_dev *ntb; in ntb_netdev_probe() local 411 ntb = dev_ntb(client_dev->parent); in ntb_netdev_probe() 412 pdev = ntb->pdev; in ntb_netdev_probe() 462 struct ntb_dev *ntb; in ntb_netdev_remove() local 468 ntb = dev_ntb(client_dev->parent); in ntb_netdev_remove() 469 pdev = ntb->pdev; in ntb_netdev_remove()
|
/linux-4.4.14/drivers/ntb/hw/ |
D | Kconfig | 1 source "drivers/ntb/hw/intel/Kconfig"
|
/linux-4.4.14/drivers/ |
D | Makefile | 162 obj-$(CONFIG_NTB) += ntb/
|
D | Kconfig | 163 source "drivers/ntb/Kconfig"
|
/linux-4.4.14/Documentation/RCU/ |
D | trace.txt | 428 0:3 tasks=.... kt=W ntb=0 neb=0 nnb=0 j=c864 bt=c894 430 4:7 tasks=.... kt=W ntb=0 neb=0 nnb=0 j=c864 bt=c894 478 o "ntb" is the number of tasks boosted.
|
/linux-4.4.14/ |
D | MAINTAINERS | 7571 L: linux-ntb@googlegroups.com 7573 W: https://github.com/jonmason/ntb/wiki 7574 T: git git://github.com/jonmason/ntb.git 7575 F: drivers/ntb/ 7577 F: include/linux/ntb.h 7583 L: linux-ntb@googlegroups.com 7585 W: https://github.com/jonmason/ntb/wiki 7586 T: git git://github.com/jonmason/ntb.git 7587 F: drivers/ntb/hw/intel/
|