[PATCH v1 07/14] net/zxdh: get flow tables resources
Stephen Hemminger
stephen at networkplumber.org
Mon Feb 10 18:35:57 CET 2025
On Mon, 10 Feb 2025 09:50:10 +0800
Bingbin Chen <chen.bingbin at zte.com.cn> wrote:
> +static uint32_t
> +zxdh_np_get_se_buff_size(uint32_t opr)
> +{
> + uint32_t buff_size = 0;
> +
> + switch (opr) {
> + case ZXDH_HASH_FUNC_BULK_REQ:
> + {
> + buff_size = sizeof(ZXDH_NP_SE_HASH_FUNC_BULK_T);
> + break;
> + }
C does not require each case to have { }
More information about the dev
mailing list