net/sfc: set max Rx packet length for representors
Checks
Commit Message
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(+)
Comments
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>
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.
@@ -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;