> On Sep 1, 2015, at 8:31 PM, Tom Herbert <t...@herbertland.com> wrote:
> 
>> @@ -7240,6 +7267,10 @@ static void ixgbe_atr(struct ixgbe_ring *ring,
>>                struct ipv6hdr *ipv6;
>>        } hdr;
>>        struct tcphdr *th;
>> +       struct sk_buff *skb;
>> +#ifdef CONFIG_IXGBE_VXLAN
>> +       u8 encap = false;
>> +#endif /* CONFIG_IXGBE_VXLAN */
>>        __be16 vlan_id;
>> 
>>        /* if ring doesn't have a interrupt vector, cannot perform ATR */
>> @@ -7253,16 +7284,36 @@ static void ixgbe_atr(struct ixgbe_ring *ring,
> 
> Isn't this a function in the transmit path? What do these changes have
> to do with RX offloads?

Yes, it is in the transmit path. ATR sets up rules for delivering received 
packets to the correct queue. So this is setting things up for the receive side 
to work better. New hardware capabilities now make it possible to do this for 
VXLAN traffic.

--
Mark Rustad, Networking Division, Intel Corporation

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to