This patch expands the status information provided by ethtool for PSE c33 with current port priority and max port priority. It also adds a call to pse_ethtool_set_prio() to configure the PSE port priority.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -671,6 +671,8 @@ enum { · 670 unmodified lines | |||
| 671 | ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT, | 671 | ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT, |
| 672 | ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES, | 672 | ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES, |
| 673 | ETHTOOL_A_PSE_PW_D_ID, | 673 | ETHTOOL_A_PSE_PW_D_ID, |
| 674 | ETHTOOL_A_PSE_PRIO_MAX, | ||
| 675 | ETHTOOL_A_PSE_PRIO, | ||
| 674 | 676 | ||
| 675 | __ETHTOOL_A_PSE_CNT, | 677 | __ETHTOOL_A_PSE_CNT, |
| 676 | ETHTOOL_A_PSE_MAX = (__ETHTOOL_A_PSE_CNT - 1) | 678 | ETHTOOL_A_PSE_MAX = (__ETHTOOL_A_PSE_CNT - 1) |