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: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:

committed by
Jeff Kirsher

parent
b1bb2eb0a0
commit
3a1eb6d10c
@@ -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;
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user