diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2018-01-03 11:25:54 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-01-05 15:21:21 -0800 |
commit | 27e95e3648910c81a0840aa10dde77323795519e (patch) | |
tree | cec5f0d7df6f8a3534cf13f8bce195840b3ab90b /drivers/net/tun.c | |
parent | 7f1c684a8966d19177a0440113a39007f95af38d (diff) | |
download | op-kernel-dev-27e95e3648910c81a0840aa10dde77323795519e.zip op-kernel-dev-27e95e3648910c81a0840aa10dde77323795519e.tar.gz |
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: linux-arm-kernel@lists.infradead.org
Cc: Sunil Goutham <sgoutham@cavium.com>
Cc: Robert Richter <rric@kernel.org>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions