On 11/8/2018 3:15 PM, David Miller wrote:
> From: Amritha Nambiar <amritha.namb...@intel.com>
> Date: Wed, 07 Nov 2018 13:22:42 -0800
> 
>> diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
>> index 401d0c1..b63c3cf 100644
>> --- a/include/uapi/linux/pkt_cls.h
>> +++ b/include/uapi/linux/pkt_cls.h
>> @@ -405,6 +405,11 @@ enum {
>>      TCA_FLOWER_KEY_UDP_SRC,         /* be16 */
>>      TCA_FLOWER_KEY_UDP_DST,         /* be16 */
>>  
>> +    TCA_FLOWER_KEY_PORT_SRC_MIN,    /* be16 */
>> +    TCA_FLOWER_KEY_PORT_SRC_MAX,    /* be16 */
>> +    TCA_FLOWER_KEY_PORT_DST_MIN,    /* be16 */
>> +    TCA_FLOWER_KEY_PORT_DST_MAX,    /* be16 */
>> +
>>      TCA_FLOWER_FLAGS,
>>      TCA_FLOWER_KEY_VLAN_ID,         /* be16 */
>>      TCA_FLOWER_KEY_VLAN_PRIO,       /* u8   */
>> @@ -518,6 +523,8 @@ enum {
> 
> I don't think you can do this without breaking UAPI, this changes the
> value of TCA_FLOWER_FLAGS and all subsequent values in this
> enumeration.
> 

Will move the new fields to the bottom of the enum in v3.

Reply via email to