[Intel-wired-lan] [tnguy-next-queue:100GbE] BUILD SUCCESS e10989e56f5231934103d5a4c7c8926c783924ca

2024-07-12 Thread kernel test robot
defconfig gcc-13.2.0 arc allmodconfig gcc-13.2.0 arc allnoconfig gcc-13.2.0 arc allyesconfig gcc-13.2.0 arc defconfig gcc-13.2.0 arc randconfig-001-20240712

[Intel-wired-lan] [tnguy-next-queue:40GbE] BUILD SUCCESS 1712c9ee36d1f7b00e89bcd9743c18ba00a47f42

2024-07-12 Thread kernel test robot
nfig gcc-13.2.0 arc allyesconfig gcc-13.2.0 arc randconfig-001-20240712 gcc-13.2.0 arc randconfig-002-20240712 gcc-13.2.0 arm allmodconfig gcc-14.1.0 arm allnoconfig

[Intel-wired-lan] [PATCH iwl-next v2 4/6] ice: print ethtool stats as part of Tx hang devlink health reporter

2024-07-12 Thread Mateusz Polchlopek
From: Przemek Kitszel Print the ethtool stats as part of Tx hang devlink health dump. Move the declarations of ethtool functions that devlink health uses out to a new file: ice_ethtool_common.h To utilize our existing ethtool code in this context, convert it to non-static. Signed-off-by: Przem

[Intel-wired-lan] [PATCH iwl-next v2 6/6] ice: devlink health: dump also skb on Tx hang

2024-07-12 Thread Mateusz Polchlopek
From: Przemek Kitszel Extend Tx hang devlink health reporter dump by skb content. This commit includes much code copy-pasted from: - net/core/skbuff.c (function skb_dump() - modified to dump into buffer) - lib/hexdump.c (function print_hex_dump()) Signed-off-by: Przemek Kitszel Reviewed-by: Wo

[Intel-wired-lan] [PATCH iwl-next v2 5/6] ice: Add MDD logging via devlink health

2024-07-12 Thread Mateusz Polchlopek
From: Ben Shelton Add a devlink health reporter for MDD events. The 'dump' handler will return the information captured in each call to ice_handle_mdd_event(). A device reset (CORER/PFR) will put the reporter back in healthy state. Signed-off-by: Ben Shelton Co-developed-by: Przemek Kitszel Si

[Intel-wired-lan] [PATCH iwl-next v2 3/6] ice: add Tx hang devlink health reporter

2024-07-12 Thread Mateusz Polchlopek
From: Przemek Kitszel Add Tx hang devlink health reporter, see struct ice_tx_hang_event to see what is reported. Subsequent commits will extend it by more info, for now it dumps descriptors with little metadata. Signed-off-by: Przemek Kitszel Reviewed-by: Igor Bagnucki Reviewed-by: Wojciech D

[Intel-wired-lan] [PATCH iwl-next v2 2/6] devlink: add devlink_fmsg_put() macro

2024-07-12 Thread Mateusz Polchlopek
From: Przemek Kitszel Add devlink_fmsg_put() that dispatches based on the type of the value to put, example: bool -> devlink_fmsg_bool_pair_put(). Signed-off-by: Przemek Kitszel Reviewed-by: Wojciech Drewek Reviewed-by: Simon Horman Signed-off-by: Mateusz Polchlopek --- include/net/devlink.

[Intel-wired-lan] [PATCH iwl-next v2 1/6] checkpatch: don't complain on _Generic() use

2024-07-12 Thread Mateusz Polchlopek
From: Przemek Kitszel Improve CamelCase recognition logic to avoid reporting on _Generic() use. Other C keywords, such as _Bool, are intentionally omitted, as those should be rather avoided in new source code. Signed-off-by: Przemek Kitszel Reviewed-by: Wojciech Drewek Reviewed-by: Simon Hor

[Intel-wired-lan] [PATCH iwl-next v2 0/6] Add support for devlink health events

2024-07-12 Thread Mateusz Polchlopek
Reports for two kinds of events are implemented, Malicious Driver Detection (MDD) and Tx hang. Patches 1, 2: minor core improvements (checkpatch.pl and devlink extension) Patches 3, 4, 5: ice devlink health infra + straightforward status reports Patch 6: extension to dump also skb on Tx hang, this

[Intel-wired-lan] [PATCH iwl-next v5 1/4] igb: prepare for AF_XDP zero-copy support

2024-07-12 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Always call igb_xdp_ring_update_tail under __netif_tx_lock, add a comment to indicate that. This is needed to share the same TX ring between XDP, XSK and slow paths. Remove static qualifiers on the following functions to be able to call from XSK specific file that is adde

[Intel-wired-lan] [PATCH iwl-next v5 4/4] igb: add AF_XDP zero-copy Tx support

2024-07-12 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Add support for AF_XDP zero-copy transmit path. A new TX buffer type IGB_TYPE_XSK is introduced to indicate that the Tx frame was allocated from the xsk buff pool, so igb_clean_tx_ring and igb_clean_tx_irq can clean the buffers correctly based on type. igb_xmit_zc perfor

[Intel-wired-lan] [PATCH iwl-next v5 3/4] igb: add AF_XDP zero-copy Rx support

2024-07-12 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Add support for AF_XDP zero-copy receive path. When AF_XDP zero-copy is enabled, the rx buffers are allocated from the xsk buff pool using igb_alloc_rx_buffers_zc. Use xsk_pool_get_rx_frame_size to set SRRCTL rx buf size when zero-copy is enabled. Signed-off-by: Sriram

[Intel-wired-lan] [PATCH iwl-next v5 0/4] igb: Add support for AF_XDP zero-copy

2024-07-12 Thread Kurt Kanzenbach
This is version 5 of the AF_XDP zero-copy support for igb. Since Sriram's duties changed I am sending this instead. Additionally, I've tested this on real hardware, Intel i210 [1]. Changes since v4: - Rebase to v6.10 - Fix issue reported by kernel test robot - Provide napi_id for for xdp_rxq_i

[Intel-wired-lan] [PATCH iwl-next v5 2/4] igb: Introduce XSK data structures and helpers

2024-07-12 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Add the following ring flags - IGB_RING_FLAG_TX_DISABLED (when xsk pool is being setup) - IGB_RING_FLAG_AF_XDP_ZC (xsk pool is active) Add a xdp_buff array for use with XSK receive batch API, and a pointer to xsk_pool in igb_adapter. Add enable/disable functions for TX a