nfp: add support for tx/rx with metadata portid
authorSimon Horman <simon.horman@netronome.com>
Fri, 23 Jun 2017 20:12:06 +0000 (22:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:42:01 +0000 (11:42 -0400)
commit91bf82ca9eed1aa3e700a1b9fcaaa7922df6a4c7
treeba192ddc98a804e88ca7ef90495262f8fe504f61
parent93da7d9660ee6117672a4a9233d80600220de675
nfp: add support for tx/rx with metadata portid

Allow tx/rx with metadata port id. This will be used for tx/rx of
representor netdevs acting as upper-devices while a pf netdev acts
as a lower-device.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c