summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2017-04-24 03:30:18 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-04-29 19:58:07 -0700
commit33fdc82f08835de4c39a00657742f5b11db00d32 (patch)
tree755025754243e09f365c8c36d4cae1f9fb1e3e44 /ipc
parent9247080816297de4e31abb684939c0e53e3a8a67 (diff)
downloadop-kernel-dev-33fdc82f08835de4c39a00657742f5b11db00d32.zip
op-kernel-dev-33fdc82f08835de4c39a00657742f5b11db00d32.tar.gz
ixgbe: add support for XDP_TX action
A couple design choices were made here. First I use a new ring pointer structure xdp_ring[] in the adapter struct instead of pushing the newly allocated XDP TX rings into the tx_ring[] structure. This means we have to duplicate loops around rings in places we want to initialize both TX rings and XDP rings. But by making it explicit it is obvious when we are using XDP rings and when we are using TX rings. Further we don't have to do ring arithmatic which is error prone. As a proof point for doing this my first patches used only a single ring structure and introduced bugs in FCoE code and macvlan code paths. Second I am aware this is not the most optimized version of this code possible. I want to get baseline support in using the most readable format possible and then once this series is included I will optimize the TX path in another series of patches. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud