All of lore.kernel.org
 help / color / mirror / Atom feed
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 v5 1/8]i40e:support VxLAN packet identification in librte_ether
Date: Thu, 16 Oct 2014 19:07:41 +0200	[thread overview]
Message-ID: <2704728.hMKqjFbCSn@xps13> (raw)
In-Reply-To: <1413006935-22535-2-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

2014-10-11 13:55, Jijiang Liu:
> Add data structures and APIs in librte_ether for supporting tunneling UDP port configuration on i40e,
> Currently, only VxLAN is implemented, which include
>  -  VxLAN UDP port initialization
>  -  Add APIs to configure VxLAN UDP port

Please could you explain in the commit log how it is related to filtering?

[...]

> + /**
> + * Add tunneling UDP port configuration of Ethernet device

tunneling UDP or UDP tunneling?

Please, explain what the device could do with these informations.
Offloading? Filtering?

> + *
> + * @param port_id
> + *   The port identifier of the Ethernet device.
> + * @param tunnel_udp
> + *   Where to store the current Tunneling UDP configuration
> + *   of the Ethernet device.

Many words are useless here.
"UDP tunneling configuration" should be sufficient.

> + * @param count
> + *   How many configurations are going to added.

It's a verbose commenting style, but why not.
Typo: "to be added".

> + *
> + * @return
> + *   - (0) if successful.
> + *   - (-ENODEV) if port identifier is invalid.
> + *   - (-ENOTSUP) if hardware doesn't support tunnel type.
> + */
> +int
> +rte_eth_dev_udp_tunnel_add(uint8_t port_id,
> +			struct rte_eth_udp_tunnel *tunnel_udp,
> +			uint8_t count);

Thanks
-- 
Thomas

  parent reply	other threads:[~2014-10-16 17:07 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11  5:55 [PATCH v5 0/8]Support VxLAN on Fortville Jijiang Liu
     [not found] ` <1413006935-22535-1-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-11  5:55   ` [PATCH v5 1/8]i40e:support VxLAN packet identification in librte_ether Jijiang Liu
     [not found]     ` <1413006935-22535-2-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-16 17:07       ` Thomas Monjalon [this message]
2014-10-11  5:55   ` [PATCH v5 2/8]i40e:support VxLAN packet identification in librte_pmd_i40e Jijiang Liu
     [not found]     ` <1413006935-22535-3-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-13 16:12       ` De Lara Guarch, Pablo
     [not found]         ` <E115CCD9D858EF4F90C690B0DCB4D8972262B817-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-16 10:19           ` De Lara Guarch, Pablo
2014-10-16 19:56       ` Thomas Monjalon
2014-10-17  5:58         ` Liu, Jijiang
     [not found]           ` <1ED644BD7E0A5F4091CF203DAFB8E4CC01D776A2-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-17  7:39             ` Thomas Monjalon
2014-10-20  1:25               ` Liu, Jijiang
2014-10-11  5:55   ` [PATCH v5 3/8]app/test-pmd:test VxLAN packet identification Jijiang Liu
     [not found]     ` <1413006935-22535-4-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-16 20:01       ` Thomas Monjalon
2014-10-17  5:23         ` Liu, Jijiang
     [not found]           ` <1ED644BD7E0A5F4091CF203DAFB8E4CC01D77681-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-17  7:41             ` Thomas Monjalon
2014-10-11  5:55   ` [PATCH v5 4/8]librte_ether:add a common filter API Jijiang Liu
     [not found]     ` <1413006935-22535-5-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-15 16:01       ` De Lara Guarch, Pablo
     [not found]         ` <E115CCD9D858EF4F90C690B0DCB4D8972262C26F-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-16  1:24           ` Liu, Jijiang
2014-10-16 12:41       ` De Lara Guarch, Pablo
2014-10-16 20:09       ` Thomas Monjalon
2014-10-17  6:53         ` Liu, Jijiang
     [not found]           ` <1ED644BD7E0A5F4091CF203DAFB8E4CC01D776DD-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-17  7:47             ` Thomas Monjalon
2014-10-20  1:22               ` Liu, Jijiang
2014-10-11  5:55   ` [PATCH v5 5/8]i40e:implement API of VxLAN packet filter in librte_pmd_i40e Jijiang Liu
2014-10-11  5:55   ` [PATCH v5 6/8]app/testpmd:test VxLAN packet filter API Jijiang Liu
2014-10-11  5:55   ` [PATCH v5 7/8]i40e:support VxLAN Tx checksum offload Jijiang Liu
     [not found]     ` <1413006935-22535-8-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-16 20:34       ` Thomas Monjalon
2014-10-17  5:20         ` Liu, Jijiang
2014-10-11  5:55   ` [PATCH v5 8/8]app/testpmd:test " Jijiang Liu
2014-10-11  7:28   ` [PATCH v5 0/8]Support VxLAN on Fortville Liu, Yong
     [not found]     ` <86228AFD5BCD8E4EBFD2B90117B5E81E10CE5A29-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-11  7:56       ` Liu, Yong
     [not found]         ` <86228AFD5BCD8E4EBFD2B90117B5E81E10CE5A77-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-16 20:18           ` Thomas Monjalon

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=2704728.hMKqjFbCSn@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.