-
- Downloads
Merge branch 'netlink-formatted-extacks'
Edward Cree says: ==================== netlink: formatted extacks Currently, netlink extacks can only carry fixed string messages, which is limiting when reporting failures in complex systems. This series adds the ability to return printf-formatted messages, and uses it in the sfc driver's TC offload code. Formatted extack messages are limited in length to a fixed buffer size, currently 80 characters. If the message exceeds this, the full message will be logged (ratelimited) to the console and a truncated version returned over netlink. There is no change to the netlink uAPI; only internal kernel changes are needed. ==================== Link: https://lore.kernel.org/r/cover.1666102698.git.ecree.xilinx@gmail.com Signed-off-by:Jakub Kicinski <kuba@kernel.org>
No related branches found
No related tags found
Showing
- drivers/net/ethernet/sfc/ef100_ethtool.c 0 additions, 2 deletionsdrivers/net/ethernet/sfc/ef100_ethtool.c
- drivers/net/ethernet/sfc/ethtool_common.c 0 additions, 37 deletionsdrivers/net/ethernet/sfc/ethtool_common.c
- drivers/net/ethernet/sfc/ethtool_common.h 0 additions, 2 deletionsdrivers/net/ethernet/sfc/ethtool_common.h
- drivers/net/ethernet/sfc/mae.c 2 additions, 3 deletionsdrivers/net/ethernet/sfc/mae.c
- drivers/net/ethernet/sfc/net_driver.h 0 additions, 2 deletionsdrivers/net/ethernet/sfc/net_driver.h
- drivers/net/ethernet/sfc/tc.c 21 additions, 26 deletionsdrivers/net/ethernet/sfc/tc.c
- drivers/net/ethernet/sfc/tc.h 0 additions, 18 deletionsdrivers/net/ethernet/sfc/tc.h
- include/linux/netlink.h 27 additions, 2 deletionsinclude/linux/netlink.h
Loading
Please register or sign in to comment