• Ioana Ciornei's avatar
    dpaa2-eth: add bulking to XDP_TX · 74a1c059
    Ioana Ciornei authored
    Add driver level bulking to the XDP_TX action.
    
    An array of frame descriptors is held for each Tx frame queue and
    populated accordingly when the action returned by the XDP program is
    XDP_TX. The frames will be actually enqueued only when the array is
    filled. At the end of the NAPI cycle a flush on the queued frames is
    performed in order to enqueue the remaining FDs.
    Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    74a1c059
dpaa2-eth.h 14.7 KB