• Jakub Kicinski's avatar
    Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue · 861f34e6
    Jakub Kicinski authored
    Tony Nguyen says:
    
    ====================
    ice: Switch API optimizations
    
    Marcin Szycik says:
    
    Optimize the process of creating a recipe in the switch block by removing
    duplicate switch ID words and changing how result indexes are fitted into
    recipes. In many cases this can decrease the number of recipes required to
    add a certain set of rules, potentially allowing a more varied set of rules
    to be created. Total rule count will also increase, since less words will
    be left unused/wasted. There are only 64 rules available in total, so every
    one counts.
    
    After this modification, many fields and some structs became unused or were
    simplified, resulting in overall simpler implementation.
    
    * '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue:
      ice: Add tracepoint for adding and removing switch rules
      ice: Remove unused members from switch API
      ice: Optimize switch recipe creation
      ice: remove unused recipe bookkeeping data
      ice: Simplify bitmap setting in adding recipe
      ice: Remove reading all recipes before adding a new one
      ice: Remove unused struct ice_prot_lkup_ext members
    ====================
    
    Link: https://patch.msgid.link/20240711181312.2019606-1-anthony.l.nguyen@intel.com
    
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    861f34e6
ice_common.c 171 KB