[Intel-wired-lan] [PATCH 1/2] ixgbe: Add support for UDP-encapsulated tx checksum offload

Rustad, Mark D mark.d.rustad at intel.com
Thu Jun 11 16:35:44 UTC 2015


> On Jun 10, 2015, at 11:58 AM, Jesse Gross <jesse at nicira.com> wrote:
> 
> On Wed, Jun 10, 2015 at 10:44 AM, Mark D Rustad <mark.d.rustad at intel.com> wrote:
>> diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
>> index 03336013a76c..3c9bc7cc7d10 100644
>> --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
>> +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
>> +static netdev_features_t
>> +ixgbe_features_check(struct sk_buff *skb, struct net_device *dev,
>> +                    netdev_features_t features)
>> +{
>> +       return vxlan_features_check(skb, features);
>> +}
> 
> Do you know what the actual capabilities of the device are? My guess
> is that in practice you can have a more liberal feature check and
> support a greater range of protocols. Something like this:
> https://patchwork.ozlabs.org/patch/461323/

I will look further into this. With the number of devices involved it will take me some time.

> Also, does this patch support TSO or just checksums?

It relies on GSO for segmentation so the hardware can do the checksumming.

> It looks like
> checksums only but in that case it shouldn't expose
> NETIF_F_GSO_UDP_TUNNEL.

I thought that was what I needed to set to get GSO to be used on the tunnel. If that isn't what this does, it is very badly-named.

--
Mark Rustad, Networking Division, Intel Corporation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20150611/91aa78ea/attachment.asc>


More information about the Intel-wired-lan mailing list