summaryrefslogtreecommitdiff
path: root/lib/netdev-provider.h
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@samsung.com>2017-12-14 14:59:25 +0300
committerIan Stokes <ian.stokes@intel.com>2017-12-20 21:07:46 +0000
commitb30896c9696c0c6b3ac252f5db09f5d7e2f10660 (patch)
tree38f7cd16cdbb1279bf022adc3f873cb1eedb9bf7 /lib/netdev-provider.h
parent009e0033dc6185941205860f5ef3e7d703828ab0 (diff)
downloadopenvswitch-b30896c9696c0c6b3ac252f5db09f5d7e2f10660.tar.gz
netdev: Remove unused may_steal.
Not needed anymore because 'may_steal' already handled on dpif-netdev layer and always true. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ian Stokes <ian.stokes@intel.com
Diffstat (limited to 'lib/netdev-provider.h')
-rw-r--r--lib/netdev-provider.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h
index 1720deb53..3d9f3365d 100644
--- a/lib/netdev-provider.h
+++ b/lib/netdev-provider.h
@@ -348,9 +348,8 @@ struct netdev_class {
* If the function returns a non-zero value, some of the packets might have
* been sent anyway.
*
- * If 'may_steal' is false, the caller retains ownership of all the
- * packets. If 'may_steal' is true, the caller transfers ownership of all
- * the packets to the network device, regardless of success.
+ * The caller transfers ownership of all the packets to the network
+ * device, regardless of success.
*
* If 'concurrent_txq' is true, the caller may perform concurrent calls
* to netdev_send() with the same 'qid'. The netdev provider is responsible
@@ -370,7 +369,7 @@ struct netdev_class {
* datapath". It will also prevent the OVS implementation of bonding from
* working properly over 'netdev'.) */
int (*send)(struct netdev *netdev, int qid, struct dp_packet_batch *batch,
- bool may_steal, bool concurrent_txq);
+ bool concurrent_txq);
/* Registers with the poll loop to wake up from the next call to
* poll_block() when the packet transmission queue for 'netdev' has