|
@@ -156,7 +156,7 @@ struct vf_macvlans {
|
|
|
|
|
|
/* Tx Descriptors needed, worst case */
|
|
|
#define TXD_USE_COUNT(S) DIV_ROUND_UP((S), IXGBE_MAX_DATA_PER_TXD)
|
|
|
-#define DESC_NEEDED ((MAX_SKB_FRAGS * TXD_USE_COUNT(PAGE_SIZE)) + 4)
|
|
|
+#define DESC_NEEDED (MAX_SKB_FRAGS + 4)
|
|
|
|
|
|
/* wrapper around a pointer to a socket buffer,
|
|
|
* so a DMA handle can be stored along with the buffer */
|