|
@@ -565,8 +565,10 @@ static inline bool nicvf_xdp_rx(struct nicvf *nic, struct bpf_prog *prog,
|
|
return true;
|
|
return true;
|
|
default:
|
|
default:
|
|
bpf_warn_invalid_xdp_action(action);
|
|
bpf_warn_invalid_xdp_action(action);
|
|
|
|
+ /* fall through */
|
|
case XDP_ABORTED:
|
|
case XDP_ABORTED:
|
|
trace_xdp_exception(nic->netdev, prog, action);
|
|
trace_xdp_exception(nic->netdev, prog, action);
|
|
|
|
+ /* fall through */
|
|
case XDP_DROP:
|
|
case XDP_DROP:
|
|
/* Check if it's a recycled page, if not
|
|
/* Check if it's a recycled page, if not
|
|
* unmap the DMA mapping.
|
|
* unmap the DMA mapping.
|