• Sunil Goutham's avatar
    octeontx2-pf: Cleanup flow rule management · 9917060f
    Sunil Goutham authored
    Current MCAM allocation scheme allocates a single lot of
    MCAM entries for ntuple filters, unicast filters and VF VLAN
    rules. This patch attempts to cleanup this logic by segregating
    MCAM rule allocation and management for Ntuple rules and unicast,
    VF VLAN rules. This segregation will result in reusing most of
    the logic for supporting ntuple filters for VF devices.
    
    Also added debug messages for MCAM entry allocation failures.
    Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9917060f
otx2_common.h 22.3 KB