Update kernel header to commit:
e41b6bf3cdd4 ("devlink: Introduce PCI VF port flavour and port attribute")

Signed-off-by: Parav Pandit <pa...@mellanox.com>
---
 include/uapi/linux/devlink.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h
index 6544824a..fc195cbd 100644
--- a/include/uapi/linux/devlink.h
+++ b/include/uapi/linux/devlink.h
@@ -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,
-- 
2.19.2

Reply via email to