summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-03-10 10:38:34 -0800
committerDavid S. Miller <davem@davemloft.net>2017-03-12 23:43:19 -0700
commit892a7f700b361882105739632ccbd6ceb848c21d (patch)
treea18225c3d7fd55ccc2b31483a56d1517d363c7fa /drivers/bus
parent9dc6b116e21b9ff258334c09d78ce26caa5ade45 (diff)
nfp: switch to using data path structures for reconfiguration
Instead of passing around sets of rings and their parameters just store all information in the data path structure. We will no longer user xchg() on XDP programs when we swap programs while the traffic is guaranteed not to be flowing. This allows us to simply assign the entire data path structures instead of copying field by field. The optimization to reallocate only the rings on the side (RX/TX) which has been changed is also removed since it seems like it's not worth the code complexity. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions