[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251114160304.2576306-1-gregory.herrero@oracle.com>
Date: Fri, 14 Nov 2025 17:03:03 +0100
From: gregory.herrero@...cle.com
To: aleksandr.loktionov@...el.com, anthony.l.nguyen@...el.com,
przemyslaw.kitszel@...el.com, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com
Cc: intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Gregory Herrero <gregory.herrero@...cle.com>
Subject: [PATCH v3 0/1] i40e: additional safety check
From: Gregory Herrero <gregory.herrero@...cle.com>
On code inspection, I realized we may want to check ring_len parameter
against hardware specific values in i40e_config_vsi_tx_queue() and
i40e_config_vsi_rx_queue().
v3:
- drop trailing period from the subject
- reword commit description
- remove u32 cast in i40e_config_vsi_rx_queue()
v2:
- make i40e_get_max_num_descriptors() 'pf' argument const.
- reword i40e_get_max_num_descriptors() description.
- modify commit description to explain potential behavior change.
Gregory Herrero (1):
i40e: validate ring_len parameter against hardware-specific values
drivers/net/ethernet/intel/i40e/i40e.h | 17 +++++++++++++++++
drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 12 ------------
.../net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 4 ++--
3 files changed, 19 insertions(+), 14 deletions(-)
--
2.51.0
Powered by blists - more mailing lists