Re: [PATCH net-next 10/18] ionic: Add management of rx filters

2019-06-27 Thread Shannon Nelson
On 6/26/19 8:52 AM, Shannon Nelson wrote: On 6/25/19 4:37 PM, Jakub Kicinski wrote: On Thu, 20 Jun 2019 13:24:16 -0700, Shannon Nelson wrote: +int ionic_rx_filter_save(struct lif *lif, u32 flow_id, u16 rxq_index, + u32 hash, struct ionic_admin_ctx *ctx) +{ +    struct device *dev =

Re: [PATCH net-next 10/18] ionic: Add management of rx filters

2019-06-26 Thread Shannon Nelson
On 6/25/19 4:37 PM, Jakub Kicinski wrote: On Thu, 20 Jun 2019 13:24:16 -0700, Shannon Nelson wrote: +int ionic_rx_filter_save(struct lif *lif, u32 flow_id, u16 rxq_index, +u32 hash, struct ionic_admin_ctx *ctx) +{ + struct device *dev = lif->ionic->dev; + stru

Re: [PATCH net-next 10/18] ionic: Add management of rx filters

2019-06-25 Thread Jakub Kicinski
On Thu, 20 Jun 2019 13:24:16 -0700, Shannon Nelson wrote: > +int ionic_rx_filter_save(struct lif *lif, u32 flow_id, u16 rxq_index, > + u32 hash, struct ionic_admin_ctx *ctx) > +{ > + struct device *dev = lif->ionic->dev; > + struct hlist_head *head; > + struct rx_fi

[PATCH net-next 10/18] ionic: Add management of rx filters

2019-06-20 Thread Shannon Nelson
Set up the infrastructure for managing Rx filters. We can't ask the hardware for what filters it has, so we keep a local list of filters that we've pushed into the HW. Signed-off-by: Shannon Nelson --- drivers/net/ethernet/pensando/ionic/Makefile | 4 +- .../net/ethernet/pensando/ionic/ionic