From: Jarod Wilson <ja...@redhat.com> Date: Tue, 23 Jun 2020 16:40:01 -0400
> Rather than requiring every hw crypto capable NIC driver to do a check for > slave_dev being set, set real_dev in the xfrm layer and xso init time, and > then override it in the bonding driver as needed. Then NIC drivers can > always use real_dev, and at the same time, we eliminate the use of a > variable name that probably shouldn't have been used in the first place, > particularly given recent current events. > > CC: Boris Pismenny <bor...@mellanox.com> > CC: Saeed Mahameed <sae...@mellanox.com> > CC: Leon Romanovsky <l...@kernel.org> > CC: Jay Vosburgh <j.vosbu...@gmail.com> > CC: Veaceslav Falico <vfal...@gmail.com> > CC: Andy Gospodarek <a...@greyhouse.net> > CC: "David S. Miller" <da...@davemloft.net> > CC: Jeff Kirsher <jeffrey.t.kirs...@intel.com> > CC: Jakub Kicinski <k...@kernel.org> > CC: Steffen Klassert <steffen.klass...@secunet.com> > CC: Herbert Xu <herb...@gondor.apana.org.au> > CC: netdev@vger.kernel.org > Suggested-by: Saeed Mahameed <sae...@mellanox.com> > Signed-off-by: Jarod Wilson <ja...@redhat.com> Yes this is much nicer. Applied, thank you.