Loading
ice: Add E830 device IDs, MAC type and registers
stable inclusion from stable-v6.6.81 commit 88f7ac6c4fceb40e667ece422bb256fb08953d29 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBWVSV CVE: CVE-2025-21883 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=88f7ac6c4fceb40e667ece422bb256fb08953d29 -------------------------------- [ Upstream commit ba1124f58afd37d9ff155d4ab7c9f209346aaed9 ] E830 is the 200G NIC family which uses the ice driver. Add specific E830 registers. Embed macros to use proper register based on (hw)->mac_type & name those macros to [ORIGINAL]_BY_MAC(hw). Registers only available on one of the macs will need to be explicitly referred to as E800_NAME instead of just NAME. PTP is not yet supported. Co-developed-by:Milena Olech <milena.olech@intel.com> Signed-off-by:
Milena Olech <milena.olech@intel.com> Co-developed-by:
Dan Nowlin <dan.nowlin@intel.com> Signed-off-by:
Dan Nowlin <dan.nowlin@intel.com> Co-developed-by:
Scott Taylor <scott.w.taylor@intel.com> Signed-off-by:
Scott Taylor <scott.w.taylor@intel.com> Co-developed-by:
Pawel Chmielewski <pawel.chmielewski@intel.com> Signed-off-by:
Pawel Chmielewski <pawel.chmielewski@intel.com> Reviewed-by:
Simon Horman <horms@kernel.org> Signed-off-by:
Paul Greenwalt <paul.greenwalt@intel.com> Tested-by:
Tony Brelinski <tony.brelinski@intel.com> Signed-off-by:
Jacob Keller <jacob.e.keller@intel.com> Link: https://lore.kernel.org/r/20231025214157.1222758-2-jacob.e.keller@intel.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Stable-dep-of: 79990cf5e7ad ("ice: Fix deinitializing VF in error path") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Ye Bin <yebin10@huawei.com>