]> 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)
commitfb697a381e79ffab0b62dcacba4e52944e08cdb1
tree01e0720ccdcfe4eab132d3ddfc60997716c40f1f
parent1698153b4e1849f5347d27c5fc8f1a5c3f45ad3d
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