diff options
author | Andre Guedes <[email protected]> | 2021-04-22 23:25:53 -0700 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-05-20 10:21:24 -0700 |
commit | 859b4dfa4115d11aa1fda7d0628a93a9d61a7c46 (patch) | |
tree | 4af1a230a63605b43541006209761af3bc263dde /tools/perf/scripts/python/intel-pt-events.py | |
parent | 6123429516c7fc6a7ee2f0a9dbef8c0c16ffb7cc (diff) |
igc: Replace IGC_TX_FLAGS_XDP flag by an enum
Up to this point, Tx buffers are associated with either a skb or a xdpf,
and the IGC_TX_FLAGS_XDP flag was enough to distinguish between these
two case. However, with upcoming patches that will add AF_XDP zero-copy
support, a third case will be introduced so this flag-based approach
won't fit well.
In preparation to land AF_XDP zero-copy support, replace the
IGC_TX_FLAGS_XDP flag by an enum which will be extended once zero-copy
support is introduced to the driver.
Signed-off-by: Andre Guedes <[email protected]>
Signed-off-by: Vedang Patel <[email protected]>
Signed-off-by: Jithu Joseph <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Tested-by: Dvora Fuxbrumer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions