Re: [PATCH 1/2] IB/uverbs: Move enum ib_raw_packet_caps to uapi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 20, 2022 at 01:03:50AM +0800, Xiao Yang wrote:
> diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h
> index 7ee73a0652f1..0660405ca2cb 100644
> +++ b/include/uapi/rdma/ib_user_verbs.h
> @@ -1298,4 +1298,11 @@ struct ib_uverbs_ex_modify_cq {
>  
>  #define IB_DEVICE_NAME_MAX 64
>  
> +enum ib_uverbs_raw_packet_caps {
> +	IB_UVERBS_RAW_PACKET_CAP_CVLAN_STRIPPING	= (1 << 0),
> +	IB_UVERBS_RAW_PACKET_CAP_SCATTER_FCS		= (1 << 1),
> +	IB_UVERBS_RAW_PACKET_CAP_IP_CSUM		= (1 << 2),
> +	IB_UVERBS_RAW_PACKET_CAP_DELAY_DROP		= (1 << 3),
> +};

Doesn't need the () but it is OK otheriwse

Thanks,
Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux