path: root/Documentation/infiniband
AgeCommit message (Collapse)AuthorLines
2017-04-20IB/opa-vnic: Virtual Network Interface Controller (VNIC) documentationVishwanathapura, Niranjana-0/+153
Add OPA VNIC design document explaining the VNIC architecture and the driver design. Reviewed-by: Dennis Dalessandro <> Reviewed-by: Ira Weiny <> Signed-off-by: Niranjana Vishwanathapura <> Signed-off-by: Doug Ledford <>
2016-10-02IB/hfi1: Document new sysfs entries for hfi1 driverTadeusz Struk-0/+30
This patch adds description for the sdma engine related sysfs entries for the HFI1 driver. Reviewed-by: Dennis Dalessandro <> Reviewed-by: Sebastian Sanchez <> Reviewed-by: Jianxin Xiong <> Signed-off-by: Tadeusz Struk <> Signed-off-by: Dennis Dalessandro <> Signed-off-by: Doug Ledford <>
2016-05-28Merge tag 'for-linus' of ↵Linus Torvalds-0/+12
git:// Pull more rdma updates from Doug Ledford: "This is the second group of code for the 4.7 merge window. It looks large, but only in one sense. I'll get to that in a minute. The list of changes here breaks down as follows: - Dynamic counter infrastructure in the IB drivers This is a sysfs based code to allow free form access to the hardware counters RDMA devices might support so drivers don't need to code this up repeatedly themselves - SendOnlyFullMember multicast support - IB router support - A couple misc fixes - The big item on the list: hfi1 driver updates, plus moving the hfi1 driver out of staging There was a group of 15 patches in the hfi1 list that I thought I had in the first pull request but they weren't. So that added to the length of the hfi1 section here. As far as these go, everything but the hfi1 is pretty straight forward. The hfi1 is, if you recall, the driver that Al had complaints about how it used the write/writev interfaces in an overloaded fashion. The write portion of their interface behaved like the write handler in the IB stack proper and did bi-directional communications. The writev interface, on the other hand, only accepts SDMA request structures. The completions for those structures are sent back via an entirely different event mechanism. With the security patch, we put security checks on the write interface, however, we also knew they would be going away soon. Now, we've converted the write handler in the hfi1 driver to use ioctls from the IB reserved magic area for its bidirectional communications. With that change, Intel has addressed all of the items originally on their TODO when they went into staging (as well as many items added to the list later). As such, I moved them out, and since they were the last item in the staging/rdma directory, and I don't have immediate plans to use the staging area again, I removed the staging/rdma area. Because of the move out of staging, as well as a series of 5 patches in the hfi1 driver that removed code people thought should be done in a different way and was optional to begin with (a snoop debug interface, an eeprom driver for an eeprom connected directory to their hfi1 chip and not via an i2c bus, and a few other things like that), the line count, especially the removal count, is high" * tag 'for-linus' of git:// (56 commits) staging/rdma: Remove the entire rdma subdirectory of staging IB/core: Make device counter infrastructure dynamic IB/hfi1: Fix pio map initialization IB/hfi1: Correct 8051 link parameter settings IB/hfi1: Update pkey table properly after link down or FM start IB/rdamvt: Fix rdmavt s_ack_queue sizing IB/rdmavt: Max atomic value should be a u8 IB/hfi1: Fix hard lockup due to not using save/restore spin lock IB/hfi1: Add tracing support for send with invalidate opcode IB/hfi1, qib: Add ieth to the packet header definitions IB/hfi1: Move driver out of staging IB/hfi1: Do not free hfi1 cdev parent structure early IB/hfi1: Add trace message in user IOCTL handling IB/hfi1: Remove write(), use ioctl() for user cmds IB/hfi1: Add ioctl() interface for user commands IB/hfi1: Remove unused user command IB/hfi1: Remove snoop/diag interface IB/hfi1: Remove EPROM functionality from data device IB/hfi1: Remove UI char device IB/hfi1: Remove multiple device cdev ...
2016-05-26IB/core: Make device counter infrastructure dynamicChristoph Lameter-0/+12
In practice, each RDMA device has a unique set of counters that the hardware implements. Having a central set of counters that they must all adhere to is limiting and causes many useful counters to not be available. Therefore we create a dynamic counter registration infrastructure. The driver must implement a stats structure allocation routine, in which the driver must place the directory name it wants, a list of names for all of the counters, an array of u64 counters themselves, plus a few generic configuration options. We then implement a core routine to create a sysfs file for each of the named stats elements, and a core routine to retrieve the stats when any of the sysfs attribute files are read. To avoid excessive beating on the stats generation routine in the drivers, the core code also caches the stats for a short period of time so that someone attempting to read all of the stats in a given device's directory will not result in a stats generation call per file read. Future work will attempt to standardize just the shared stats elements, and possibly add a method to get the stats via netlink in addition to sysfs. Signed-off-by: Christoph Lameter <> Signed-off-by: Mark Bloch <> Reviewed-by: Steve Wise <> Signed-off-by: Doug Ledford <> [ Add caching, make structure names more informative, add i40iw support, other significant rewrites from the original patch ]
2016-04-28Documentation: fix common spelling mistakesKees Cook-1/+1
This fixes several spelling mistakes in the Documentation/ tree, which are caught by's spell checking. Signed-off-by: Kees Cook <> Reviewed-by: Paul E. McKenney <> Acked-by: Randy Dunlap <> Signed-off-by: Jonathan Corbet <>
2016-03-10staging/rdma/hfi1: Method to toggle "fast ECN" detectionVennila Megavannan-1/+2
Add a per port sysfs paramter to toggle cc_prescan/Fast ECN Detection and remove the Kconfig option which was previously used to control this. While am updating the sysfs documentation, fix the name of CCMgtA. Reviewed-by: Arthur Kepner <> Reviewed-by: Mike Marciniszyn <> Signed-off-by: Vennila Megavannan <> Signed-off-by: Ira Weiny <> Signed-off-by: Doug Ledford <>
2015-12-23IB: remove in-kernel support for memory windowsChristoph Hellwig-2/+0
Remove the unused ib_allow_mw and ib_bind_mw functions, remove the unused IB_WR_BIND_MW and IB_WC_BIND_MW opcodes and move ib_dealloc_mw into the uverbs module. Signed-off-by: Christoph Hellwig <> Reviewed-by: Sagi Grimberg <> Reviewed-by: Jason Gunthorpe <> [core] Reviewed-by: Steve Wise <> Signed-off-by: Doug Ledford <>
2015-08-28IB/hfi1: add driver filesMike Marciniszyn-0/+20
Signed-off-by: Andrew Friedley <> Signed-off-by: Arthur Kepner <> Signed-off-by: Brendan Cunningham <> Signed-off-by: Brian Welty <> Signed-off-by: Caz Yokoyama <> Signed-off-by: Dean Luick <> Signed-off-by: Dennis Dalessandro <> Signed-off-by: Easwar Hariharan <> Signed-off-by: Harish Chegondi <> Signed-off-by: Ira Weiny <> Signed-off-by: Jim Snow <> Signed-off-by: John Gregor <> Signed-off-by: Jubin John <> Signed-off-by: Kaike Wan <> Signed-off-by: Kevin Pine <> Signed-off-by: Kyle Liddell <> Signed-off-by: Mike Marciniszyn <> Signed-off-by: Mitko Haralanov <> Signed-off-by: Ravi Krishnaswamy <> Signed-off-by: Sadanand Warrier <> Signed-off-by: Sanath Kumar <> Signed-off-by: Sudeep Dutt <> Signed-off-by: Vlad Danushevsky <> Signed-off-by: Doug Ledford <>
2014-08-10IB/mad: add new ioctl to ABI to support new registration optionsIra Weiny-4/+9
Registrations options are specified through flags. Definitions of flags will be in subsequent patches. Signed-off-by: Ira Weiny <> Signed-off-by: Roland Dreier <>
2012-09-20IB/ipoib: Add rtnl_link_ops supportOr Gerlitz-0/+3
Add rtnl_link_ops to IPoIB, with the first usage being child device create/delete through them. Childs devices are now either legacy ones, created/deleted through the ipoib sysfs entries, or RTNL ones. Adding support for RTNL childs involved refactoring of ipoib_vlan_add which is now used by both the sysfs and the link_ops code. Also, added ndo_uninit entry to support calling unregister_netdevice_queue from the rtnl dellink entry. This required removal of calls to ipoib_dev_cleanup from the driver in flows which use unregister_netdevice, since the networking core will invoke ipoib_uninit which does exactly that. Signed-off-by: Erez Shitrit <> Signed-off-by: Or Gerlitz <> Signed-off-by: David S. Miller <>
2010-08-04Documentation: update broken web addresses.Justin P. Mattock-1/+1
Below you will find an updated version from the original series bunching all patches into one big patch updating broken web addresses that are located in Documentation/* Some of the addresses date as far far back as 1995 etc... so searching became a bit difficult, the best way to deal with these is to use to locate these addresses that are outdated. Now there are also some addresses pointing to .spec files some are located, but some(after searching on the companies site)where still no where to be found. In this case I just changed the address to the company site this way the users can contact the company and they can locate them for the users. Signed-off-by: Justin P. Mattock <> Signed-off-by: Thomas Weber <> Signed-off-by: Mike Frysinger <> Cc: Paulo Marques <> Cc: Randy Dunlap <> Cc: Michael Neuling <> Signed-off-by: Jiri Kosina <>
2009-12-09IB: Fix typo in ipoib.txtBart Van Assche-5/+5
Delete extra words in "is to takes advantage of". Signed-off-by: Bart Van Assche <> Signed-off-by: Roland Dreier <>
2009-10-07IB: Fix typo in udev rule documentationBart Van Assche-3/+3
The proper syntax for udev rules is KERNEL==... instead of KERNEL=... Signed-off-by: Bart Van Assche <> Reported-by: Lukasz Jurewicz <> Signed-off-by: Roland Dreier <>
2009-04-08IPoIB: Document newish featuresOr Gerlitz-0/+45
Update the documentation to include connected mode, stateless offloads and interrupt moderation, and add a reference to the connected mode RFC. Signed-off-by: Or Gerlitz <> Signed-off-by: Roland Dreier <>
2007-10-09IB/umad: Add P_Key index supportRoland Dreier-0/+14
Add support for setting the P_Key index of sent MADs and getting the P_Key index of received MADs. This requires a change to the layout of the ABI structure struct ib_user_mad_hdr, so to avoid breaking compatibility, we default to the old (unchanged) ABI and add a new ioctl IB_USER_MAD_ENABLE_PKEY that allows applications that are aware of the new ABI to opt into using it. We plan on switching to the new ABI by default in a year or so, and this patch adds a warning that is printed when an application uses the old ABI, to push people towards converting to the new ABI. Signed-off-by: Roland Dreier <> Reviewed-by: Sean Hefty <> Reviewed-by: Hal Rosenstock <>
2007-04-24IB/umad: Clarify documentation of transaction IDHal Rosenstock-0/+8
Signed-off-by: Hal Rosenstock <> Signed-off-by: Roland Dreier <>
2006-08-03IB/ipoib: Remove broken link from Kconfig and documentationOr Gerlitz-2/+0
Remove references to the IPoIB IETF working group as it has been closed. Signed-off-by: Or Gerlitz <> Signed-off-by: Roland Dreier <>
2006-06-17IPoIB: Mention RFC numbers in documentationRoland Dreier-4/+8
Now that the IETF has released RFCs covering IPoIB, give the numbers in the documentation for IPoIB. Signed-off-by: Roland Dreier <>
2005-07-27[PATCH] IB: Add core locking documentation to InfinibandHal Rosenstock-0/+114
Add core locking documentation to Infiniband Signed-off-by: Roland Dreier <> Signed-off-by: Hal Rosenstock <> Cc: Roland Dreier <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-07-27[PATCH] IB: User MAD ABI changes to support RMPPHal Rosenstock-13/+40
User MAD ABI changes to support RMPP Signed-off-by: Hal Rosenstock <> Cc: Roland Dreier <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-07-07[PATCH] IB uverbs: add documentation fileRoland Dreier-0/+69
Add documentation for InfiniBand userspace verbs. Signed-off-by: Roland Dreier <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-04-16[PATCH] IPoIB: document conversion to debugfsRoland Dreier-4/+3
Update IPoIB documentation now that multicast debugging files have moved from ipoibdebugfs to debugfs. Signed-off-by: Roland Dreier <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds-0/+221
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!