From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 6C5B55681 for ; Wed, 19 Sep 2018 17:04:56 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id j26-v6so6190540wre.2 for ; Wed, 19 Sep 2018 08:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=krp8cN+azK/Gl8HzMkdW39i9WC4ID5P84vDwzoRDGB0=; b=l5JEg87alTj0dMDBuFtq/TDF0NmOxbpR9EqUOhrluuTm4qTvuP8gNCR4lVn4Hq0K5O +FKrfVjTgljlNkpeZ5nK3DRi0mUK+v5Xkk93kT3BkSaMhbhXyvLF2oc6lBNGGJEterpo 1ZNNyDfITjjqjODxathuMVX0SidT/Gm+qLKv/B7E9Kqc6LVryJSQL/3GUcn6uQ+E97a6 69gKk1B9Rx0Cr563VLySqPgkytp7/18CTUqBqfS9KoWCoRhAjNFCZkyIvXbjJR6/dPYb 6dp9ATdIbzMmzjwQ9pvyYWGjJOjuwQqk+xzhaKQwpwcpjMt42sr16f4u206M32nvj7n6 FzJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=krp8cN+azK/Gl8HzMkdW39i9WC4ID5P84vDwzoRDGB0=; b=Jp8A3HdsIStX36d2tD0xcVamk+meAtg0BfyW3SxS87ElqnXLOHZN3joG5tGja8P/4p B8RZdAoF/AqD6f+FauZlbnPp1mMwG9TCndldroiOGGpgqLsM0CXLhtbMhriKAhTAwm7G OeLsTqEQD1GWgGKHum9N5v0qbVQeULGt5bkyjf3XgQnImAysuB6/1Y/ePzCPj9hbcsdC F/dDQgcEeq/e1bhBYeKRqZmrnXfKRYqHVFfH7fb2a2nEzVF3DB9qdmSXKYBjV2ThvTvv lzcO4HqoxVmpnMQ7e+Dx3MgMNqPmM4T63C4kJDc45XEMQ2XVvNOYCiIr9qqbBfkWMTGW embw== X-Gm-Message-State: APzg51Agbey0iVjCMoKDWSKNlFMhpyjG4/B0mUBuMnEuqm5qPZpwEvQ7 M++ELhaEGvY5UUftKGAhcRmNQQ== X-Google-Smtp-Source: ANB0VdbHnvxKfKlMvPskr4hMIXbwMRS0Luax0dasGOSsouW3x3ySOojzs9twM2rieVhtjUMnN0O4hw== X-Received: by 2002:adf:f112:: with SMTP id r18-v6mr11548999wro.29.1537369496129; Wed, 19 Sep 2018 08:04:56 -0700 (PDT) Received: from pala.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id z21-v6sm3572751wmi.29.2018.09.19.08.04.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 08:04:55 -0700 (PDT) From: Didier Pallard To: dev@dpdk.org Cc: stable@dpdk.org Date: Wed, 19 Sep 2018 17:04:09 +0200 Message-Id: <20180919150409.22880-5-didier.pallard@6wind.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180919150409.22880-1-didier.pallard@6wind.com> References: <20180919150409.22880-1-didier.pallard@6wind.com> Subject: [dpdk-stable] [PATCH 4/4] net/ixgbe: fix missing Tx multi segs capability X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2018 15:04:56 -0000 In former API, ETH_TXQ_FLAGS_NOMULTSEGS was merely a hint indicating that application will never send multisegmented packets, allowing pmd to choose different tx methods accordingly. In new API, DEV_TX_OFFLOAD_MULTI_SEGS became an offload capability that is advertised by pmds, some of them do not advertise it and expect to never receive fragmented packets (octeontx, axgbe) So an ethdev that supports multisegmented packets should properly advertise it. Problem was spotted and tested on e1000, should be also present in ixgbe_vf representor. Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports") Cc: stable@dpdk.org Signed-off-by: Didier Pallard --- drivers/net/ixgbe/ixgbe_vf_representor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_vf_representor.c b/drivers/net/ixgbe/ixgbe_vf_representor.c index db516d9910b8..b0fbbc49f6ed 100644 --- a/drivers/net/ixgbe/ixgbe_vf_representor.c +++ b/drivers/net/ixgbe/ixgbe_vf_representor.c @@ -65,7 +65,7 @@ ixgbe_vf_representor_dev_infos_get(struct rte_eth_dev *ethdev, dev_info->tx_offload_capa = DEV_TX_OFFLOAD_VLAN_INSERT | DEV_TX_OFFLOAD_IPV4_CKSUM | DEV_TX_OFFLOAD_UDP_CKSUM | DEV_TX_OFFLOAD_TCP_CKSUM | DEV_TX_OFFLOAD_SCTP_CKSUM | - DEV_TX_OFFLOAD_TCP_TSO; + DEV_TX_OFFLOAD_TCP_TSO | DEV_TX_OFFLOAD_MULTI_SEGS; /**< Device TX offload capabilities. */ dev_info->speed_capa = -- 2.11.0