* |WARNING| pw124813 [PATCH] [v7] net/i40e: fix max frame size configuration
@ 2023-03-06 12:54 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-03-06 12:54 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/124813
_apply patch failure_
Submitter: Simei Su <simei.su@intel.com>
Date: Monday, March 06 2023 12:18:53
Applied on: CommitID:4ef69b2877a24ddb89afaf4bb6f4e73bb52a605b
Apply patch set 124813 failed:
Checking patch drivers/net/i40e/i40e_ethdev.c...
error: while searching for:
*/
i40e_add_tx_flow_control_drop_filter(pf);
/* Set the max frame size to 0x2600 by default,
* in case other drivers changed the default value.
*/
i40e_aq_set_mac_config(hw, I40E_FRAME_SIZE_MAX, TRUE, false, 0, NULL);
/* initialize RSS rule list */
TAILQ_INIT(&pf->rss_config_list);
error: patch failed: drivers/net/i40e/i40e_ethdev.c:1710
error: while searching for:
uint32_t intr_vector = 0;
struct i40e_vsi *vsi;
uint16_t nb_rxq, nb_txq;
hw->adapter_stopped = 0;
error: patch failed: drivers/net/i40e/i40e_ethdev.c:2332
Hunk #3 succeeded at 2449 (offset 1 line).
error: while searching for:
"please call hierarchy_commit() "
"before starting the port");
return I40E_SUCCESS;
tx_err:
error: patch failed: drivers/net/i40e/i40e_ethdev.c:2470
Applying patch drivers/net/i40e/i40e_ethdev.c with 3 rejects...
Rejected hunk #1.
Rejected hunk #2.
Hunk #3 applied cleanly.
Rejected hunk #4.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c (rejected hunks)
@@ -1710,11 +1710,6 @@ eth_i40e_dev_init(struct rte_eth_dev *dev, void *init_params __rte_unused)
*/
i40e_add_tx_flow_control_drop_filter(pf);
- /* Set the max frame size to 0x2600 by default,
- * in case other drivers changed the default value.
- */
- i40e_aq_set_mac_config(hw, I40E_FRAME_SIZE_MAX, TRUE, false, 0, NULL);
-
/* initialize RSS rule list */
TAILQ_INIT(&pf->rss_config_list);
@@ -2332,6 +2327,7 @@ i40e_dev_start(struct rte_eth_dev *dev)
uint32_t intr_vector = 0;
struct i40e_vsi *vsi;
uint16_t nb_rxq, nb_txq;
+ uint16_t max_frame_size;
hw->adapter_stopped = 0;
@@ -2470,6 +2466,13 @@ i40e_dev_start(struct rte_eth_dev *dev)
"please call hierarchy_commit() "
"before starting the port");
+ max_frame_size = dev->data->mtu ?
+ dev->data->mtu + I40E_ETH_OVERHEAD :
+ I40E_FRAME_SIZE_MAX;
+
+ /* Set the max frame size to HW*/
+ i40e_aq_set_mac_config(hw, max_frame_size, TRUE, false, 0, NULL);
+
return I40E_SUCCESS;
tx_err:
https://lab.dpdk.org/results/dashboard/patchsets/25623/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-06 12:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 12:54 |WARNING| pw124813 [PATCH] [v7] net/i40e: fix max frame size configuration dpdklab
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).