From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66EAE4256E; Mon, 11 Sep 2023 12:47:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0A5D402D6; Mon, 11 Sep 2023 12:47:53 +0200 (CEST) Received: from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80]) by mails.dpdk.org (Postfix) with ESMTP id 736D9402AA; Mon, 11 Sep 2023 12:47:52 +0200 (CEST) Received: from localhost.localdomain (unknown [37.252.90.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by agw.arknetworks.am (Postfix) with ESMTPSA id 7DECAE0F0C; Mon, 11 Sep 2023 14:47:51 +0400 (+04) DKIM-Filter: OpenDKIM Filter v2.11.0 agw.arknetworks.am 7DECAE0F0C DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arknetworks.am; s=default; t=1694429272; bh=5Ezs9HQ9gNUUAj+43i/DLYcMknyzgIeuD/lI+iCGwuM=; h=From:To:Cc:Subject:Date:From; b=tiRY4UzLPpEK5oFg416CPJfnyw6q/t+vFnRKb64apG0dfW9QDizqypxt0N89GQr9c PgYZHQGnHr6eVTvvjWSJWF+LU7mXP6OfBZJatlarnFNGhrzqlsqdWyQhsiT7fesljy ZGAvL1jF7TM3eiVuMbsGEBmhsUYYr7cKw/qwvPvVckUyNV6XRqE8fepahUdNp+98Io tbv7s5/M5fd7nHgFiYkdYnyhqVVOLBZ77s0OWL8ScSZgwH32/854aukpQjW7zIE4Zj art5GwIoTc3wBBR8/lUeSmEyiidDBnw2QtqRe+pqCL+pdGHCvLN+84o2lqs/NDzgfF 2Qmr2PGfEypVw== From: Viacheslav Galaktionov To: dev@dpdk.org Cc: stable@dpdk.org, Andy Moreton , Andrew Rybchenko , Ivan Malov , Igor Romanov Subject: [PATCH] net/sfc: set max Rx packet length for representors Date: Mon, 11 Sep 2023 14:47:23 +0400 Message-ID: <20230911104722.31402-2-viacheslav.galaktionov@arknetworks.am> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Reviewed-by: Andy Moreton --- 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