DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ena: enable multi segment in Tx offload flags
@ 2021-07-12 17:01 Ghalem Boudour
  2021-07-14 10:02 ` Michał Krawczyk
  2021-07-30  8:34 ` [dpdk-dev] [PATCH v2] " Olivier Matz
  0 siblings, 2 replies; 9+ messages in thread
From: Ghalem Boudour @ 2021-07-12 17:01 UTC (permalink / raw)
  To: Marcin Wojtas, Michal Krawczyk, Guy Tzalik, Evgeny Schemeilin,
	Igor Chauskin
  Cc: dev, Ghalem Boudour, Olivier Matz

The DPDK ENA driver does not provide multi-segment tx offload capability.
Let's add DEV_TX_OFFLOAD_MULTI_SEGS to ports offload capability by default.

This flag in not listed in doc/guides/nics/features/default.ini, so
ena.ini does not need to be updated.

Signed-off-by: Ghalem Boudour <ghalem.boudour@6wind.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
---
 drivers/net/ena/ena_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index dfe68279fa7b..a8422ee425ce 100644
--- a/drivers/net/ena/ena_ethdev.c
+++ b/drivers/net/ena/ena_ethdev.c
@@ -2055,6 +2055,7 @@ static int ena_infos_get(struct rte_eth_dev *dev,
 			DEV_RX_OFFLOAD_TCP_CKSUM;
 
 	rx_feat |= DEV_RX_OFFLOAD_JUMBO_FRAME;
+	tx_feat |= DEV_TX_OFFLOAD_MULTI_SEGS;
 
 	/* Inform framework about available features */
 	dev_info->rx_offload_capa = rx_feat;
-- 
2.28.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-07-30 10:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 17:01 [dpdk-dev] [PATCH] net/ena: enable multi segment in Tx offload flags Ghalem Boudour
2021-07-14 10:02 ` Michał Krawczyk
2021-07-28 14:27   ` Olivier Matz
2021-07-29  6:40     ` Michał Krawczyk
2021-07-29  7:26       ` Olivier Matz
2021-07-29  7:32         ` Michał Krawczyk
2021-07-30  8:34 ` [dpdk-dev] [PATCH v2] " Olivier Matz
2021-07-30  9:37   ` Michał Krawczyk
2021-07-30 10:11     ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).