Message ID | 20221104143102.1120076-1-michal.wilczynski@intel.com (mailing list archive) |
---|---|
Headers | show |
Series | Implement devlink-rate API and extend it | expand |
On Fri, 4 Nov 2022 15:30:53 +0100 Michal Wilczynski wrote: > .../net/ethernet/intel/ice/ice_adminq_cmd.h | 4 +- > drivers/net/ethernet/intel/ice/ice_common.c | 7 +- > drivers/net/ethernet/intel/ice/ice_dcb.c | 2 +- > drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 + > drivers/net/ethernet/intel/ice/ice_devlink.c | 483 ++++++++++++++++++ > drivers/net/ethernet/intel/ice/ice_devlink.h | 2 + > drivers/net/ethernet/intel/ice/ice_repr.c | 13 + > drivers/net/ethernet/intel/ice/ice_sched.c | 101 +++- > drivers/net/ethernet/intel/ice/ice_sched.h | 31 +- > drivers/net/ethernet/intel/ice/ice_type.h | 9 + > .../mellanox/mlx5/core/esw/devlink_port.c | 14 +- > drivers/net/netdevsim/dev.c | 9 +- > include/net/devlink.h | 18 +- > include/uapi/linux/devlink.h | 3 + > net/core/devlink.c | 133 ++++- Please provide some documentation.
On 11/5/2022 3:05 AM, Jakub Kicinski wrote: > On Fri, 4 Nov 2022 15:30:53 +0100 Michal Wilczynski wrote: >> .../net/ethernet/intel/ice/ice_adminq_cmd.h | 4 +- >> drivers/net/ethernet/intel/ice/ice_common.c | 7 +- >> drivers/net/ethernet/intel/ice/ice_dcb.c | 2 +- >> drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 + >> drivers/net/ethernet/intel/ice/ice_devlink.c | 483 ++++++++++++++++++ >> drivers/net/ethernet/intel/ice/ice_devlink.h | 2 + >> drivers/net/ethernet/intel/ice/ice_repr.c | 13 + >> drivers/net/ethernet/intel/ice/ice_sched.c | 101 +++- >> drivers/net/ethernet/intel/ice/ice_sched.h | 31 +- >> drivers/net/ethernet/intel/ice/ice_type.h | 9 + >> .../mellanox/mlx5/core/esw/devlink_port.c | 14 +- >> drivers/net/netdevsim/dev.c | 9 +- >> include/net/devlink.h | 18 +- >> include/uapi/linux/devlink.h | 3 + >> net/core/devlink.c | 133 ++++- > Please provide some documentation. I provided some documentation in v10 in ice.rst file. Unfortunately there is no devlink-rate.rst as far as I can tell and at some point we even discussed adding this with Edward, but honestly I think this could be added in a separate patch series to not unnecessarily prolong merging this. BR, Michał
On Mon, 7 Nov 2022 19:18:10 +0100 Wilczynski, Michal wrote: > I provided some documentation in v10 in ice.rst file. > Unfortunately there is no devlink-rate.rst as far as I can > tell and at some point we even discussed adding this with Edward, > but honestly I think this could be added in a separate patch > series to not unnecessarily prolong merging this. You can't reply to email and then immediately post a new version :/ How am I supposed to have a conversation with you? Extremely annoying. I'm tossing v10 from patchwork, and v11 better come with the docs :/
On 11/7/2022 7:31 PM, Jakub Kicinski wrote: > On Mon, 7 Nov 2022 19:18:10 +0100 Wilczynski, Michal wrote: >> I provided some documentation in v10 in ice.rst file. >> Unfortunately there is no devlink-rate.rst as far as I can >> tell and at some point we even discussed adding this with Edward, >> but honestly I think this could be added in a separate patch >> series to not unnecessarily prolong merging this. > You can't reply to email and then immediately post a new version :/ > How am I supposed to have a conversation with you? Extremely annoying. I'm sorry if you find this annoying, however I can't see any harm here ? I fixed some legit issues that you've pointed in v9, wrote some documentation and basically said, "I wrote some documentation in the next patchset, is it enough ?". I think it's better to get feedback for smaller commits faster, this way I send the updated patchset quickly. > > I'm tossing v10 from patchwork, and v11 better come with the docs :/ I will however create a new devlink-rate.rst file if you insist. BR, Michał
On 11/8/2022 9:08 AM, Wilczynski, Michal wrote: > > > On 11/7/2022 7:31 PM, Jakub Kicinski wrote: >> On Mon, 7 Nov 2022 19:18:10 +0100 Wilczynski, Michal wrote: >>> I provided some documentation in v10 in ice.rst file. >>> Unfortunately there is no devlink-rate.rst as far as I can >>> tell and at some point we even discussed adding this with Edward, >>> but honestly I think this could be added in a separate patch >>> series to not unnecessarily prolong merging this. >> You can't reply to email and then immediately post a new version :/ >> How am I supposed to have a conversation with you? Extremely annoying. > > I'm sorry if you find this annoying, however I can't see any harm here ? > I fixed some legit issues that you've pointed in v9, wrote some > documentation and basically said, "I wrote some documentation in > the next patchset, is it enough ?". I think it's better to get feedback > for smaller commits faster, this way I send the updated patchset > quickly. > >> >> I'm tossing v10 from patchwork, and v11 better come with the docs :/ > > I will however create a new devlink-rate.rst file if you insist. > > BR, > Michał There is however a mention about rate-object management in devlink-port.rst. Would it be okay to extend devlink-por.rstt with new attributes tx_priority, tx_weight instead of creating a new devlink-rate.rst ? BR, Michał > >
On 11/8/2022 12:08 AM, Wilczynski, Michal wrote: > > > On 11/7/2022 7:31 PM, Jakub Kicinski wrote: >> On Mon, 7 Nov 2022 19:18:10 +0100 Wilczynski, Michal wrote: >>> I provided some documentation in v10 in ice.rst file. >>> Unfortunately there is no devlink-rate.rst as far as I can >>> tell and at some point we even discussed adding this with Edward, >>> but honestly I think this could be added in a separate patch >>> series to not unnecessarily prolong merging this. >> You can't reply to email and then immediately post a new version :/ >> How am I supposed to have a conversation with you? Extremely annoying. > > I'm sorry if you find this annoying, however I can't see any harm here ? > I fixed some legit issues that you've pointed in v9, wrote some > documentation and basically said, "I wrote some documentation in > the next patchset, is it enough ?". I think it's better to get feedback > for smaller commits faster, this way I send the updated patchset > quickly. > From https://docs.kernel.org/process/maintainer-netdev.html?highlight=netdev > 2. netdev FAQ¶ > 2.1. tl;dr¶ > designate your patch to a tree - [PATCH net] or [PATCH net-next] > > for fixes the Fixes: tag is required, regardless of the tree > > don’t post large series (> 15 patches), break them up > > don’t repost your patches within one 24h period > > reverse xmas tree Giving everyone at least 24 hours per posting (if not more) helps ensure that limited reviewer time doesn't get overloaded by constantly re-reviewing the same code. It also helps ensure that everyone has a chance to look at the patches. Thanks, Jake
On 11/8/2022 5:54 PM, Jacob Keller wrote: > > > On 11/8/2022 12:08 AM, Wilczynski, Michal wrote: >> >> >> On 11/7/2022 7:31 PM, Jakub Kicinski wrote: >>> On Mon, 7 Nov 2022 19:18:10 +0100 Wilczynski, Michal wrote: >>>> I provided some documentation in v10 in ice.rst file. >>>> Unfortunately there is no devlink-rate.rst as far as I can >>>> tell and at some point we even discussed adding this with Edward, >>>> but honestly I think this could be added in a separate patch >>>> series to not unnecessarily prolong merging this. >>> You can't reply to email and then immediately post a new version :/ >>> How am I supposed to have a conversation with you? Extremely annoying. >> >> I'm sorry if you find this annoying, however I can't see any harm here ? >> I fixed some legit issues that you've pointed in v9, wrote some >> documentation and basically said, "I wrote some documentation in >> the next patchset, is it enough ?". I think it's better to get feedback >> for smaller commits faster, this way I send the updated patchset >> quickly. >> > > From > https://docs.kernel.org/process/maintainer-netdev.html?highlight=netdev > >> 2. netdev FAQ¶ >> 2.1. tl;dr¶ >> designate your patch to a tree - [PATCH net] or [PATCH net-next] >> >> for fixes the Fixes: tag is required, regardless of the tree >> >> don’t post large series (> 15 patches), break them up >> >> don’t repost your patches within one 24h period >> >> reverse xmas tree > > Giving everyone at least 24 hours per posting (if not more) helps > ensure that limited reviewer time doesn't get overloaded by constantly > re-reviewing the same code. It also helps ensure that everyone has a > chance to look at the patches. Again, I'm sorry if my actions were annoying, or seemed overly impatient. My question would be then, when I am allowed to re-post v11 ? Technically I didn't re-post my series during 24h period, I just responded to comments after re-sending a new version :(. I guess I should wait for Kuba response now, and only after getting a response re-send a v11 ? Thanks, Michał > > Thanks, > Jake
On Tue, 8 Nov 2022 09:36:01 +0100 Wilczynski, Michal wrote: > > On 11/7/2022 7:31 PM, Jakub Kicinski wrote: > >> You can't reply to email and then immediately post a new version :/ > >> How am I supposed to have a conversation with you? Extremely annoying. > > > > I'm sorry if you find this annoying, however I can't see any harm here ? > > I fixed some legit issues that you've pointed in v9, wrote some > > documentation and basically said, "I wrote some documentation in > > the next patchset, is it enough ?". I think it's better to get feedback > > for smaller commits faster, this way I send the updated patchset > > quickly. Perhaps spending some time reading the list would help you understand what normal development upstream looks like. Posting the N + 1 version of a patch set and then replying to comments on version N is confusing because it's impossible to decide where the conversation is taking place. Should I reply to you on version N or reply to N + 1 even tho there I can't quote your reply. And will the maintainer who's applying the patches understand that N + 1 got rejected if the discussion is happening under the thread of version N? Perhaps one has to read the list to appreciate the challenges involved. > >> I'm tossing v10 from patchwork, and v11 better come with the docs :/ > > > > I will however create a new devlink-rate.rst file if you insist. > > There is however a mention about rate-object management in > devlink-port.rst. Would it be okay to extend devlink-por.rstt with new > attributes tx_priority, tx_weight instead of creating a new > devlink-rate.rst ? Sounds good, but please make sure you describe the interaction between the params and the algorithm. We don't have a SW implementation like we have for qdiscs here, and we don't want each vendor to be coming up with their own interpretation of the arguments. So we need solid docs, and some pseudo code to describe the behavior, perhaps? Let me ask some extra questions on the doc.