diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2021-02-10 12:03:53 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-03-19 14:30:50 +0000 |
commit | 5b3f523918932793254b6313f78659fe0ed6320e (patch) | |
tree | 26241978a6669b4a466e09d598cc0e83cb00825c /src/vnet/interface_output.c | |
parent | 34c54dff5c66f9a4aef77daf08219301e15cc1fa (diff) |
interface: add capabilities flags
Type: improvement
This patch adds flags to represent the modern NICs capabilities.
Change-Id: I96d38d9ab7eac55974d72795cd100d8337168e1e
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/interface_output.c')
-rw-r--r-- | src/vnet/interface_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/interface_output.c b/src/vnet/interface_output.c index d2447658983..c46868e0254 100644 --- a/src/vnet/interface_output.c +++ b/src/vnet/interface_output.c @@ -491,7 +491,7 @@ VLIB_NODE_FN (vnet_interface_output_node) vnet_interface_pcap_tx_trace (vm, node, frame, 0 /* sw_if_index_from_buffer */ ); - if (hi->flags & VNET_HW_INTERFACE_FLAG_SUPPORTS_TX_L4_CKSUM_OFFLOAD) + if (hi->caps & VNET_HW_INTERFACE_CAP_SUPPORTS_TX_CKSUM) return vnet_interface_output_node_inline (vm, node, frame, vnm, hi, /* do_tx_offloads */ 0); else |