devices: add support to check host interface offload capabilities 78/39778/9
authorMohsin Kazmi <sykazmi@cisco.com>
Tue, 31 Oct 2023 12:29:04 +0000 (12:29 +0000)
committerBeno�t Ganne <bganne@cisco.com>
Mon, 15 Jan 2024 10:01:37 +0000 (10:01 +0000)
commit159ee88ff5f97566ac2fa1dc98c6958789aa51f4
tree45214999b98496bb3715b98a451b1cbaba02178c
parent712fc0308981c61444e593d6bcc2ad62102c726d
devices: add support to check host interface offload capabilities

Type: improvement

This patch implements support to check the host interface offload
capabilities.

NOTE: this check is only done once when interface is being created.
Any changes to the cap of host interface after that will not reflect
changes to af_packet interface in VPP.

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: Ibc9953131f64f3fb3e601d34036b9f453913692a
src/plugins/af_packet/af_packet.c
src/plugins/af_packet/af_packet.h