summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorShay Agroskin <shayagr@amazon.com>2020-12-08 20:02:08 +0200
committerJakub Kicinski <kuba@kernel.org>2020-12-09 15:26:40 -0800
commitf1a25589130366a96a2a0d165e9f4d9289336e9f (patch)
tree869b7a1b7f551ea214b65822c3e0e7d6f168d9f2 /crypto/algapi.c
parentf8b91f255a05c4734ab093eb93b5826499a35328 (diff)
net: ena: introduce ndo_xdp_xmit() function for XDP_REDIRECT
This patch implements the ndo_xdp_xmit() net_device function which is called when a packet is redirected to this driver using an XDP_REDIRECT directive. The function receives an array of xdp frames that it needs to xmit. The TX queues that are used to xmit these frames are the XDP queues used by the XDP_TX flow. Therefore a lock is added to synchronize both flows (XDP_TX and XDP_REDIRECT). Signed-off-by: Shay Agroskin <shayagr@amazon.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions