Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3501088ybl; Mon, 12 Aug 2019 01:19:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTDLV/UkJmjpbX1FVf0jLlWgcC9eVMjiCRRokMKv23zA18omhqV0fRuzd/P9jTHbCXxYHA X-Received: by 2002:a17:90a:35a7:: with SMTP id r36mr2101553pjb.17.1565597976896; Mon, 12 Aug 2019 01:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565597976; cv=none; d=google.com; s=arc-20160816; b=fb10AbhX2xRlIdEloLGMnyYb+TLhrRquBx3D1lamjrch7w7fRvMqPSg2S8bqKo2zcA xei0RK4GMxNyqyE+0Ed4LRaLpivRfLT2RzIeafHIv/SybXfr+M8/Pn/HHhpcLHTw+rti TfNFq+hBm2ipEvG/UUBUx2isivzeJkwUVIU83MFo3PHDUKkPCtqXUVonAx/H7if0Ij1k us/QSVDVMCvO4Ffo1NK36Bg5AYUVuWF81re3H2eV+7q39VgdgWtUvtGs5aSp2xVQ9ivN U2cTOvuvx+HzCPK89MFlUzNGC3ZMHEyYvdiu2+9LjlKCtLUNvJmmY/hr17HH8fX0JUcX vtqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=FeXzxTk92wZpvG0TN1mLmubs7kGJkEGqZP/hlPfjMy8=; b=CghsxZ12YQdKoGk8PLUQaenlTmCR6hR1gOxhPw2LLZiSD1YGER/ZnYB+E5YYu29CpE HVz2GC/ffaLFZJ++DkV5tfH1p04dwERhhrzoFX/J4JuSh+Cjf+wvlyVGJuA0ffe5VGEI d/lOWn8cHpB9gnYSjbAItlfpzXjVELe4oMRovIc29HzBrcBbhHpcQVNT9pkdptTJIe6E yzr+uEGGP9CwCnxK+aqn5lhbWIgxuqvqtq1MZxztk1bfzKXRrodjQUfdhbaHFY8gNENN p6UiGFz8kHr2XkLvn9zYhbwe2yKRGqKNfnU+r39/2iCiw/d/dvhvYPCkFtidgJ0SdlaP UzgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cf7si59568136plb.435.2019.08.12.01.19.21; Mon, 12 Aug 2019 01:19:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727138AbfHLIRf (ORCPT + 99 others); Mon, 12 Aug 2019 04:17:35 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:60661 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbfHLIRf (ORCPT ); Mon, 12 Aug 2019 04:17:35 -0400 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: antoine.tenart@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id DCC74100002; Mon, 12 Aug 2019 08:17:31 +0000 (UTC) Date: Mon, 12 Aug 2019 10:17:31 +0200 From: Antoine Tenart To: Igor Russkikh Cc: Antoine Tenart , "davem@davemloft.net" , "sd@queasysnail.net" , "andrew@lunn.ch" , "f.fainelli@gmail.com" , "hkallweit1@gmail.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , "alexandre.belloni@bootlin.com" , "allan.nielsen@microchip.com" , "camelia.groza@nxp.com" , Simon Edelhaus , Pavel Belous Subject: Re: [PATCH net-next v2 2/9] net: macsec: move some definitions in a dedicated header Message-ID: <20190812081731.GE3698@kwain> References: <20190808140600.21477-1-antoine.tenart@bootlin.com> <20190808140600.21477-3-antoine.tenart@bootlin.com> <9f65de8e-bf62-f9b0-5aba-69c0f92df1ca@aquantia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9f65de8e-bf62-f9b0-5aba-69c0f92df1ca@aquantia.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Igor, On Sat, Aug 10, 2019 at 12:19:36PM +0000, Igor Russkikh wrote: > > +/** > > + * struct macsec_tx_sa - transmit secure association > > + * @active: > > + * @next_pn: packet number to use for the next packet > > + * @lock: protects next_pn manipulations > > + * @key: key structure > > + * @stats: per-SA stats > > + */ > > +struct macsec_tx_sa { > > + struct macsec_key key; > > + spinlock_t lock; > > + u32 next_pn; > > + refcount_t refcnt; > > + bool active; > > + bool offloaded; > > I don't see this `offloaded` field being used anywhere. Is this needed? You're right it's not and was only used in previous versions of this patchset. I'll remove it. Thanks for spotting this! Antoine -- Antoine T?nart, Bootlin Embedded Linux and Kernel engineering https://bootlin.com