On Thu, Feb 18, 2016 at 5:30 PM, John Fastabend
<john.fastab...@gmail.com> wrote:
>
> Hi Saeed,
>
> I just changed the signature on the setup_tc ndo hook so you will
> need to change this to something like,
>
> static int __mlx5e_setup_tc(struct net_device *dev, u32 handle,
>                             __be16 proto, struct tc_to_netdev *tc)
> {
>         if (handle != TC_H_ROOT || tc->type != TC_SETUP_MQPRIO)
>                 return -EINVAL;
>         return mlx5e_setup_tc(dev, tc->tc)
> }
>
>
> and then use __mlx5e_setup_tc() to populate the ndo op hook. If you
> look at the mlx4 drivers I did this change there already.
>
> Other than that nice to see another dcb supporting driver.
>
> Thanks,
> John
Hi John,

Thanks for pointing that out, will fix this out.

Thanks,
Saeed

Reply via email to