Maximum packet length must be set to configure representor devices. Fixes: a62ec90522a6 ("net/sfc: add port representors infrastructure") Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktio...@arknetworks.am> Reviewed-by: Andy Moreton <amore...@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