From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Jijiang Liu <jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH] librte_ether:change rte_eth_mac_filter structure
Date: Fri, 31 Oct 2014 10:24:15 +0100 [thread overview]
Message-ID: <1550663.1Z4EX83Uic@xps13> (raw)
In-Reply-To: <1414722382-14807-1-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-31 10:26, Jijiang Liu:
> As the filter type in i40e is defined enum type, so this patch changes
> the filter_type filed in the rte_eth_mac_filter for fixing the compilation
> error under ICC compiler.
Commit log is wrong. It's not because of i40e, it's only an API problem.
But I know you mix i40e and generic API.
> Signed-off-by: Jijiang Liu <jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> --- a/lib/librte_ether/rte_eth_ctrl.h
> +++ b/lib/librte_ether/rte_eth_ctrl.h
> @@ -91,7 +91,7 @@ enum rte_mac_filter_type {
> struct rte_eth_mac_filter {
> uint8_t is_vf; /**< 1 for VF, 0 for port dev */
> uint16_t dst_id; /**<VF ID, available when is_vf is 1*/
> - uint16_t filter_type; /**< MAC filter type */
> + enum rte_mac_filter_type filter_type; /**< MAC filter type */
> struct ether_addr mac_addr;
> };
I didn't catch this error during my review. That's why we need more eyes to
carefully review patches.
Acked and applied
Thanks
--
Thomas
prev parent reply other threads:[~2014-10-31 9:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-31 2:26 [PATCH] librte_ether:change rte_eth_mac_filter structure Jijiang Liu
[not found] ` <1414722382-14807-1-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-31 9:24 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1550663.1Z4EX83Uic@xps13 \
--to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.