Skip to content

i40e: additional safety check

[email protected] intel-wired-lan lkml netdev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest1 patch 2 repliesIn review
  2. v41 patch 6 repliesSuperseded
  3. v31 patch 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch2 repliesSuperseded
v10 of 1 patch0 repliesSuperseded

Changes in v5 from the cover letter

- use "hardware-dependent" in commit description
- add Tested-by: Rafal Romanowski <[email protected]>
- get rid of i40e_get_max_num_descriptors() documentation as it's self explanatory v4:
- remove u32 cast in i40e_config_vsi_tx_queue() too and don't mention it anymore in commit description.
- wrap i40e_get_max_num_descriptors() description

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1i40e: validate ring_len parameter against hardware-specific valuesdrivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_ethtool.c drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c+13 -141 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchRafal RomanowskiAleksandr Loktionov
1/1T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/1] i40e: additional safety check

From: Gregory Herrero <[email protected]>

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().

v5:
- use "hardware-dependent" in commit description
- add Tested-by: Rafal Romanowski <[email protected]>
- get rid of i40e_get_max_num_descriptors() documentation as it's self explanatory v4:
- remove u32 cast in i40e_config_vsi_tx_queue() too and don't mention it anymore in commit description.
- wrap i40e_get_max_num_descriptors() description
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             | 11 +++++++++++
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c     | 12 ------------
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c |  4 ++--
 3 files changed, 13 insertions(+), 14 deletions(-)
Signature · 1 line
2.51.0