amd-xgbe: Fix a spelling error
This patch fixes the spelling of the word "descriptor" in a couple of locations. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f6ac862845
commit
a7beaf2300
|
@ -1185,13 +1185,13 @@ static void xgbe_packet_info(struct xgbe_prv_data *pdata,
|
||||||
packet->rdesc_count = 0;
|
packet->rdesc_count = 0;
|
||||||
|
|
||||||
if (xgbe_is_tso(skb)) {
|
if (xgbe_is_tso(skb)) {
|
||||||
/* TSO requires an extra desriptor if mss is different */
|
/* TSO requires an extra descriptor if mss is different */
|
||||||
if (skb_shinfo(skb)->gso_size != ring->tx.cur_mss) {
|
if (skb_shinfo(skb)->gso_size != ring->tx.cur_mss) {
|
||||||
context_desc = 1;
|
context_desc = 1;
|
||||||
packet->rdesc_count++;
|
packet->rdesc_count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TSO requires an extra desriptor for TSO header */
|
/* TSO requires an extra descriptor for TSO header */
|
||||||
packet->rdesc_count++;
|
packet->rdesc_count++;
|
||||||
|
|
||||||
XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES,
|
XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES,
|
||||||
|
|
Loading…
Reference in New Issue