Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3105135lqt; Tue, 23 Apr 2024 10:21:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJDPSOKlbHuDWorNehmvx1ncm6AzLdOdJBk1lkqYA4e0JIgTvclWMpDUeCAhEh9taLK3QMHwro116Zst5q5mlU9CRLjFa1Bm+hmxcRcA== X-Google-Smtp-Source: AGHT+IF9N4MagyDBz4D1XqFuS8OdqEmSYQ1bsGS6PljGxN6oZjO0XyVRj+wMnF/gssxasgnadiQZ X-Received: by 2002:a05:6512:4025:b0:519:56ab:eeb0 with SMTP id br37-20020a056512402500b0051956abeeb0mr160592lfb.45.1713892919746; Tue, 23 Apr 2024 10:21:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713892919; cv=pass; d=google.com; s=arc-20160816; b=F5ij2kAtahF4M9QX/1XXi7gMaM/s21TzmjdLGlpcHNNx2vywTVTskm/sn3dttfHKWH SFqB1YCORGHxCnoHcC2jVUwaYaxm14gdor3YIE0tD2mcrI3r5GC724j6ijQnEk2qpkr4 I8V9iFR2S32trJnu78aAH3UF+U4wsAvXCaYAhlECggn/Dx4DalpBS2U6kCjt2loF1JI3 61oQv/8wZWTXM4GSbok2x7T3KUGc2bgXQWp2Li7fLheEs/cSoM2y+Id4VTF8pm8IZxWU 2ahlUcJACdvmRKUA3sdIqRHRrhroo0ZEzUsknoATqV19EtIhDJpbXeHT38oaMBHAcyR+ s6uw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YtNKrVkvv3wQwUeLZfXmzb5Q0GHzil5K1gY3ZsSm6Z8=; fh=4iwZOJzF/0culJsls0W02Q8mr63CLsDFwK1nzO97/hc=; b=e8SQnGMhZEC13QS8po4Nm3emVfqEN9NgwPfObgrIB8bOjkvvrwfrkBnZqO4xCI4BWm q625FBwNjkFN6KVkFXkPgwiJEobORnxP9EU7Vq7uyAptV7Vhci5pJ1oyRteHfUro0OuR blUE3b3k1Ot8EiGJ8hoiN9mXlvrkQ92sDbXgaXYw/S92Gvp0m0hM8HRG8YRNdb0yBTFh Ew3fRbo2cMoBerI6u5p1UMGkbNZLoSZSqZe2gQ5cMx8VXfHr+9PYmNuoY4OKNiqWHnh3 +lYpKeIH7wIEQJVjbIkJbrlLkeP4F8g11tDcXELDgKSqTHYsY8JcZCyXyvc9RlUNcxfB PX2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b="gPCm6X/m"; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-155248-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155248-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g5-20020a1709061c8500b00a52288550e2si7507523ejh.27.2024.04.23.10.21.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 10:21:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155248-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b="gPCm6X/m"; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-155248-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155248-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 344E41F223F6 for ; Tue, 23 Apr 2024 13:06:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 081AA1350CD; Tue, 23 Apr 2024 13:06:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="gPCm6X/m" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 394C9134427 for ; Tue, 23 Apr 2024 13:06:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713877598; cv=none; b=iJkqRJN9r3bj6Hzn2FRcfkJvR3PkMRxq5xlKfgIyfUoo4ASUIcdNK9ajIDq509k4891jRKX6UondsjZ+EBoDnjOqlfHjdCR28QZOCjhvWx5vWtwmIwLFwcBvssEZMjgjDj+6ZDy96RArylQ/SeL+EHb4vqwgOai5OGgbsExC7aY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713877598; c=relaxed/simple; bh=grwm9HXpZ8bNgqFZwTamq6hPZswUJZHRWpQR6jPcCgQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TQVfrVcEgYjHWNHfb2BucEDrInPsCeZwpKYrTsagGKTc4gPnh/JCF8IMRnnGNLQ4tY031PnGeWYQNqyuXGI4qTFtPT7cr+2ZAfJ8dD6OI2pb/UMnsHER2QRRM+D1gCPCvEfZFR/YA434AUX3ujnm8XBSCkvAGVmj2ZBLtxDLfJY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=gPCm6X/m; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-56e48d0a632so8366789a12.2 for ; Tue, 23 Apr 2024 06:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1713877594; x=1714482394; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=YtNKrVkvv3wQwUeLZfXmzb5Q0GHzil5K1gY3ZsSm6Z8=; b=gPCm6X/mQOKQYH5eQn8hp4KffHO79Mpu49w8aIjcNL7hp9ZXFXkxU0tTN7UnMrSGiS pnCRTncVMeCIZ5VnP+zOerYj5nTg2ioZX/b20+QWODPsOJjfSZKcKv0gz3TQjD5EW3w9 lpCPUgzKXD27In/qdiOmhpawtv3YcGLOVtzolsTgsMBKP206fhbU9fFCCtzt6nzkoi5c kLtCRbhXmV45OCxfMOGyjuKlAdnUX5Ykl7FvRx4N3Kv71O2VGO5Hb/k6Lb5MdjzhuWf1 GCcj8s3aAPSksAdSZ7iA4u1x1o+6Nw7+edj3bVVqhBYynmZGiKGWuIEzORAAYffz2R+P INLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713877594; x=1714482394; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YtNKrVkvv3wQwUeLZfXmzb5Q0GHzil5K1gY3ZsSm6Z8=; b=fBttD0wvuLb50DAF4MNHNWncpHnQspag+1vjCcFETJ1cUXIKGC+HJH8NNUn92+rsbV L3TOj/WkAom73eI3M0qZXK3pAH6a1VBWZ1wFJmUvxoTKUWya6nBdsnpP8sJPHRn2iELr PskrTzov3QSEgQM7UauIayGo5PCcDSEJF4j7Lyv9xEFKO/Zuug0PIRe5+51Z9V7wnhlT 7vUORiYNr2Yi91VZfndAsBl/A7Zd0BXuB5qZEsrGg2pzIhGy4R6xwZ6wm6MAa/svV15g ZLPFM2Iw+tVEE/HyP2mhvYHA9lKhjok8feCU9Q7vLIeifz2C/uEVNsgeie5hprLW0Oij wtuA== X-Forwarded-Encrypted: i=1; AJvYcCVycGnfcQOvMpj66kpv0vl9PmI+F2bsLR5PAknCZ+itxb7MoF0Tfix2rT1QjYGi6cFk6vILTwjcDwhJ+x5dkOCg6ZWzYpzHRCJ9L3ma X-Gm-Message-State: AOJu0Yw0VjFlqrZgdgUgFXRLoGnnSYn3z2dURjSvOUW8/IP7MEcbDOSh wRRCA9KWUaHRltPhLMQshsmnog5nnfDX5RPEHsW9CmZXWKJWk94aLtNEAXQJieI= X-Received: by 2002:a50:d542:0:b0:568:cdd8:cf60 with SMTP id f2-20020a50d542000000b00568cdd8cf60mr12887790edj.8.1713877594441; Tue, 23 Apr 2024 06:06:34 -0700 (PDT) Received: from localhost (78-80-105-131.customers.tmcz.cz. [78.80.105.131]) by smtp.gmail.com with ESMTPSA id et3-20020a056402378300b00571d8da8d09sm4806843edb.68.2024.04.23.06.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 06:06:33 -0700 (PDT) Date: Tue, 23 Apr 2024 15:06:32 +0200 From: Jiri Pirko To: Geetha sowjanya Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, sgoutham@marvell.com, sbhatta@marvell.com, hkelam@marvell.com Subject: Re: [net-next PATCH v2 7/9] octeontx2-pf: Add support to sync link state between representor and VFs Message-ID: References: <20240422095401.14245-1-gakula@marvell.com> <20240422095401.14245-8-gakula@marvell.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240422095401.14245-8-gakula@marvell.com> Mon, Apr 22, 2024 at 11:53:59AM CEST, gakula@marvell.com wrote: >Implements mbox function to sync the link state between VFs and >its representors. Same mbox is use to notify other updates like mtu etc. > >This patch enables >- Reflecting the link state of representor based on the VF state and > link state of VF based on representor. Could you please elaborate a bit more how exactly this behaves? Examples would help. >- On VF interface up/down a notification is sent via mbox to representor > to update the link state. >- On representor interafce up/down will cause the link state update of VF. >