History

RDMA/uapi: Fix uapi breakage

During this merge window, we added support for addition RDMA netlink operations. Unfortunately, we added the items in the middle of our uapi enum. Fix that before final release.

Doug Ledford committed 8 years ago

Commit 0d52d801 parent 009669c1 file · +13 −11Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/rdma/rdma_netlink.h+13−11
@@ -399,6 +399,18 @@ enum rdma_nldev_attr { · 398 unmodified lines
399399 RDMA_NLDEV_ATTR_RES_PD_ENTRY, /* nested table */
400400 RDMA_NLDEV_ATTR_RES_LOCAL_DMA_LKEY, /* u32 */
401401 RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY, /* u32 */
402+ /*
403+ * Provides logical name and index of netdevice which is
404+ * connected to physical port. This information is relevant
405+ * for RoCE and iWARP.
406+ *
407+ * The netdevices which are associated with containers are
408+ * supposed to be exported together with GID table once it
409+ * will be exposed through the netlink. Because the
410+ * associated netdevices are properties of GIDs.
411+ */
412+ RDMA_NLDEV_ATTR_NDEV_INDEX, /* u32 */
413+ RDMA_NLDEV_ATTR_NDEV_NAME, /* string */
402414 /*
403415 * driver-specific attributes.
404416 */
@@ -415,18 +427,8 @@ enum rdma_nldev_attr { · 10 unmodified lines
415427 RDMA_NLDEV_ATTR_DRIVER_U64, /* u64 */
416428
417429 /*
418− * Provides logical name and index of netdevice which is
419− * connected to physical port. This information is relevant
420− * for RoCE and iWARP.
421− *
422− * The netdevices which are associated with containers are
423− * supposed to be exported together with GID table once it
424− * will be exposed through the netlink. Because the
425− * associated netdevices are properties of GIDs.
430+ * Always the end
426431 */
427− RDMA_NLDEV_ATTR_NDEV_INDEX, /* u32 */
428− RDMA_NLDEV_ATTR_NDEV_NAME, /* string */
429−
430432 RDMA_NLDEV_ATTR_MAX
431433 };
432434 #endif /* _UAPI_RDMA_NETLINK_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t