File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
drivers/net/ethernet/intel/idpf Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -839,7 +839,8 @@ static int idpf_cfg_netdev(struct idpf_vport *vport)
839839 netdev -> features |= dflt_features ;
840840 netdev -> hw_features |= dflt_features | offloads ;
841841 netdev -> hw_enc_features |= dflt_features | offloads ;
842- netdev -> xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT ;
842+ netdev -> xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT |
843+ NETDEV_XDP_ACT_XSK_ZEROCOPY ;
843844 idpf_set_ethtool_ops (netdev );
844845 SET_NETDEV_DEV (netdev , & adapter -> pdev -> dev );
845846
@@ -2682,6 +2683,7 @@ static const struct net_device_ops idpf_netdev_ops_splitq = {
26822683 .ndo_tx_timeout = idpf_tx_timeout ,
26832684 .ndo_bpf = idpf_xdp ,
26842685 .ndo_xdp_xmit = idpf_xdp_xmit ,
2686+ .ndo_xsk_wakeup = idpf_xsk_splitq_wakeup ,
26852687};
26862688
26872689static const struct net_device_ops idpf_netdev_ops_singleq = {
You can’t perform that action at this time.
0 commit comments