]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: store dma direction in data path structure
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 10 Mar 2017 18:38:35 +0000 (10:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:43:19 +0000 (23:43 -0700)
commitcdf578802fc67e2ac4a3c32bb0d46232c1edf532
tree01e0720ccdcfe4eab132d3ddfc60997716c40f1f
parent61caee1ac1b1647abf6b6d3cf5d4ce98318ca0d3
nfp: store dma direction in data path structure

Instead of testing if xdp_prog is present store the dma direction
in data path structure.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c