liquidio: get rid of false alarm "Unknown cmd 27" in dmesg
commit641da8ed3d8c54a5357d85a0f18d1d537c4205b9
authorFelix Manlunas <felix.manlunas@cavium.com>
Fri, 27 Oct 2017 21:37:03 +0000 (27 14:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 03:12:33 +0000 (29 12:12 +0900)
tree9c1eefc87f75bebe98bc74ac804fca073b462175
parenta6fb6aa3cfa9047b62653dbcfc9bcde6e2272b41
liquidio: get rid of false alarm "Unknown cmd 27" in dmesg

Creating a macvtap interface with the liquidio VF driver as lower device
causes this alarming message to show up in dmesg:

    liquidio_link_ctrl_cmd_completion Unknown cmd 27

That's actually a false alarm because cmd 27 is the value of the macro
OCTNET_CMD_SET_UC_LIST which is known.  It's a control command sent from
host to NIC firmware to set the unicast MAC address list of the macvtap
lower device.

Make the false alarm go away by adding a case for OCTNET_CMD_SET_UC_LIST
in liquidio_link_ctrl_cmd_completion().

Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_core.c