]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: flower: tidy tunnel related private data
authorJohn Hurley <john.hurley@netronome.com>
Wed, 16 Jan 2019 03:06:53 +0000 (19:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2019 23:23:15 +0000 (15:23 -0800)
commit1b91176ae8488ae72b4e46344349c9b200c54fc0
tree06a390431396401fb6df266a20475289c00d49ed
parenta7578051da7a0ce1a38dd38730e2c0e18cc201fb
nfp: flower: tidy tunnel related private data

Recent additions to the flower app private data have grouped the variables
of a given feature into a struct and added that struct to the main private
data struct.

In keeping with this, move all tunnel related private data to their own
struct. This has no affect on functionality but improves readability and
maintenance of the code.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/main.h
drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c