]> www.infradead.org Git - users/willy/pagecache.git/commit
igc: Set buffer type for empty frames in igc_init_empty_frame
authorSong Yoong Siang <yoong.siang.song@intel.com>
Wed, 5 Feb 2025 02:36:03 +0000 (10:36 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 11 Feb 2025 17:13:11 +0000 (09:13 -0800)
commit63f20f00d23d569e4e67859b4e8dcc9de79221cb
tree82cb8afd95e7f395ac92bfdf05da42f36936e924
parent7822dd4d6d4bebca5045a395e1784ef09cae2d43
igc: Set buffer type for empty frames in igc_init_empty_frame

Set the buffer type to IGC_TX_BUFFER_TYPE_SKB for empty frame in the
igc_init_empty_frame function. This ensures that the buffer type is
correctly identified and handled during Tx ring cleanup.

Fixes: db0b124f02ba ("igc: Enhance Qbv scheduling by using first flag bit")
Cc: stable@vger.kernel.org # 6.2+
Signed-off-by: Song Yoong Siang <yoong.siang.song@intel.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Mor Bar-Gabay <morx.bar.gabay@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c