mbox series

[RFC,V2,net-next,v2,0/3] Introduce XDP to ena

Message ID 20191031163539.12539-1-sameehj@amazon.com
Headers show
Series Introduce XDP to ena | expand

Message

Jubran, Samih Oct. 31, 2019, 4:35 p.m. UTC
From: Sameeh Jubran <sameehj@amazon.com>

This patchset includes 3 patches:
* XDP_DROP implementation
* XDP_TX implementation
* A fix for an issue which might occur due to the XDP_TX patch. I see fit
  to place it as a standalone patch for clarity.

Difference from RFC v1 (XDP_DROP patch):
* Initialized xdp.rxq pointer
* Updated max_mtu on attachment of xdp and removed the check from
  ena_change_mtu()
* Moved the xdp execution from ena_rx_skb() to ena_clean_rx_irq()
* Moved xdp buff (struct xdp_buff) from rx_ring to the local stack
* Started using netlink's extack mechanism to deliver error messages to
  the user

Sameeh Jubran (3):
  net: ena: implement XDP drop support
  net: ena: Implement XDP_TX action
  net: ena: Add first_interrupt field to napi struct

 drivers/net/ethernet/amazon/ena/ena_ethtool.c |   4 +-
 drivers/net/ethernet/amazon/ena/ena_netdev.c  | 839 ++++++++++++++++--
 drivers/net/ethernet/amazon/ena/ena_netdev.h  |  70 ++
 3 files changed, 815 insertions(+), 98 deletions(-)

Comments

Jubran, Samih Oct. 31, 2019, 4:49 p.m. UTC | #1
This was resent by mistake, please ignore.

> -----Original Message-----
> From: sameehj@amazon.com <sameehj@amazon.com>
> Sent: Thursday, October 31, 2019 6:36 PM
> To: davem@davemloft.net; netdev@vger.kernel.org
> Cc: Jubran, Samih <sameehj@amazon.com>; Woodhouse, David
> <dwmw@amazon.co.uk>; Machulsky, Zorik <zorik@amazon.com>;
> Matushevsky, Alexander <matua@amazon.com>; Bshara, Saeed
> <saeedb@amazon.com>; Wilson, Matt <msw@amazon.com>; Liguori,
> Anthony <aliguori@amazon.com>; Bshara, Nafea <nafea@amazon.com>;
> Tzalik, Guy <gtzalik@amazon.com>; Belgazal, Netanel
> <netanel@amazon.com>; Saidi, Ali <alisaidi@amazon.com>; Herrenschmidt,
> Benjamin <benh@amazon.com>; Kiyanovski, Arthur
> <akiyano@amazon.com>
> Subject: [RFC V2 net-next v2 0/3] Introduce XDP to ena
> 
> From: Sameeh Jubran <sameehj@amazon.com>
> 
> This patchset includes 3 patches:
> * XDP_DROP implementation
> * XDP_TX implementation
> * A fix for an issue which might occur due to the XDP_TX patch. I see fit
>   to place it as a standalone patch for clarity.
> 
> Difference from RFC v1 (XDP_DROP patch):
> * Initialized xdp.rxq pointer
> * Updated max_mtu on attachment of xdp and removed the check from
>   ena_change_mtu()
> * Moved the xdp execution from ena_rx_skb() to ena_clean_rx_irq()
> * Moved xdp buff (struct xdp_buff) from rx_ring to the local stack
> * Started using netlink's extack mechanism to deliver error messages to
>   the user
> 
> Sameeh Jubran (3):
>   net: ena: implement XDP drop support
>   net: ena: Implement XDP_TX action
>   net: ena: Add first_interrupt field to napi struct
> 
>  drivers/net/ethernet/amazon/ena/ena_ethtool.c |   4 +-
>  drivers/net/ethernet/amazon/ena/ena_netdev.c  | 839
> ++++++++++++++++--  drivers/net/ethernet/amazon/ena/ena_netdev.h  |
> 70 ++
>  3 files changed, 815 insertions(+), 98 deletions(-)
> 
> --
> 2.17.1