aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <[email protected]>2018-01-03 11:25:54 +0100
committerAlexei Starovoitov <[email protected]>2018-01-05 15:21:21 -0800
commit27e95e3648910c81a0840aa10dde77323795519e (patch)
treecec5f0d7df6f8a3534cf13f8bce195840b3ab90b /tools/perf/scripts/python/event_analyzing_sample.py
parent7f1c684a8966d19177a0440113a39007f95af38d (diff)
thunderx: setup xdp_rxq_info
This driver uses a bool scheme for "enable"/"disable" when setting up different resources. Thus, the hook points for xdp_rxq_info is done in the same function call nicvf_rcv_queue_config(). This is activated through enable/disable via nicvf_config_data_transfer(), which is tied into nicvf_stop()/nicvf_open(). Extending driver packet handler call-path nicvf_rcv_pkt_handler() with a pointer to the given struct rcv_queue, in-order to access the xdp_rxq_info data area (in nicvf_xdp_rx()). V2: Driver have no proper error path for failed XDP RX-queue info reg, as nicvf_rcv_queue_config is a void function. Cc: [email protected] Cc: Sunil Goutham <[email protected]> Cc: Robert Richter <[email protected]> Signed-off-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions