lkml.org 
[lkml]   [2018]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.4 136/268] sunvnet: does not support GSO for sctp
    Date
    4.4-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Cathy Zhou <Cathy.Zhou@Oracle.COM>

    [ Upstream commit cf55612a945039476abfd73e39064b2e721c3272 ]

    The NETIF_F_GSO_SOFTWARE implies support for GSO on SCTP, but the
    sunvnet driver does not support GSO for sctp. Here we remove the
    NETIF_F_GSO_SOFTWARE feature flag and only report NETIF_F_ALL_TSO
    instead.

    Signed-off-by: Cathy Zhou <Cathy.Zhou@Oracle.COM>
    Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/net/ethernet/sun/sunvnet.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/net/ethernet/sun/sunvnet.c
    +++ b/drivers/net/ethernet/sun/sunvnet.c
    @@ -1787,7 +1787,7 @@ static struct vnet *vnet_new(const u64 *
    dev->ethtool_ops = &vnet_ethtool_ops;
    dev->watchdog_timeo = VNET_TX_TIMEOUT;

    - dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_GSO_SOFTWARE |
    + dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_ALL_TSO |
    NETIF_F_HW_CSUM | NETIF_F_SG;
    dev->features = dev->hw_features;


    \
     
     \ /
      Last update: 2018-05-28 17:28    [W:3.314 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site