patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] net/sfc: set max Rx packet length for representors
@ 2023-09-11 10:47 Viacheslav Galaktionov
  2023-09-11 13:06 ` Andrew Rybchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Viacheslav Galaktionov @ 2023-09-11 10:47 UTC (permalink / raw)
  To: dev; +Cc: stable, Andy Moreton, Andrew Rybchenko, Ivan Malov, Igor Romanov

Maximum packet length must be set to configure representor devices.

Fixes: a62ec90522a6 ("net/sfc: add port representors infrastructure")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@arknetworks.am>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
---
 drivers/net/sfc/sfc_repr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/sfc/sfc_repr.c b/drivers/net/sfc/sfc_repr.c
index 6c7727d569..5f93192522 100644
--- a/drivers/net/sfc/sfc_repr.c
+++ b/drivers/net/sfc/sfc_repr.c
@@ -502,6 +502,7 @@ sfc_repr_dev_infos_get(struct rte_eth_dev *dev,
 
 	dev_info->device = dev->device;
 
+	dev_info->max_rx_pktlen = EFX_MAC_PDU_MAX;
 	dev_info->max_rx_queues = SFC_REPR_RXQ_MAX;
 	dev_info->max_tx_queues = SFC_REPR_TXQ_MAX;
 	dev_info->default_rxconf.rx_drop_en = 1;
-- 
2.42.0


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

* Re: [PATCH] net/sfc: set max Rx packet length for representors
  2023-09-11 10:47 [PATCH] net/sfc: set max Rx packet length for representors Viacheslav Galaktionov
@ 2023-09-11 13:06 ` Andrew Rybchenko
  2023-09-11 14:08   ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Rybchenko @ 2023-09-11 13:06 UTC (permalink / raw)
  To: Viacheslav Galaktionov, dev
  Cc: stable, Andy Moreton, Ivan Malov, Igor Romanov

On 9/11/23 13:47, Viacheslav Galaktionov wrote:
> Maximum packet length must be set to configure representor devices.
> 
> Fixes: a62ec90522a6 ("net/sfc: add port representors infrastructure")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@arknetworks.am>
> Reviewed-by: Andy Moreton <amoreton@xilinx.com>

Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>



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

* Re: [PATCH] net/sfc: set max Rx packet length for representors
  2023-09-11 13:06 ` Andrew Rybchenko
@ 2023-09-11 14:08   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2023-09-11 14:08 UTC (permalink / raw)
  To: Andrew Rybchenko, Viacheslav Galaktionov, dev
  Cc: stable, Andy Moreton, Ivan Malov, Igor Romanov

On 9/11/2023 2:06 PM, Andrew Rybchenko wrote:
> On 9/11/23 13:47, Viacheslav Galaktionov wrote:
>> Maximum packet length must be set to configure representor devices.
>>
>> Fixes: a62ec90522a6 ("net/sfc: add port representors infrastructure")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Viacheslav Galaktionov
>> <viacheslav.galaktionov@arknetworks.am>
>> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
> 
> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> 

Series applied to dpdk-next-net/main, thanks.


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

end of thread, other threads:[~2023-09-11 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-11 10:47 [PATCH] net/sfc: set max Rx packet length for representors Viacheslav Galaktionov
2023-09-11 13:06 ` Andrew Rybchenko
2023-09-11 14:08   ` Ferruh Yigit

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).