Re: [PATCH net-next] bonding/xfrm: use real_dev instead of slave_dev

2020-06-23 Thread David Miller
From: Jarod Wilson 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

[PATCH net-next] bonding/xfrm: use real_dev instead of slave_dev

2020-06-23 Thread Jarod Wilson
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