Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a1eb6d1 authored by Alexander Duyck's avatar Alexander Duyck Committed by Jeff Kirsher
Browse files

igb/ixgbe: Fix typo in igb_build_skb and/or ixgbe_build_skb code comment



There was a typo that I had left in the code comments for the igb and ixgbe
functions that enabled build_skb support.

Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent b1bb2eb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -7041,7 +7041,7 @@ static struct sk_buff *igb_build_skb(struct igb_ring *rx_ring,
	prefetch(va + L1_CACHE_BYTES);
	prefetch(va + L1_CACHE_BYTES);
#endif
#endif


	/* build an skb to around the page buffer */
	/* build an skb around the page buffer */
	skb = build_skb(va - IGB_SKB_PAD, truesize);
	skb = build_skb(va - IGB_SKB_PAD, truesize);
	if (unlikely(!skb))
	if (unlikely(!skb))
		return NULL;
		return NULL;
+1 −1
Original line number Original line Diff line number Diff line
@@ -2122,7 +2122,7 @@ static struct sk_buff *ixgbe_build_skb(struct ixgbe_ring *rx_ring,
	prefetch(va + L1_CACHE_BYTES);
	prefetch(va + L1_CACHE_BYTES);
#endif
#endif


	/* build an skb to around the page buffer */
	/* build an skb around the page buffer */
	skb = build_skb(va - IXGBE_SKB_PAD, truesize);
	skb = build_skb(va - IXGBE_SKB_PAD, truesize);
	if (unlikely(!skb))
	if (unlikely(!skb))
		return NULL;
		return NULL;