]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
liquidio: synchronize VF representor names with NIC firmware
authorVijaya Mohan Guvva <vijaya.guvva@cavium.com>
Wed, 1 Nov 2017 23:19:49 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 08:04:06 +0000 (17:04 +0900)
commite20f469660ad526fcd9bf865e30ee491ae4e4a86
treeee67df0bb1489779995c3cc4dc3636f6388a382b
parent74b200d566f1d6367ffba7c467dfd2626779f79f
liquidio: synchronize VF representor names with NIC firmware

LiquidIO firmware supports a vswitch that needs to know the names of the
VF representors in the host to maintain compatibility for direct
programming using external Openflow agents.  So, for each VF representor,
send its name to the firmware when it gets registered and when its name
changes.

Signed-off-by: Vijaya Mohan Guvva <vijaya.guvva@cavium.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c
drivers/net/ethernet/cavium/liquidio/lio_vf_rep.h
drivers/net/ethernet/cavium/liquidio/liquidio_common.h