forked from openvswitch/ovs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev: avoid unnecessary packet batch refilling in netdev feature check
Jira: ENTNET-1983 Before sending packets on netdev, feature compatibility is always checked and incompatible traffic should be dropped. But, packet batch is refilled even when no packet needs to be dropped. This patch improves it by keeping the original batch if no packet should be dropped. Change-Id: I0a67d2a9e3788cef6c18ca2266e5b7e2f2c7db58 Signed-off-by: Yanqin Wei <Yanqin.Wei@arm.com>
- Loading branch information
Yanqin Wei
authored and
Yanqin Wei
committed
May 27, 2020
1 parent
3423cd9
commit 501b40d
Showing
2 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters