On 10/22/2025 6:12 AM, Aleksandr Loktionov wrote:
This commit implements the core RSS context management and configuration
logic for GTP (GTPU) protocol support in VF RSS operations.
Key implementation features:
- GTPU hash context management with pre/post processing functions
- Context index calculation and mapping for different GTPU scenarios
- Integration with main RSS configuration flow via wrapper functions
- Support for IPv4/IPv6 GTPU RSS configurations
- Rollback mechanism for handling RSS rule conflicts
- Hash context reset and cleanup functionality
The implementation provides comprehensive GTPU RSS support by:
1. Adding ice_add_rss_cfg_pre_gtpu() for preprocessing GTPU contexts
2. Adding ice_add_rss_cfg_post_gtpu() for postprocessing configurations
3. Adding ice_calc_gtpu_ctx_idx() for context index calculation
4. Integrating GTPU logic into ice_add_rss_cfg_wrap() and ice_rem_rss_cfg_wrap()
5. Supporting context tracking in VF hash_ctx structures
This completes the GTP RSS infrastructure enabling VFs to configure
RSS hashing on GTP-encapsulated traffic.
Missing Sign-off
---
drivers/net/ethernet/intel/ice/ice_vf_lib.h | 48 +
drivers/net/ethernet/intel/ice/virt/rss.c | 1387 +++++++++++++++++--
Also, a couple of kdoc issues:
Warning: drivers/net/ethernet/intel/ice/virt/rss.c:802 No description
found for return value of 'ice_hash_remove'
Warning: drivers/net/ethernet/intel/ice/virt/rss.c:1023 No description
found for return value of 'ice_map_ip_ctx_idx'
include/linux/avf/virtchnl.h | 30 +-
3 files changed, 1310 insertions(+), 155 deletions(-)