@@ -938,9 +938,9 @@ enum mvpp22_ptp_packet_format {
#define MVPP2_BM_COOKIE_POOL_OFFS 8
#define MVPP2_BM_COOKIE_CPU_OFFS 24
-#define MVPP2_BM_SHORT_FRAME_SIZE 736 /* frame size 128 */
-#define MVPP2_BM_LONG_FRAME_SIZE 2240 /* frame size 1664 */
-#define MVPP2_BM_JUMBO_FRAME_SIZE 10432 /* frame size 9856 */
+#define MVPP2_BM_SHORT_FRAME_SIZE (128 + MVPP2_SKB_HEADROOM + MVPP2_SKB_SHINFO_SIZE) /* frame size 128 */
+#define MVPP2_BM_LONG_FRAME_SIZE (1664 + MVPP2_SKB_HEADROOM + MVPP2_SKB_SHINFO_SIZE) /* frame size 1664 */
+#define MVPP2_BM_JUMBO_FRAME_SIZE (9856 + MVPP2_SKB_HEADROOM + MVPP2_SKB_SHINFO_SIZE) /* frame size 9856 */
/* BM short pool packet size
* These value assure that for SWF the total number
* of bytes allocated for each buffer will be 512