| 3ff83255 | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: add raw format for 32 bytes Rx description
Add raw format for i40e_32byte_rx_desc, right now this only be used by kernel driver, the commit is just to sync with kernel driver.
Signed
net/i40e/base: add raw format for 32 bytes Rx description
Add raw format for i40e_32byte_rx_desc, right now this only be used by kernel driver, the commit is just to sync with kernel driver.
Signed-off-by: Björn Töpel <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| bc99971d | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: fix potentially uninitialized variables
The status of i40e_read_nvm_word is not checked, so variables set from this function could be used uninitialized. In this case, preserve the ex
net/i40e/base: fix potentially uninitialized variables
The status of i40e_read_nvm_word is not checked, so variables set from this function could be used uninitialized. In this case, preserve the existing flow that does not block initialization by initializing these values from the start.
Fixes: 8d6c51fcd24b ("i40e/base: get OEM version") Fixes: 2db70574247b ("net/i40e/base: limit PF/VF specific code to that driver only") Cc: [email protected]
Signed-off-by: Christopher Pau <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| 675b917b | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: add flags and fields for double VLAN
Add flags for outer VLAN and include set port parameters. Add flags, which describe port and switch state for both double VLAN functionality and o
net/i40e/base: add flags and fields for double VLAN
Add flags for outer VLAN and include set port parameters. Add flags, which describe port and switch state for both double VLAN functionality and outer VLAN processing.
Signed-off-by: Przemyslaw Patynowski <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| 6acdc426 | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: fix AOC media type
For Active Optical Cable (AOC) the correct media type is "Fibre", not "Direct Attach Copper".
Fixes: d749d4d89969 ("i40e/base: add AOC PHY types") Fixes: aa153cc89
net/i40e/base: fix AOC media type
For Active Optical Cable (AOC) the correct media type is "Fibre", not "Direct Attach Copper".
Fixes: d749d4d89969 ("i40e/base: add AOC PHY types") Fixes: aa153cc89ff0 ("net/i40e/base: add new PHY types for 25G AOC and ACC") Cc: [email protected]
Signed-off-by: Dawid Lukwinski <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| 74bd4072 | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: fix update link data for X722
The X722 card has 'Link Type' information elsewhere than the X710. Previously, for all cards, the 'Link Type' information was retrieved by opcode 0x0607
net/i40e/base: fix update link data for X722
The X722 card has 'Link Type' information elsewhere than the X710. Previously, for all cards, the 'Link Type' information was retrieved by opcode 0x0607 and this value was wrong for all X722 cards. Now this information for X722 only is taken by opcode 0x0600 (function: i40e_aq_get_phy_capabilities) instead of an opcode 0x0607 (function: i40e_aq_get_link_info). All other parameters read by opcode 0x0607 unchanged.
Fixes: e6691b428eb1 ("i40e/base: fix PHY NVM interaction") Fixes: 75c3de654ead ("net/i40e/base: fix long link down notification time") Cc: [email protected]
Signed-off-by: Jaroslaw Gawin <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| 25829b55 | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: fix PF reset
PF has to delete all the filters during reset. If it is fully loaded with filters then it is possible that it will take more than 200 ms to finish the reset resulting in
net/i40e/base: fix PF reset
PF has to delete all the filters during reset. If it is fully loaded with filters then it is possible that it will take more than 200 ms to finish the reset resulting in timeout during pf_reset and PF reset failed, -15 error indication.
Increasing the timeout value for PF reset from 200 to 1000 to give PF more time to finish reset if it is loaded with filters.
Fixes: 1e32378f0774 ("i40e/base: increase PF reset max loop limit") Cc: [email protected]
Signed-off-by: Sylwester Dziedziuch <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| dafd6c63 | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: fix PHY identifiers for 2.5G and 5G adapters
Unlike other supported adapters, 2.5G and 5G use different PHY type identifiers for reading/writing PHY settings and for reading link stat
net/i40e/base: fix PHY identifiers for 2.5G and 5G adapters
Unlike other supported adapters, 2.5G and 5G use different PHY type identifiers for reading/writing PHY settings and for reading link status. This commit introduces separate PHY identifiers for these two operation types.
Fixes: 988ed63c7441 ("net/i40e/base: add support for Carlsville device") Cc: [email protected]
Signed-off-by: Dawid Lukwinski <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| 6c751fd1 | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: define new shadow RAM pointers
Add definitions for Shadow RAM pointers: 6th FPA (Free Provisioning Area) module, 5th FPA module in X722 and Preservation Rules module.
These definitio
net/i40e/base: define new shadow RAM pointers
Add definitions for Shadow RAM pointers: 6th FPA (Free Provisioning Area) module, 5th FPA module in X722 and Preservation Rules module.
These definitions are not using by DPDK now, the purpose of this commit is to sync base code with kernel driver.
Signed-off-by: Stanislaw Grzeszczak <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| 2c4207fc | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: set TSA table values when parsing CEE config
Driver did not Set TSA (Transmit Selection Algorithm) table values when parsing CEE (Converged Enhanced Ethernet) configuration obtained f
net/i40e/base: set TSA table values when parsing CEE config
Driver did not Set TSA (Transmit Selection Algorithm) table values when parsing CEE (Converged Enhanced Ethernet) configuration obtained from FW
Signed-off-by: Pawel Malinowski <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| de38da0c | 09-Oct-2021 |
Robin Zhang <[email protected]> |
net/i40e/base: add min SRev for 4 more X722 modules
Some customers want to downgrade to an earlier FW security revision, this already implemented by FW so that customers can have more control over t
net/i40e/base: add min SRev for 4 more X722 modules
Some customers want to downgrade to an earlier FW security revision, this already implemented by FW so that customers can have more control over the security revisions they can use. FW also implemented a mechanism via NVMupdate to allow the users to accept or not a baseline Min SRev version that will limit the secure version rollback only down to that level.
This commit increments X722 API version and adds new minimal rollback revision that related to the extended implementation of Security Revision Opt-In for 4 more X722 modules.
These definitions are not using by DPDK now, the purpose of this commit is sync with latest share code.
Signed-off-by: Stanislaw Grzeszczak <[email protected]> Signed-off-by: Robin Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|