diff options
author | Pavel Belous <pavel.belous@aquantia.com> | 2017-03-23 14:19:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-24 12:32:19 -0700 |
commit | 386aff88e32ec3f82e3f032217bad0c8c8846349 (patch) | |
tree | 3afc95fcfc0192efba559ff4822523ca7feb7b6c /drivers/net/ethernet/aquantia/atlantic/aq_ring.h | |
parent | net:ethernet:aquantia: Missing spinlock initialization. (diff) | |
download | linux-dev-386aff88e32ec3f82e3f032217bad0c8c8846349.tar.xz linux-dev-386aff88e32ec3f82e3f032217bad0c8c8846349.zip |
net:ethernet:aquantia: Fix for LSO with IPv6.
Fix Context Command bit: L3 type = "0" for IPv4, "1" for IPv6.
Fixes: bab6de8fd180 ("net: ethernet: aquantia:
Atlantic A0 and B0 specific functions.")
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_ring.h')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/aq_ring.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_ring.h b/drivers/net/ethernet/aquantia/atlantic/aq_ring.h index 257254645068..eecd6d1c4d73 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_ring.h +++ b/drivers/net/ethernet/aquantia/atlantic/aq_ring.h @@ -58,7 +58,8 @@ struct __packed aq_ring_buff_s { u8 len_l2; u8 len_l3; u8 len_l4; - u8 rsvd2; + u8 is_ipv6:1; + u8 rsvd2:7; u32 len_pkt; }; }; |