• Sunil Goutham's avatar
    octeontx2-af: NIX Rx flowkey configuration for RSS · 41a7aa7b
    Sunil Goutham authored
    Configure NIX RX flowkey algorithm configuration to support
    RSS (receive side scaling). Currently support for only L3/L4
    2-tuple and 4-tuple hash of IPv4/v6/TCP/UDP/SCTP is added.
    HW supports upto 32 different flowkey algorithms which SW
    can define, this patch defines 9. NPC RX ACTION has to point
    to one of these flowkey indices for RSS to work.
    
    The configuration is dependent on NPC parse result's layer
    info. So if NPC KPU profile changes suchthat LID/LTYPE values
    of above said protocols change then this configuration will
    most likely be effected.
    Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    41a7aa7b
rvu_nix.c 48.4 KB