Bug 26 - Ixgbe driver does not ensure FWSM firmware mode is valid before using it
Summary: Ixgbe driver does not ensure FWSM firmware mode is valid before using it
Status: RESOLVED WONTFIX
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: unspecified
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Konstantin Ananyev
URL:
Depends on:
Blocks:
 
Reported: 2018-04-01 15:43 CEST by Solal Pirelli
Modified: 2020-12-25 07:03 CET (History)
3 users (show)



Attachments

Description Solal Pirelli 2018-04-01 15:43:13 CEST
The Intel 82599 data sheet (https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/82599-10-gbe-controller-datasheet.pdf, §8.2.3.4.10) states of the FWSM register's bit 15 (FW_Val_bit) that "Hardware clears this bit in reset de-assertion so software can know firmware mode (bits 1-5) is invalid".

However, the ixgbe driver does not check that bit before using the firmware mode, e.g. in ixgbe_mng_present (http://dpdk.org/browse/dpdk/tree/drivers/net/ixgbe/base/ixgbe_common.c?h=v18.02#n5194).
Comment 1 Ajit Khaparde 2018-08-30 10:52:33 CEST
Konstantin, One more to check. Thanks
Comment 2 Steve Yang 2020-12-25 07:03:37 CET
ixgbe driver doesn’t do some bit check just like indicated in ixgbe data sheet before doing something, but not functional bugs. Looks like FW/HW is robust enough, nothing needs to be changed.

Note You need to log in before you can comment on or make changes to this bug.