]> 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)
commit14fd6416de3d7006020cfa634b3a5e57d4ccd0d6
tree06a390431396401fb6df266a20475289c00d49ed
parent839bd42f671d9cdb7a515efffb50a879af4b0f6b
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