On 7/6/21 6:44 PM, Vijay Srivastava wrote:
> From: Vijay Kumar Srivastava <vsriv...@xilinx.com>
> 
> Add support for unicast and broadcast MAC filter configuration.

I wonder whether we should not add an API to the vDPA framework for this
MAC management, as this is something generic.

What do you think?

> Signed-off-by: Vijay Kumar Srivastava <vsriv...@xilinx.com>
> ---
>  doc/guides/vdpadevs/sfc.rst        |   4 ++
>  drivers/vdpa/sfc/meson.build       |   1 +
>  drivers/vdpa/sfc/sfc_vdpa.c        |  32 +++++++++
>  drivers/vdpa/sfc/sfc_vdpa.h        |  30 ++++++++
>  drivers/vdpa/sfc/sfc_vdpa_filter.c | 144 
> +++++++++++++++++++++++++++++++++++++
>  drivers/vdpa/sfc/sfc_vdpa_hw.c     |  10 +++
>  drivers/vdpa/sfc/sfc_vdpa_ops.c    |  17 +++++
>  7 files changed, 238 insertions(+)
>  create mode 100644 drivers/vdpa/sfc/sfc_vdpa_filter.c
> 

Reply via email to