|
@@ -2857,12 +2857,12 @@ static void ixgbevf_tx_csum(struct ixgbevf_ring *tx_ring,
|
|
|
if (skb->ip_summed == CHECKSUM_PARTIAL) {
|
|
|
u8 l4_hdr = 0;
|
|
|
switch (skb->protocol) {
|
|
|
- case __constant_htons(ETH_P_IP):
|
|
|
+ case htons(ETH_P_IP):
|
|
|
vlan_macip_lens |= skb_network_header_len(skb);
|
|
|
type_tucmd |= IXGBE_ADVTXD_TUCMD_IPV4;
|
|
|
l4_hdr = ip_hdr(skb)->protocol;
|
|
|
break;
|
|
|
- case __constant_htons(ETH_P_IPV6):
|
|
|
+ case htons(ETH_P_IPV6):
|
|
|
vlan_macip_lens |= skb_network_header_len(skb);
|
|
|
l4_hdr = ipv6_hdr(skb)->nexthdr;
|
|
|
break;
|