diff options
author | Simon Horman <simon.horman@netronome.com> | 2017-06-23 22:12:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-25 11:42:01 -0400 |
commit | 91bf82ca9eed1aa3e700a1b9fcaaa7922df6a4c7 (patch) | |
tree | ba192ddc98a804e88ca7ef90495262f8fe504f61 /drivers/net/ethernet/netronome/nfp/nfp_net.h | |
parent | 93da7d9660ee6117672a4a9233d80600220de675 (diff) | |
download | lwn-91bf82ca9eed1aa3e700a1b9fcaaa7922df6a4c7.tar.gz lwn-91bf82ca9eed1aa3e700a1b9fcaaa7922df6a4c7.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_net.h')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/nfp_net.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net.h b/drivers/net/ethernet/netronome/nfp/nfp_net.h index b7446793106d..b1fa77bd708b 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_net.h +++ b/drivers/net/ethernet/netronome/nfp/nfp_net.h @@ -318,6 +318,7 @@ struct nfp_meta_parsed { u8 csum_type; u32 hash; u32 mark; + u32 portid; __wsum csum; }; |