public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: <sameehj@amazon•com>
To: <davem@davemloft•net>, <netdev@vger•kernel.org>
Cc: Sameeh Jubran <sameehj@amazon•com>, <brouer@redhat•com>,
	<ilias.apalodimas@linaro•org>, <dwmw@amazon•com>,
	<zorik@amazon•com>, <matua@amazon•com>, <saeedb@amazon•com>,
	<msw@amazon•com>, <aliguori@amazon•com>, <nafea@amazon•com>,
	<gtzalik@amazon•com>, <netanel@amazon•com>, <alisaidi@amazon•com>,
	<benh@amazon•com>, <akiyano@amazon•com>
Subject: [PATCH V3 net-next v3 0/3] Introduce XDP to ena
Date: Tue, 10 Dec 2019 15:12:11 +0200	[thread overview]
Message-ID: <20191210131214.3887-1-sameehj@amazon.com> (raw)

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 v2:
* Fixed the usage of rx headroom (XDP_PACKET_HEADROOM)
* Aligned the page_offset of the packet when passing it to the stack
* Switched to using xdp_frame in xdp xmit queue
* Dropped the print for unsupported commands
* Cosmetic changes

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  | 960 +++++++++++++++---
 drivers/net/ethernet/amazon/ena/ena_netdev.h  |  73 ++
 3 files changed, 889 insertions(+), 148 deletions(-)

-- 
2.17.1


             reply	other threads:[~2019-12-10 13:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-10 13:12 sameehj [this message]
2019-12-10 13:12 ` [PATCH V3 net-next v3 1/3] net: ena: implement XDP drop support sameehj
2019-12-10 13:12 ` [PATCH V3 net-next v3 2/3] net: ena: Implement XDP_TX action sameehj
2019-12-10 13:12 ` [PATCH V3 net-next v3 3/3] net: ena: Add first_interrupt field to napi struct sameehj
2019-12-13  1:14 ` [PATCH V3 net-next v3 0/3] Introduce XDP to ena David Miller
  -- strict thread matches above, loose matches on Subject: below --
2019-11-28 16:01 sameehj
2019-11-29  7:14 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191210131214.3887-1-sameehj@amazon.com \
    --to=sameehj@amazon$(echo .)com \
    --cc=akiyano@amazon$(echo .)com \
    --cc=aliguori@amazon$(echo .)com \
    --cc=alisaidi@amazon$(echo .)com \
    --cc=benh@amazon$(echo .)com \
    --cc=brouer@redhat$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=dwmw@amazon$(echo .)com \
    --cc=gtzalik@amazon$(echo .)com \
    --cc=ilias.apalodimas@linaro$(echo .)org \
    --cc=matua@amazon$(echo .)com \
    --cc=msw@amazon$(echo .)com \
    --cc=nafea@amazon$(echo .)com \
    --cc=netanel@amazon$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=saeedb@amazon$(echo .)com \
    --cc=zorik@amazon$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox