diff options
author | Ahmed Zaki <ahmed.zaki@intel.com> | 2023-12-12 17:33:19 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-13 22:07:17 -0800 |
commit | b1f5921a99ac8dedadf1f2599486b2ca9e01cc0f (patch) | |
tree | 6e9ca4697c61ec6bdc5bdde8ca7a3f29ee94f91c /drivers/net/ethernet/intel/ice/ice_flex_pipe.h | |
parent | dc6e44c9d6d68e8aa5de78d15f43f93145719b72 (diff) | |
download | linux-b1f5921a99ac8dedadf1f2599486b2ca9e01cc0f.tar.gz linux-b1f5921a99ac8dedadf1f2599486b2ca9e01cc0f.tar.bz2 linux-b1f5921a99ac8dedadf1f2599486b2ca9e01cc0f.zip |
ice: refactor the FD and RSS flow ID generation
The flow director and RSS blocks use separate methods to generate a
unique 64 bit ID for the flow. This is not extendable, especially for
the RSS that already uses all 64 bit space.
Refactor the flow generation API so that the ID is generated within
ice_flow_add_prof(). The FD and RSS blocks caches the generated ID for
later use.
Suggested-by: Dan Nowlin <dan.nowlin@intel.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Ahmed Zaki <ahmed.zaki@intel.com>
Link: https://lore.kernel.org/r/20231213003321.605376-7-ahmed.zaki@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_flex_pipe.h')
0 files changed, 0 insertions, 0 deletions