OSDN Git Service

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)
commitf3b975778c176b01eba10f869a5a64c6b8550c23
tree06a390431396401fb6df266a20475289c00d49ed
parent467322e2627f863c8b48b0229674d9a22027e559
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