diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ethtool.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 54d776c2c1b5..aac3e2eeb4fd 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h | |||
@@ -591,6 +591,9 @@ struct ethtool_sfeatures { | |||
591 | * Probably there are other device-specific constraints on some features | 591 | * Probably there are other device-specific constraints on some features |
592 | * in the set. When %ETHTOOL_F_UNSUPPORTED is set, .valid is considered | 592 | * in the set. When %ETHTOOL_F_UNSUPPORTED is set, .valid is considered |
593 | * here as though ignored bits were cleared. | 593 | * here as though ignored bits were cleared. |
594 | * %ETHTOOL_F_COMPAT - some or all changes requested were made by calling | ||
595 | * compatibility functions. Requested offload state cannot be properly | ||
596 | * managed by kernel. | ||
594 | * | 597 | * |
595 | * Meaning of bits in the masks are obtained by %ETHTOOL_GSSET_INFO (number of | 598 | * Meaning of bits in the masks are obtained by %ETHTOOL_GSSET_INFO (number of |
596 | * bits in the arrays - always multiple of 32) and %ETHTOOL_GSTRINGS commands | 599 | * bits in the arrays - always multiple of 32) and %ETHTOOL_GSTRINGS commands |
@@ -600,10 +603,12 @@ struct ethtool_sfeatures { | |||
600 | enum ethtool_sfeatures_retval_bits { | 603 | enum ethtool_sfeatures_retval_bits { |
601 | ETHTOOL_F_UNSUPPORTED__BIT, | 604 | ETHTOOL_F_UNSUPPORTED__BIT, |
602 | ETHTOOL_F_WISH__BIT, | 605 | ETHTOOL_F_WISH__BIT, |
606 | ETHTOOL_F_COMPAT__BIT, | ||
603 | }; | 607 | }; |
604 | 608 | ||
605 | #define ETHTOOL_F_UNSUPPORTED (1 << ETHTOOL_F_UNSUPPORTED__BIT) | 609 | #define ETHTOOL_F_UNSUPPORTED (1 << ETHTOOL_F_UNSUPPORTED__BIT) |
606 | #define ETHTOOL_F_WISH (1 << ETHTOOL_F_WISH__BIT) | 610 | #define ETHTOOL_F_WISH (1 << ETHTOOL_F_WISH__BIT) |
611 | #define ETHTOOL_F_COMPAT (1 << ETHTOOL_F_COMPAT__BIT) | ||
607 | 612 | ||
608 | #ifdef __KERNEL__ | 613 | #ifdef __KERNEL__ |
609 | 614 | ||