History

net: ethtool: Add PSE port priority support feature

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.

Kory Maincent (Dent Project) committed 1 year ago

Commit eeb0c8f1 parent ffef61d4 files · +57 −0Browse files

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

Unified · Split

include/uapi/linux/ethtool_netlink_generated.h+2−0
@@ -671,6 +671,8 @@ enum { · 670 unmodified lines
671671 ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT,
672672 ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES,
673673 ETHTOOL_A_PSE_PW_D_ID,
674+ ETHTOOL_A_PSE_PRIO_MAX,
675+ ETHTOOL_A_PSE_PRIO,
674676
675677 __ETHTOOL_A_PSE_CNT,
676678 ETHTOOL_A_PSE_MAX = (__ETHTOOL_A_PSE_CNT - 1)