• Tirthendu Sarkar's avatar
    i40e: introduce next_to_process to i40e_ring · e9031f2d
    Tirthendu Sarkar authored
    Add a new field called next_to_process in the i40e_ring that is
    advanced for every buffer and change the semantics of next_to_clean to
    point to the first buffer of a packet. Driver will use next_to_process
    in the same way next_to_clean was used previously.
    
    For the non multi-buffer case, next_to_process and next_to_clean will
    always be the same since each packet consists of a single buffer.
    Signed-off-by: default avatarTirthendu Sarkar <tirthendu.sarkar@intel.com>
    Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
    Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
    e9031f2d
i40e_txrx.c 109 KB