diff options
author | Martin <martin.varghese@nokia.com> | 2020-06-28 23:18:23 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-28 20:48:20 -0700 |
commit | fe80536acf8397827be77f9b8ada384b90e790d0 (patch) | |
tree | 16ea20ba97db6c96f59f537b007516238bbfde42 /include/net | |
parent | 8930449628f7f66a0d368ff9eb92146f7f424431 (diff) |
bareudp: Added attribute to enable & disable rx metadata collection
Metadata need not be collected in receive if the packet from bareudp
device is not targeted to openvswitch.
Signed-off-by: Martin <martin.varghese@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bareudp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bareudp.h b/include/net/bareudp.h index dc65a0d71d9b..3dd5f9a8d01c 100644 --- a/include/net/bareudp.h +++ b/include/net/bareudp.h @@ -12,6 +12,7 @@ struct bareudp_conf { __be16 port; u16 sport_min; bool multi_proto_mode; + bool rx_collect_metadata; }; struct net_device *bareudp_dev_create(struct net *net, const char *name, |