summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-06-05 17:01:53 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-07 12:51:41 -0400
commit21537bc7019a4dfd5c6f615a235e0b171ef3dda8 (patch)
tree8cef9720ef77b27cec70344afba003ebc08fbcc8 /net/switchdev/switchdev.c
parent73e253f0e5d7557650159ecfac5b2653b6d02cf0 (diff)
nfp: don't clutter init code passing fw_ver around
Reading fw version from the BAR is trivial. Don't pass it around through layers of init functions, simply read it again where needed. This commit has the side effect of each vNIC having the exact NFD version from its own control memory, rather than all data vNICs assuming the version of the first one. This should not result in user-visible changes, though. Capabilities of data vNICs of trival apps are identical. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions