Index: ixgbe-5.19.9/src/ixgbe.h
===================================================================
--- ixgbe-5.19.9.orig/src/ixgbe.h
+++ ixgbe-5.19.9/src/ixgbe.h
@@ -483,7 +483,9 @@
 		struct ixgbe_tx_queue_stats tx_stats;
 		struct ixgbe_rx_queue_stats rx_stats;
 	};
+#ifndef CONFIG_IXGBE_DISABLE_PACKET_SPLIT
 	u16 rx_offset;
+#endif
 	spinlock_t tx_lock;		/* used in XDP mode */
 #ifdef HAVE_XDP_BUFF_RXQ
 	struct xdp_rxq_info xdp_rxq;
Index: ixgbe-5.19.9/src/ixgbe_main.c
===================================================================
--- ixgbe-5.19.9.orig/src/ixgbe_main.c
+++ ixgbe-5.19.9/src/ixgbe_main.c
@@ -4420,7 +4420,9 @@
 		break;
 	}
 
+#ifndef CONFIG_IXGBE_DISABLE_PACKET_SPLIT
 	ring->rx_offset = ixgbe_rx_offset(ring);
+#endif
 #ifdef HAVE_AF_XDP_ZC_SUPPORT
 	if (ring->xsk_pool && hw->mac.type != ixgbe_mac_82599EB) {
 #ifndef HAVE_MEM_TYPE_XSK_BUFF_POOL
