[Intel-wired-lan] [PATCH v3 3/4] i40e: Add XDP_TX support

Björn Töpel bjorn.topel at gmail.com
Tue Dec 13 19:57:12 UTC 2016


2016-12-13 14:40 GMT+01:00 Björn Töpel <bjorn.topel at gmail.com>:
[...]
> @@ -625,6 +627,15 @@ u32 i40e_get_tx_pending(struct i40e_ring *ring, bool in_sw)
>  #define WB_STRIDE 4
>
>  /**
> + * i40e_page_is_reserved - check if reuse is possible
> + * @page: page struct to check
> + */
> +static inline bool i40e_page_is_reserved(struct page *page)
> +{
> +       return (page_to_nid(page) != numa_mem_id()) || page_is_pfmemalloc(page);
> +}

I started to use use Scott's i40e_page_is_reusable(), but missed to
get rid if this
leftover function.

So this one is not used, and should be removed.

[...]


Björn


More information about the Intel-wired-lan mailing list