[dpdk-dev] [PATCH 3/3] kni: set initial value for MTU
Ferruh Yigit
ferruh.yigit at intel.com
Fri Dec 22 23:01:45 CET 2017
On 11/30/2017 3:46 AM, Hemant Agrawal wrote:
> Configure initial application provided mtu on the KNI interface.
>
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
<...>
> @@ -95,6 +95,7 @@ struct rte_kni_conf {
> struct rte_pci_addr addr;
> struct rte_pci_id id;
> char mac_addr[ETHER_ADDR_LEN]; /* MAC address assigned to KNI */
> + uint16_t mtu;
Same issue here, adding a new field into middle of the public struct.
I think it would be OK to add to the end, but to be sure would you please run
ABI check script (validate-abi.sh) after adding to the end?
Thanks,
ferruh
>
> __extension__
> uint8_t force_bind : 1; /* Flag to bind kernel thread */
>
More information about the dev
mailing list