]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - include/uapi/linux/devlink.h
Update kernel headers
[mirror_iproute2.git] / include / uapi / linux / devlink.h
index 6544824a0b97b624265c74bed115746dde2349be..fc195cbd66f45ef6f8e3c4dd545c03b528cb729b 100644 (file)
@@ -169,6 +169,14 @@ enum devlink_port_flavour {
        DEVLINK_PORT_FLAVOUR_DSA, /* Distributed switch architecture
                                   * interconnect port.
                                   */
+       DEVLINK_PORT_FLAVOUR_PCI_PF, /* Represents eswitch port for
+                                     * the PCI PF. It is an internal
+                                     * port that faces the PCI PF.
+                                     */
+       DEVLINK_PORT_FLAVOUR_PCI_VF, /* Represents eswitch port
+                                     * for the PCI VF. It is an internal
+                                     * port that faces the PCI VF.
+                                     */
 };
 
 enum devlink_param_cmode {
@@ -337,6 +345,9 @@ enum devlink_attr {
        DEVLINK_ATTR_FLASH_UPDATE_STATUS_DONE,  /* u64 */
        DEVLINK_ATTR_FLASH_UPDATE_STATUS_TOTAL, /* u64 */
 
+       DEVLINK_ATTR_PORT_PCI_PF_NUMBER,        /* u16 */
+       DEVLINK_ATTR_PORT_PCI_VF_NUMBER,        /* u16 */
+
        /* add new attributes above here, update the policy in devlink.c */
 
        __DEVLINK_ATTR_MAX,