Re: [PATCH v3 net] bonding: add xdp_features support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 4, 2023 at 12:52 PM Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote:
>
> Introduce xdp_features support for bonding driver according to the slave
> devices attached to the master one. xdp_features is required whenever we
> want to xdp_redirect traffic into a bond device and then into selected
> slaves attached to it.
>
> Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>
> Acked-by: Jay Vosburgh <jay.vosburgh@xxxxxxxxxxxxx>
> Fixes: 66c0e13ad236 ("drivers: net: turn on XDP features")
> Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>

Reviewed-by: Jussi Maki <joamaki@xxxxxxxxx>
Tested-by: Jussi Maki <joamaki@xxxxxxxxx>

> +void bond_xdp_set_features(struct net_device *bond_dev)
> +{
> +       struct bonding *bond = netdev_priv(bond_dev);

Minor nit: could we instead take "struct bonding *" as an argument here?





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux