|
@@ -304,7 +304,7 @@ static void bnxt_vf_rep_netdev_init(struct bnxt *bp, struct bnxt_vf_rep *vf_rep,
|
|
|
|
|
|
dev->netdev_ops = &bnxt_vf_rep_netdev_ops;
|
|
|
dev->ethtool_ops = &bnxt_vf_rep_ethtool_ops;
|
|
|
- dev->switchdev_ops = &bnxt_vf_rep_switchdev_ops;
|
|
|
+ SWITCHDEV_SET_OPS(dev, &bnxt_vf_rep_switchdev_ops);
|
|
|
/* Just inherit all the featues of the parent PF as the VF-R
|
|
|
* uses the RX/TX rings of the parent PF
|
|
|
*/
|