diff options
author | Andre Guedes <[email protected]> | 2021-04-22 23:25:50 -0700 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-05-20 10:17:06 -0700 |
commit | 4609ffb9f6157880e76c038f8df4fbf4e148a41a (patch) | |
tree | 791119b099d994270d4c8e93ecb0e7794f2306c8 /tools/perf/scripts/python/intel-pt-events.py | |
parent | f485164867d3b960e811d94fc83e12d5a687ef05 (diff) |
igc: Refactor XDP rxq info registration
Refactor XDP rxq info registration code, preparing the driver for AF_XDP
zero-copy support which is added by upcoming patches.
Currently, xdp_rxq and memory model are both registered during RX
resource setup time by igc_xdp_register_rxq_info() helper. With AF_XDP,
we want to register the memory model later on while configuring the ring
because we will know which memory model type to register
(MEM_TYPE_PAGE_SHARED or MEM_TYPE_XSK_BUFF_POOL).
The helpers igc_xdp_register_rxq_info() and igc_xdp_unregister_rxq_
info() are not useful anymore so they are removed.
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